View previous topic :: View next topic |
Author |
Message |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 15, 2005 10:11 am Post subject: Grub Error 22: No such partition su hd SATA |
|
|
Ciao,
Abbiate pieta' questo e' il primo post ed e' la prima volta che installo gentoo. Ho cercato sul forum ma non sono riuscito a risolvere..
Ho un problema con grub quando parte mi da' l'errore 22, dice che non trova la partizione su root(hd1,6)
Vi posto le mie conf:
grub.conf
Code: | # Boot automatically after 30 secs.
timeout 30
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
title=Gentoo Linux 2.6.11
root (hd1,6)
kernel /boot/kernel-2.6.11-gentoo-r7 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda7
initrd /boot/initrd-2.6.11-gentoo-r7
title=Winkozz
root (hd1,0)
makeactive
chainloader +1 |
partizioni sul mio sata:
Code: |
# fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1913 15366141 7 HPFS/NTFS
/dev/sda2 1914 19457 140922180 f W95 Ext'd (LBA)
/dev/sda5 1914 9818 63496881 b W95 FAT32
/dev/sda6 9819 9965 1180746 82 Linux swap / Solaris
/dev/sda7 9966 10837 7004308+ 83 Linux
/dev/sda8 10838 11485 5205028+ 83 Linux
/dev/sda9 11486 19457 64035058+ b W95 FAT32
|
frammento fstab
Code: | /dev/sda8 /usr reiserfs noatime 1 0
/dev/sda7 / reiserfs noatime 0 0
/dev/sda6 none swap sw 0 0 |
installazione grub
Code: | # grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.96 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,6)
root (hd1,6)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd1)
setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd1)"... 19 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+19 p (hd1,6)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit |
Qualcuno ha un idea di cosa puo essere.. mi sembra di aver fatto i passi giusti ma forse ho dimenticato qualcosa....
Grazie per ogni aiuto, consiglio..
Ciao the rich _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Jun 15, 2005 10:16 am Post subject: |
|
|
scusa in hd0 (grub style) cosa hai?
hai provato a lanciare grub dicendogli di usare hd0 come root ? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 15, 2005 10:19 am Post subject: |
|
|
Peach wrote: | scusa in hd0 (grub style) cosa hai?
hai provato a lanciare grub dicendogli di usare hd0 come root ? |
sull'hd0 ho un disco ide dove tengo i dati che ha 3 partizioni.. si avevo provato a lanciare grub su quello ma diceva chiaramente che nn trovava la partizione specificata...
EDIT: ma ho visto sul alcuni post che hanno il device.map ma io non lo trovo in /boot/grub ![Confused :?](images/smiles/icon_confused.gif) _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 15, 2005 1:58 pm Post subject: |
|
|
nessuno ha qualche idea di cosa potrebbe essere? su come procedere per arrivare alla risoluzione dell'errore? Non so io ho messo la dir boot sulla stessa partizione della root ovvero sda7 e la user su sda8... Anche windows non mi parte... e se non mi da errori quando grub scrive nell'mbr non capisco dove sia il problema.. anche perchè l'errore avviene prima della partenza di grub quindi il kernel non dovrebbe centrare vistoc he si carica dopo. Altra informazione aggiuntiva è che sono su amd64 e volevo usare lilo ma è masked e grub non l avevo mai usato!
..please, help me!!
thanks a tutti... ![Razz :P](images/smiles/icon_razz.gif) _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Jun 15, 2005 2:02 pm Post subject: |
|
|
direi che potresti provare per tentativi... la cosa migliore è fare una prova all'avvio di grub... anche se nn ho capito se grub ti fa vedere il menu o da errore prima... se ti fa vedere il menu, potresti provare a modificare la root in qualcos'altro.. tipo hd0... nn so... _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 15, 2005 3:27 pm Post subject: |
|
|
Peach wrote: | direi che potresti provare per tentativi... la cosa migliore è fare una prova all'avvio di grub... anche se nn ho capito se grub ti fa vedere il menu o da errore prima... se ti fa vedere il menu, potresti provare a modificare la root in qualcos'altro.. tipo hd0... nn so... |
si, prima mi da l'errore poi se premo invio mi da il menu di grub... però se metto hd0 è mappato su hda che è il disco dati, e quindi mi dice che la partizione hda7 non esiste visto che ho solo 3 partizioni fat32......
Mh ma come mai non ho il device.map che ti fa vedere le mappature, ho visto altri post che ce l'avevano in /boot/grub ..da me non esiste! ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Wed Jun 15, 2005 3:31 pm Post subject: |
|
|
a dir la verità ce l'ho pure io... e guardando con `equery files grub` device.map dovrebbe creartelo grub quando viene installato... possibile che il tuo nn l'abbia fatto? hai già riprovato a fare il processo di installazione di grub nell'mbr? _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Wed Jun 15, 2005 6:09 pm Post subject: |
|
|
Peach wrote: | a dir la verità ce l'ho pure io... e guardando con `equery files grub` device.map dovrebbe creartelo grub quando viene installato... possibile che il tuo nn l'abbia fatto? hai già riprovato a fare il processo di installazione di grub nell'mbr? |
Code: | # equery files grub
[ Searching for packages matching grub... ]
sys-boot/grub-0.96-r1
* Contents of sys-boot/grub-0.96-r1:
/bin
/bin/mbchk
/boot
/boot/grub
/boot/grub/grub.conf.sample
/boot/grub/splash.xpm.gz
/lib
/lib/grub
/lib/grub/i386-pc
/lib/grub/i386-pc/e2fs_stage1_5
/lib/grub/i386-pc/fat_stage1_5
/lib/grub/i386-pc/ffs_stage1_5
/lib/grub/i386-pc/iso9660_stage1_5
/lib/grub/i386-pc/jfs_stage1_5
/lib/grub/i386-pc/minix_stage1_5
/lib/grub/i386-pc/reiserfs_stage1_5
/lib/grub/i386-pc/stage1
/lib/grub/i386-pc/stage2
/lib/grub/i386-pc/stage2_eltorito
/lib/grub/i386-pc/ufs2_stage1_5
/lib/grub/i386-pc/vstafs_stage1_5
/lib/grub/i386-pc/xfs_stage1_5
/sbin
/sbin/grub
/sbin/grub-install
/sbin/grub-md5-crypt
/sbin/grub-set-default
/sbin/grub-terminfo
/usr
/usr/lib
/usr/lib/grub
/usr/share
/usr/share/doc
/usr/share/doc/grub-0.96-r1
/usr/share/doc/grub-0.96-r1/AUTHORS.gz
/usr/share/doc/grub-0.96-r1/BUGS.gz
/usr/share/doc/grub-0.96-r1/COPYING.gz
/usr/share/doc/grub-0.96-r1/ChangeLog.gz
/usr/share/doc/grub-0.96-r1/NEWS.gz
/usr/share/doc/grub-0.96-r1/README.gz
/usr/share/doc/grub-0.96-r1/THANKS.gz
/usr/share/doc/grub-0.96-r1/TODO.gz
/usr/share/doc/grub-0.96-r1/grub.conf.sample.gz
/usr/share/info
/usr/share/info/grub.info.gz
/usr/share/info/multiboot.info.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mbchk.1.gz
/usr/share/man/man8
/usr/share/man/man8/grub-install.8.gz
/usr/share/man/man8/grub-md5-crypt.8.gz
/usr/share/man/man8/grub-terminfo.8.gz
/usr/share/man/man8/grub.8.gz
# |
Io non lo vedo.. che se lo siano dimenticati in quello amd64 ?!.... mah anche dopo un updatedb, locate non lo trova...
Per processo di installazione intendi
Code: | # grub
Probing devices to guess BIOS drives. This may take a long time.
GNU GRUB version 0.96 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,6)
root (hd1,6)
Filesystem type is reiserfs, partition type 0x83
grub> setup (hd1)
setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd1)"... 19 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+19 p (hd1,6)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> quit |
Questo l ho fatto e dovrebbe scrivertelo nell MBR....
![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
therich n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Jun 2005 Posts: 9 Location: Ferrara, Italy, Europe
|
Posted: Thu Jun 16, 2005 4:50 pm Post subject: |
|
|
nessuno ha altri consigli su come risolvere il suddetto problema? Sembra strano che nella versione amd64 del pacchetto grub non ci sia il device.map ..sarebbe da segnalare eventualmente come bug?
Io come posso controllare realmente che hd1 sia il mio sata? l unica cosa che mi da la conferma di cio' e' che e' l unico disco su cui posso scrivere root(hd1,6) hd0 mi da errore non trova la partizione 6 che poi e' la 7 e hd2 non esiste, quindi non vedo molte alternative...
Poi se grub quando scrive nell'mbr non da problemi perche' dovrebbe averne quando cerca di partire? Sembra quasi che non venga riconosciuto il sata al boot del bios... boh
di nuovo non so dove sbattere la testa.. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ i have only fifteen years.. please help me when i have a problem! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Peach Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/113917422347ec3b2cbcf21.gif)
Joined: 08 Mar 2003 Posts: 3686 Location: London, UK
|
Posted: Thu Jun 16, 2005 5:09 pm Post subject: |
|
|
therich wrote: | nessuno ha altri consigli su come risolvere il suddetto problema? Sembra strano che nella versione amd64 del pacchetto grub non ci sia il device.map ..sarebbe da segnalare eventualmente come bug? |
scusa, forse mi sono espresso male: il mio device.map viene creato al momento di setup, NON con l'emerge. _________________ Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
randomaze Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/191195238462262e08ea92.jpg)
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jun 17, 2005 7:59 am Post subject: Re: Grub Error 22: No such partition su hd SATA |
|
|
therich wrote: | Ho un problema con grub quando parte mi da' l'errore 22, dice che non trova la partizione su root(hd1,6) |
Se il problema é con grub potresti provare ad entrare nella shell minimale di grub al momento del boot e provare con l'autocompletamento. _________________ Ciao da me! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
IlGab Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Megaman/megamanx.gif)
Joined: 26 Nov 2004 Posts: 486
|
Posted: Fri Jun 17, 2005 11:57 am Post subject: |
|
|
Quote: | nessuno ha altri consigli su come risolvere il suddetto problema? Sembra strano che nella versione amd64 del pacchetto grub non ci sia il device.map ..sarebbe da segnalare eventualmente come bug? |
Device.map è un semplice file di testo con cui "aiuti" grub a capire quali device deve utilizzare quando da solo non li identifica, ti faccio un esempio:
Sul mio compaq ho i dischi identificati come /dev/ida/c0d0p1 /dev/ida/c0d0p2 ecc... ecc..., grub da solo non li riconosce e vado ad inserire delle semplici voci in device.map
Code: | (hd0) /dev/ida/c0d0 |
In questo modo eseguendo Code: | grub --device-map=</path/to/device.map> | grub sarà in grado di vedere il mio disco e installarsi. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|