Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto]Problema al boot - riconfigurare GRUB con livecd
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Vixxo
n00b
n00b


Joined: 19 Feb 2008
Posts: 6

PostPosted: Fri Feb 22, 2008 9:20 pm    Post subject: [Risolto]Problema al boot - riconfigurare GRUB con livecd Reply with quote

Salve a tutti in vista di installare gentoo sul notebook mi sto esercitando col desktop per studiare. Tuttavia dopo aver installato dal cd minimal e rebootato ho questo errore:
Could not mount specified ROOT. Could not find the block device in . Please specify another value or: press Enter for the same, type "shell" for a shell or "q" to skip...
mount: Can't find /newroot in /etc/fstab

sto usando GRUB.

Come posso fare ?

Grazie anticipatamente


Last edited by Vixxo on Sat Feb 23, 2008 3:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Fri Feb 22, 2008 9:35 pm    Post subject: Re: Problema al boot Reply with quote

Vixxo wrote:
Salve a tutti in vista di installare gentoo sul notebook mi sto esercitando col desktop per studiare. Tuttavia dopo aver installato dal cd minimal e rebootato ho questo errore:
Could not mount specified ROOT. Could not find the block device in . Please specify another value or: press Enter for the same, type "shell" for a shell or "q" to skip...
mount: Can't find /newroot in /etc/fstab

sto usando GRUB.

Come posso fare ?

Grazie anticipatamente


probabilmente hai configurato male /etc/fstab . oppure hai configurato male grub.
dacci qualche informazione in più.
ciao
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Vixxo
n00b
n00b


Joined: 19 Feb 2008
Posts: 6

PostPosted: Fri Feb 22, 2008 9:36 pm    Post subject: Re: Problema al boot Reply with quote

crisandbea wrote:
Vixxo wrote:
Salve a tutti in vista di installare gentoo sul notebook mi sto esercitando col desktop per studiare. Tuttavia dopo aver installato dal cd minimal e rebootato ho questo errore:
Could not mount specified ROOT. Could not find the block device in . Please specify another value or: press Enter for the same, type "shell" for a shell or "q" to skip...
mount: Can't find /newroot in /etc/fstab

sto usando GRUB.

Come posso fare ?

Grazie anticipatamente


probabilmente hai configurato male /etc/fstab . oppure hai configurato male grub.
dacci qualche informazione in più.
ciao

Per entrambi ho seguito l'handbook, magari mi è sfuggito qualcosa. Come faccio a ri-editarli ?
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Fri Feb 22, 2008 9:41 pm    Post subject: Reply with quote

avviare il mininal-cd oppure una livecd qualunque, fare chroot seguendo il manuale, dopo di che riediti i file.

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Vixxo
n00b
n00b


Joined: 19 Feb 2008
Posts: 6

PostPosted: Fri Feb 22, 2008 9:49 pm    Post subject: Reply with quote

crisandbea wrote:
avviare il mininal-cd oppure una livecd qualunque, fare chroot seguendo il manuale, dopo di che riediti i file.

ciauz

Ok provo, grazie. Ti ho anche aggiunto a msn se non ti disturbo fammi sapere :)
Back to top
View user's profile Send private message
Vixxo
n00b
n00b


Joined: 19 Feb 2008
Posts: 6

PostPosted: Sat Feb 23, 2008 3:33 pm    Post subject: Reply with quote

Ho risolto mi ero scordato di mettere "real_root=hda3" (per un problema di stampa dell'handbook) nel file di conf di grub.
Per rieditarlo ho bootato il livecd e ho fatto così:

Montare il filesystem /proc su /mnt/gentoo/proc per permettere all'installazione di usare informazioni fornite dal kernel anche dentro l'ambiente in cui si è effettuato il chroot; montare poi tramite bind il filesystem /dev.

Codice 1.4: Montare /proc e /dev

# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev

Entrare nel nuovo ambiente

Adesso che tutte le partizioni sono pronte e che l'ambiente di base è installato, è arrivato il momento di entrare nel nuovo ambiente di installazione effettuando il chroot. Significa che ci si sposta dall'attuale ambiente di installazione (CD di Installazione o altre modalità di installazione) al sistema di installazione nel proprio sistema (nelle partizioni create).

Il chroot è costituito di tre parti. Nella prima si cambia root, da / (sul supporto di installazione) a /mnt/gentoo (nelle partizioni create), usando chroot. Nella seconda si crea un nuovo ambiente usando env-update, il quale inizializza le variabili di ambiente. Nella terza si caricano queste variabili in memoria, con source.

Codice 1.5: Chroot nel nuovo ambiente

# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating
CRIS_ scrive:
/etc/ld.so.cache...
# source /etc/profile
# export PS1="(chroot) $PS1"

ho controllato che fossero corretti /etc/fstab e /boot/grub/grub.conf e poi:

grep -v rootfs /proc/mounts > /etc/mtab

grub-install (--no-floppy solo se non si ha il floppy device).

Grazie a tutti
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum