Grub FC3

Paul Howarth paul at city-fan.org
Thu May 5 16:07:03 UTC 2005


Oliver Vecernik wrote:
> Paul Howarth schrieb:
> 
>>># grub-install /dev/hdb
>>>/dev/hdb does not have any corresponding BIOS drive.
>>>
>>>What does that mean?
>>
>>What's in your /boot/grub/device.map ?
>>
>>Perhaps you could try "grub-install --recheck"?
> 
> 
> Nope. I removed my old drive, jumpered the new on as master and started
> FC3 #1 with 'linux rescue'. Then I tried to configure grub:
> 
> # grub
> 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... yes
>  Checking if "/grub/stage2" exists... yes
>  Checking if "/grub/e2fs_stage1_5" exists... yes
>  Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
> succeeded
>  Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
> /grub/grub.conf"... succeeded
> Done.
> 
> grub> quit
> 
> Everthing seems to be fine after a reboot (I even see my three kernels
> in the boot menu).
> 
>   Booting 'Fedora Core (2.6.11-1.14_FC3)'
> ...
> fsck.ext3: Nicht möglich »LABEL=/boot« aufzulösen
> 
> It's not possible to find »LABEL=/boot«. My fstab looks like this
> (unchanged):
> 
> # cat /etc/fstab
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> /dev/VolGroup00/LogVol00 /		ext3	defaults	1 1
> LABEL=/boot		 /boot		ext3	defaults	1 2
> ...
> 
> If I change LABEL=/boot to /dev/hda1 everthing works fine, but I think
> that's not the solution, because I don't want to change the default
> setup of FC3.
> 
> Shouldn't Grub find stage1 in '/boot/grub/stage1' (it says: Checking if
> "/boot/grub/stage1" exists... no)?
> 
> I believe grub takes the wrong configuration, but how do I configure
> this correctly?

Grub is right. You have a separate /boot partition, so the file it's 
looking for is in /grub/stage1, which it finds correctly.

The problem you have is that you created the new /boot filesystem 
manually and didn't label it as "/boot". You can fix this using tune2fs:

# tune2fs -L /boot /dev/hda1

Paul.




More information about the fedora-list mailing list