View previous topic :: View next topic |
Author |
Message |
Thundah Guru
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Sun Feb 08, 2004 3:22 pm Post subject: non trova il device ROOT da montare all'avvio... ma perché? |
|
|
Ciao a tutti, ho installato gentoo e ho messo su grub, ma ho il seguente problema! All'avvio mi dice che non trova il device ROOT... da me è la partizione hda4... nel fstab è configurata correttamente... e anke in grub penso di non aver sbagliato... cosa può essere? Grazie a tutti Mauro |
|
Back to top |
|
|
Benve l33t
Joined: 13 Mar 2003 Posts: 897 Location: Italy Romagna
|
Posted: Sun Feb 08, 2004 3:29 pm Post subject: |
|
|
Io mi fido che grub e fstab siano configurati correttamente, ma dato che qualcuno tra poco te lo chiederà, te lo chiedo io.
Posta il /boot/grub/grub.conf
l'fstab e la tabella delle partizioni |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sun Feb 08, 2004 3:30 pm Post subject: |
|
|
Benve wrote: | Io mi fido che grub e fstab siano configurati correttamente, ma dato che qualcuno tra poco te lo chiederà, te lo chiedo io.
Posta il /boot/grub/grub.conf
l'fstab e la tabella delle partizioni |
E' vero... stavo per fare la stessa richiesta!! _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
Dancy n00b
Joined: 27 Jan 2004 Posts: 59 Location: Torino
|
Posted: Sun Feb 08, 2004 4:06 pm Post subject: |
|
|
l'errore più frequente per i newbie è lasciare /etc/fstab così Code: | /dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / reiserfs noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
none /proc proc defaults 0 0
| mentre è corretto
Code: | /dev/hdax /boot ext2 noauto,noatime 1 2
/dev/hdax / reiserfs noatime 0 1
/dev/hdax none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
none /proc proc defaults 0 0
|
ovvio che le x vanno sostituite |
|
Back to top |
|
|
Thundah Guru
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Sun Feb 08, 2004 4:09 pm Post subject: Ecco fstab e grub.conf |
|
|
FSTAB
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda3 /boot ext2 noauto,noatime 1 2
/dev/hda4 / reiserfs noatime 0 1
/dev/hda5 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
GRUB.CONF
default 0
timeout 30
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd0,2)
kernel (hd0,2)/boot/kernel-2.4.22-gentoo-r5 root=/dev/ram0 real_root=/dev/hda4 init=/linuxrc splash=verbose
initrd (hd0,2)/boot/initrd-2.4.22-gentoo-r5
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1
Allora ho messo su HDA3 /boot, HDA4 / e HDA5 swap
Thx mille per il vostro aiuto |
|
Back to top |
|
|
Thundah Guru
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Sun Feb 08, 2004 4:30 pm Post subject: Ancora io |
|
|
Ciao, volevo dirvi che è la prima volta che provo a buttare su gentoo.. e devo dire che si impara molto... solo che a dire il vero non capisco perché non funziona... ho seguito pari pari la lettera... Magari nei due file postati sopra c'è un errore... ma non riesco a capire dove... mi sembrano giusti... Grazie per la vostra disponibilità |
|
Back to top |
|
|
f0x_ n00b
Joined: 28 Dec 2003 Posts: 33 Location: Matera
|
Posted: Sun Feb 08, 2004 4:30 pm Post subject: |
|
|
A me è capitata la stessa cosa quando ho installato la mia prima gentoo due settimane fa. Ho risolto compilando il supporto al Reiserfs non come modulo ma all'interno del kernel, considerando buone le impostazioni di Grub. Spero di esserti stato utile. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31461 Location: here
|
Posted: Sun Feb 08, 2004 4:35 pm Post subject: |
|
|
f0x_ wrote: | A me è capitata la stessa cosa quando ho installato la mia prima gentoo due settimane fa. Ho risolto compilando il supporto al Reiserfs non come modulo ma all'interno del kernel, considerando buone le impostazioni di Grub. Spero di esserti stato utile. |
Benvenuto tra di noi . _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Thundah Guru
Joined: 08 Feb 2004 Posts: 477 Location: Switzerland
|
Posted: Sun Feb 08, 2004 4:52 pm Post subject: Grazie, piu tardi provo |
|
|
Grazie per la risposta immediata... non potevo sapere che il genkernel di default non abilita reiserfs...
Piu tardi provo
|
|
Back to top |
|
|
codadilupo Advocate
Joined: 05 Aug 2003 Posts: 3135
|
Posted: Sun Feb 08, 2004 5:40 pm Post subject: |
|
|
Dancy wrote: | mentre è corretto
Code: | /dev/hdax /boot ext2 noauto,noatime 1 2
/dev/hdax / reiserfs noatime 0 1
/dev/hdax none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0
none /proc proc defaults 0 0
|
ovvio che le x vanno sostituite |
??? Ma quel Code: | none /proc proc defaults 0 0
| non dovrebbe essere un Code: | proc /proc proc defaults 0 0
| ? Io l'ho sempre settato cosi', visto che in installazione si da un bel Code: | # mount -t proc proc /mnt/gentoo/proc | .... non é corretto ? Va lasciato a ?
Coda |
|
Back to top |
|
|
comio Advocate
Joined: 03 Jul 2003 Posts: 2191 Location: Taranto
|
Posted: Sun Feb 08, 2004 5:49 pm Post subject: |
|
|
x Coda: io ho "none" e tutto funzia... _________________ RTFM!!!!
e
http://www.comio.it
|
|
Back to top |
|
|
Dancy n00b
Joined: 27 Jan 2004 Posts: 59 Location: Torino
|
Posted: Sun Feb 08, 2004 6:17 pm Post subject: |
|
|
comio wrote: | x Coda: io ho "none" e tutto funzia... |
anche io.... non so quanto sia corretto ma funziona!!!
prova a cambiare grub... Code: |
GRUB.CONF
default 0
timeout 30
#splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title=Gentoo
root (hd0,3)
kernel (hd0,2)/boot/kernel-2.4.22-gentoo-r5 root=/dev/hda4
#initrd (hd0,2)/boot/initrd-2.4.22-gentoo-r5
title=Windows XP
root (hd0,0)
chainloader (hd0,0)+1 |
P.S. in fstab hai messo ext2........ è corretto?
Last edited by Dancy on Sun Feb 08, 2004 6:32 pm; edited 2 times in total |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Sun Feb 08, 2004 6:18 pm Post subject: |
|
|
Qui none funzica. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
shev Bodhisattva
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Sun Feb 08, 2004 7:03 pm Post subject: |
|
|
cerri wrote: | Qui none funzica. |
Pure io uso none senza problemi. Cmq mi pare se ne sia parlato ancora ed alla fine c'era chi usava l'una o l'altra soluzione con soddisfazione, non credo sia un dettaglio così fondamentale, anche se vedrò di documentarmi _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
|
yuza Apprentice
Joined: 17 Dec 2003 Posts: 210 Location: Rome, in front of my comp...
|
Posted: Mon Feb 09, 2004 1:11 am Post subject: |
|
|
Quote: |
Grazie per la risposta immediata... non potevo sapere che il genkernel di default non abilita reiserfs...
|
Veramente quando l'ho installato io reiserfs era abilitato.... sei sicuro che sia quello il problema?? |
|
Back to top |
|
|
|