View previous topic :: View next topic |
Author |
Message |
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Jun 04, 2004 11:16 am Post subject: Errore installazione Grub-static [RISOLTO] |
|
|
Installando grub mi torna un errore:
Code: |
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
checking if "/boot/grub/stage1" exists...no
checking if "/grub/stage1" exists...no
Error 15: File not found
|
Che puo essere ??
Last edited by f0llia on Fri Jun 04, 2004 11:53 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31449 Location: here
|
Posted: Fri Jun 04, 2004 11:18 am Post subject: |
|
|
Posta il contenuto di
Code: | # ls /boot
# ls /boot/grub |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jun 04, 2004 11:20 am Post subject: Re: Errore installazione Grub-static |
|
|
f0llia wrote: | Error 15: File not found
Che puo essere ?? |
Che non trova uno dei file di grub, in particolare l'esecuibile a cui passa il controllo dopo aver letto l'MBR.
Hai emerso grub normalmente? Quando hai emerso grub la tua partizione di boot era correttamente montata in read-write? E adesso che fai il setup é correttamente montata? _________________ Ciao da me! |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Jun 04, 2004 11:25 am Post subject: Re: Errore installazione Grub-static |
|
|
randomaze wrote: |
Hai emerso grub normalmente? |
Si ho semplicemente dato
randomaze wrote: |
Quando hai emerso grub la tua partizione di boot era correttamente montata in read-write? E adesso che fai il setup é correttamente montata? |
Le partizioni sono tutte montate perche sono in fase d'installzione e avevo dato i soliti
Code: |
mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
|
C'e qualcosa di sbagliato ? |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jun 04, 2004 11:28 am Post subject: Re: Errore installazione Grub-static |
|
|
f0llia wrote: | C'e qualcosa di sbagliato ? |
eri dentro il chroot, vero?
cosa dice ls /boot/grub ? _________________ Ciao da me! |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Jun 04, 2004 11:29 am Post subject: |
|
|
Ecco i contenuti di boot e grub:
Code: |
livecd linux # ls /boot
boot bzImage grub lost+found
|
Code: |
livecd linux # ls /boot/grub
grub.conf.sample splash.xpm.gz
|
|
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jun 04, 2004 11:40 am Post subject: |
|
|
f0llia wrote: | Ecco i contenuti di boot e grub:
Code: |
livecd linux # ls /boot
boot bzImage grub lost+found
|
Code: |
livecd linux # ls /boot/grub
grub.conf.sample splash.xpm.gz
|
|
Mmmm non sono espertissimo di grub-static ma a occhio manca qualcosa.
A giudicare da questo post (che tratta un problema diverso) potrebbe esseci da fare un cp a mano.
Prova a fare:
Code: |
ls /usr/share/grub/
ls /usr/share/grub/i386
|
e vediamo cosa c'é dentro. _________________ Ciao da me! |
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Jun 04, 2004 11:48 am Post subject: |
|
|
E' strano il fatto che stavolta mi manchi qualcosa..ho gia installato un apio di volte Gentoo su sistemi amd64 e grub non ha mai dato problemi..
Il contenuto delle dir è :
Code: |
livecd boot # ls /usr/share/grub
i386-pc
|
Code: |
livecd boot # ls /usr/share/grub/i386-pc
e2fs_stage1_5 ffs_stage1_5 minix_stage1_5 stage1 vstafs_stage1_5
fat_stage1_5 jfs_stage1_5 reiserfs_stage1_5 stage2 xfs_stage1_5
|
|
|
Back to top |
|
|
f0llia l33t
Joined: 22 Apr 2003 Posts: 873
|
Posted: Fri Jun 04, 2004 11:52 am Post subject: |
|
|
Scusate..stavolta è proprio una mia dimenticanza.. :
Code: |
(Per architetture AMD64:)
# emerge --usepkg grub-static
# cp -Rpv /usr/share/grub/i386-pc/* /boot/grub
|
Questa volta mi ero dimenticato di copiare i file in /boot/grub..
Infatti una volta rimediato funziona sena problemi |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Fri Jun 04, 2004 11:54 am Post subject: |
|
|
f0llia wrote: | Infatti una volta rimediato funziona sena problemi |
bene _________________ Ciao da me! |
|
Back to top |
|
|
|