View previous topic :: View next topic |
Author |
Message |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sat Apr 09, 2005 2:32 pm Post subject: Gentoo non avvia - non trova partizione di root |
|
|
ciao a tutti, spero di non iniziare i miei post con un thread duplicato (non ho ancora trovato una thread con questo problema però...)
ho appena installato gentoo sul portatile, schema di partizionamento come segue:
Code: | hda1: partizione nascosta per il ripristino del sistema :\
hda2: partizione winXP primaria avviabile
hda3: partizione estesa
hda5: partizione winXP di dati
hda6: /boot
hda7: swap
hda8: / |
all'avvio di grub mi dà il seguente errore:
Code: | * checking for root filesystem...
failed to open the device '/dev/hda8': no such file or directory
* filesystem couldn't be fixed :(
|
a questo punto o riavvio o non riesco a fare nulla, anche perché il fs resta read-only e non posso modificare i files
il mio fstab è corretto - ricontrollato un migliaio di volte - e il grub.conf idem - anche lui passato e ripassato in cerca d'errori n volte
avete idee al riguardo?
grazie e ciao _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Apr 09, 2005 2:45 pm Post subject: |
|
|
Il primo errore che mi viene in mente è:
- hai messo come builtin il modulo del filesystem che usi? _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
lopio Veteran


Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sat Apr 09, 2005 3:53 pm Post subject: |
|
|
ciao in ogni caso credo sia meglio postare fstab e grub.conf |
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sat Apr 09, 2005 5:24 pm Post subject: |
|
|
il kernel è ok, anche la partizione di boot utilizza reiserfs come quella di root e per /boot non dà errori
il mio fstab:
Code: | /dev/hda6 /boot reiserfs noauto,noatime,notail 1 1
/dev/hda8 / reiserfs noatime,notail 0 0
/dev/hda7 none swap sw 0 0
/dev/hda2 /mnt/Windoze.C auto noauto,user 0 0
/dev/hda5 /mnt/Windoze.D auto noauto,user 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
e il mio grub.conf
Code: | default 0
tiemout 10
splashimage=(hd0,5)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11
root (hd0,7)
kernel /kernel-2.6.11-gentoo-r5 root=/dev/hda8 vga=0x31B video=vesafb:mtrr,ywrap
title=Windoze XP
rootnoverify (hd0,1)
makeactive
chainloader +1 |
l'errore che ottengo è sempre quello del primo post T_T _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
rakim Apprentice


Joined: 08 Mar 2005 Posts: 231
|
Posted: Sat Apr 09, 2005 5:28 pm Post subject: |
|
|
Posta anche il risultato di
EDIT: Mi sembra di aver avuto un problema simile durante la mia prima installazione ed era perché utilizzavo un filesystem diverso da quello che avevo impostato in fstab |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Apr 09, 2005 5:30 pm Post subject: |
|
|
Hai provato a lanciare reiserfsck dal livecd ?
Secondo me il problema è che non trova reiserfsck.
Lo hai emerso?
EDIT: Lo trovi in:
Code: |
* sys-fs/reiserfsprogs
Latest version available: 3.6.19
Latest version installed: 3.6.19
Size of downloaded files: 397 kB
Homepage: http://www.namesys.com/
Description: Reiserfs Utilities
License: GPL-2
|
_________________ Registered as User #281564 and Machines #163761
Last edited by gutter on Sat Apr 09, 2005 5:32 pm; edited 1 time in total |
|
Back to top |
|
 |
Cazzantonio Bodhisattva


Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Sat Apr 09, 2005 5:31 pm Post subject: |
|
|
Code: | title=Gentoo Linux 2.6.11
root (hd0,7)
kernel /kernel-2.6.11-gentoo-r5 root=/dev/hda8 vga=0x31B video=vesafb:mtrr,ywrap |
la /boot non l'hai su hda6? quindi devi scrivere root (hd0,5) ...... quella root che indichi lì mica è davvero la root... è la partizione dove si trova il kernel, la vera root la indichi dopo come parametro alla riga di boot del kernel
tutti questi problemi accadono perché tanta gente si ostina a mettere la /boot in una partizione diversa....  _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
 |
BikE Guru


Joined: 21 Dec 2004 Posts: 455 Location: Genova
|
Posted: Sat Apr 09, 2005 6:11 pm Post subject: |
|
|
Il tuo problema e' quasi sicuramente legato a devfs.... rozzamente e velocemente risolvi cosi':
1) avvii da livecd
2) monti la partizione /
3) cp /sbin/devfsd $ROOT/sbin && cp -r /etc/devfsd.d $ROOT/etc/ && cp /etc/devfsd.conf $ROOT/etc |
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sat Apr 09, 2005 7:39 pm Post subject: |
|
|
ehm, dunque
i reiserfsprogs sono emersi, il filesystem in fstab è corretto come indicato da cfdisk - le part windoze sono ntfs, quella nascosta per il ripristino è fat32, quelle linux sono reiser e swap (/boot e /: reiser, swap: swap)
settando hd0,5 anziché hd0,7 non cambia nulla
il punto è che se provo a fare come indicato bike, si ferma e mi dice che non esiste il file /sbin/devfsd, ed effettivamente non ho nessuna voce devfsd* nella directory sbin
quindi mi sa che formatto, faccio un partizionamento come si deve e reinstallo tutto
poi vedo che succede
sob sob
ad ogni modo grazie dei consigli  _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
Cazzantonio Bodhisattva


Joined: 20 Mar 2004 Posts: 4514 Location: Somewere around the world
|
Posted: Sat Apr 09, 2005 7:47 pm Post subject: |
|
|
m3ur1 wrote: | quindi mi sa che formatto, faccio un partizionamento come si deve e reinstallo tutto |
non mi sembra la soluzione più intelligente... non è windows che riavvii e forse funziona... sotto linux c'è sempre una soluzione, ma finché non la trovi aspettati di rivedere il problema ad ogni riavvio
Io proverei a reinstallare grub scrivendo in sequenza questi comandi
Code: | grub
root (hd0,5)
setup (hd0)
quit |
e aggiornerei il grub.conf scrivendo root (hd0,5) al posto di hd0,7 _________________ Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne |
|
Back to top |
|
 |
BikE Guru


Joined: 21 Dec 2004 Posts: 455 Location: Genova
|
Posted: Sat Apr 09, 2005 7:58 pm Post subject: |
|
|
Infatti devi copiare i files dal livecd.... li ci sono tutti.... vedrai che va... ho avuto lo stesso problema.. |
|
Back to top |
|
 |
saxtro Apprentice

Joined: 28 Nov 2004 Posts: 153
|
Posted: Sat Apr 09, 2005 9:44 pm Post subject: |
|
|
non ti trova il /dev/hda8 giusto?
perchè non lo trova? se sei sicuro di aver messo il supporto a reiserfs built-in (credo di si anche perchè se fosse mancato il supporto all' fs io mi sarei aspettato un kernel panic)
hai compilato il supporto a devfs? o hai emerso udev durante l' installazione? |
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sun Apr 10, 2005 9:26 am Post subject: |
|
|
per cazzantonio: reinstallando grub come dici (e come mi pareva di aver fatto) e modificando grub.conf non cambia nulla
per bike: il livecd minimal della 2005.0 non ha i files in questione...
per saxtro: ho compilato staticamente il supporto a reiser e anche quello a devfs
tornando al discorso della formattazione, perfettamente d'accordo che linux != windows, però devo ripulirlo sto portatile, formattare non gli fa certo male
poi, domanda: nel caso in cui io tenga /boot sulla stessa partizione di /, come davo modificare il mio fstab?
gli devo dare una cosa tipo Code: | /dev/hdaX/boot /boot ... | oppure no? (sono noob ) _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sun Apr 10, 2005 9:38 am Post subject: |
|
|
sto provando ad emergere devfsd... vediamo che combino stavolta _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
rakim Apprentice


Joined: 08 Mar 2005 Posts: 231
|
Posted: Sun Apr 10, 2005 9:48 am Post subject: |
|
|
m3ur1 wrote: | domanda: nel caso in cui io tenga /boot sulla stessa partizione di /, come davo modificare il mio fstab?
gli devo dare una cosa tipo Code: | /dev/hdaX/boot /boot ... | oppure no? (sono noob ) |
Devi semplicemente commentarla!
Es.
Code: | #/dev/hdaX/boot /boot ... |
|
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sun Apr 10, 2005 9:51 am Post subject: |
|
|
ok, ora avvio
ho scazzato qualcos'altro nella configurazione della rete, visto che non la trova al boot, però direi che iniziamo a ragionare
ps: ci metto un bel [RISOLTO] davanti al nome del thread?
pps: la mia domanda su come settare fstab in caso di / e /boot su medesima partizione rimane
grazie a tutti e ciao _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
BikE Guru


Joined: 21 Dec 2004 Posts: 455 Location: Genova
|
Posted: Sun Apr 10, 2005 10:08 am Post subject: |
|
|
m3ur1 wrote: | per bike: il livecd minimal della 2005.0 non ha i files in questione... |
Argh... nel 2004.3 ci sono  |
|
Back to top |
|
 |
m3ur1 n00b

Joined: 09 Apr 2005 Posts: 7
|
Posted: Sun Apr 10, 2005 11:01 am Post subject: [RISOLTO] Gentoo non avvia - non trova partizione di root |
|
|
ok, ora funziona tutto, anche la rete
grazie a tutti delle preziose risposte, finalmente avvio in tranquillità ed emergo pacchetti (al momento si tratta di xorg)
il formattone totale globale lo farò un'altra volta
ciao _________________ davide
2B OR (NOT 2B) That is the question. The answer is FF |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sun Apr 10, 2005 11:07 am Post subject: |
|
|
Per favore metti il tag [Risolto] al titolo. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
|