Re: grub and devfs

2002-05-23 Thread Pavel Roskin

Hi, Christian!

 I've just installed a Linux from Scratch with device filesystem. Of course I 
 use grub as my prferred bootloader. ;) But I had some trouble writing it to 
 the mbr:

You forgot the version of GRUB.  Not all versions are equal!

 root@kronos-zwei:~# grub-install /dev/discs/disc0/disc
 /dev/discs/disc0/disc does not have any corresponding BIOS drive.

Try removing /boot/grub/device.map or add --recheck to the command line.
Your /boot/grub/device.map was created before you installed devfs and it 
has old names in it.

It can be fixed, but the fix is not simple, since every entry in 
/boot/grub/device.map would have to be resolved.

-- 
Regards,
Pavel Roskin


___
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub



Re: grub and devfs

2002-05-23 Thread Alex Thiel

Try giving the device the GRUB way, i.e.
grub-install '(hd0)'

Worked for me.

Cheers,
Alex

On Thursday 23 May 2002 17:01, Christian Hesse wrote:
 Hello!

 I've just installed a Linux from Scratch with device filesystem. Of course
 I use grub as my prferred bootloader. ;) But I had some trouble writing it
 to the mbr:

 root@kronos-zwei:~# grub-install /dev/discs/disc0/disc
 /dev/discs/disc0/disc does not have any corresponding BIOS drive.

 As disc0/ is a symlink to ../ide/host0/bus0/target0/lun0/ I tried to write
 grub to /dev/host0/bus0/target0/lun0/disc and I worked without problems.
 Why can't grub handle symlinks or is there another mistake I made? Or is it
 a feature anyway?

 Regards,
   Christian

 ___
 Bug-grub mailing list
 [EMAIL PROTECTED]
 http://mail.gnu.org/mailman/listinfo/bug-grub

___
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub



Re: grub and devfs

2002-05-23 Thread Christian Hesse

On Thursday 23 May 2002 17:30, Pavel Roskin wrote:
 You forgot the version of GRUB.  Not all versions are equal!

Sorry, I've forgotten to mention that. I'm using grub 0.92 with linux 2.4.18. 
/ ist ext3, /boot is still ext2.

  root@kronos-zwei:~# grub-install /dev/discs/disc0/disc
  /dev/discs/disc0/disc does not have any corresponding BIOS drive.

 Try removing /boot/grub/device.map or add --recheck to the command line.
 Your /boot/grub/device.map was created before you installed devfs and it
 has old names in it.

This version of Linux has been installed with devfs, so there can't be any old 
names. The problem is not that I can't install it but that grub does not 
understand using symlinks correctly.

-- 
Regards,
  Christian Hesse

___
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub