[opensuse] Re: disk device names and libata
Le 12/12/2009 22:27, Carlos E. R. a écrit :
I thought that labels, ids, etc, did not work on grub. There is a map file that "defines" the correspondence beetween both, but I don't know which side is the "boss" side. I think it is the bios who defines them.
cat /boot/grub/device.map (hd1) /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 (hd3) /dev/disk/by-id/usb-WD_5000AAV_External_574341535530333930393935-0:0 (hd2) /dev/disk/by-id/usb-WD_1600BEV_External_5758435A3037353135323131-0:0 (hd0) /dev/disk/by-id/ata-WDC_WD5000BEVT-00ZAT0_WD-WXNY08N61636 we see usb devices, here (and I have none connected, have to be internal usb-hubs) but for me HDD is still 0 jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/12/12 22:55 (GMT+0100) jdd-gmane composed:
Carlos E. R. wrote:
I thought that labels, ids, etc, did not work on grub. There is a map file that "defines" the correspondence beetween both, but I don't know which side is the "boss" side. I think it is the bios who defines them.
cat /boot/grub/device.map (hd1) /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 (hd3) /dev/disk/by-id/usb-WD_5000AAV_External_574341535530333930393935-0:0 (hd2) /dev/disk/by-id/usb-WD_1600BEV_External_5758435A3037353135323131-0:0 (hd0) /dev/disk/by-id/ata-WDC_WD5000BEVT-00ZAT0_WD-WXNY08N61636
we see usb devices, here (and I have none connected, have to be internal usb-hubs) but for me HDD is still 0
AIUI: 1-device.map is used by the grub shell 2-grub _shell_ is not part of normal boot process Maybe I have something about this mixed up and it is Bob S's 11.2 device map that needs fixing. Does Grub v1 actually know how to use /dev/disk* entries? I don't remember ever seeing device.map files of more than 45 or so bytes on any of my 11.2 or Factory installs, too small to be using /dev/disk* strings for mapping. Do mkinitrd or perl-Bootloader depend on correct device.map entries to function correctly? Bob, show us your 11.2 device.map file please. -- " We have no government armed with power capable of contending with human passions unbridled by morality and religion." John Adams, 2nd US President Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2009-12-12 at 17:31 -0500, Felix Miata wrote:
AIUI:
1-device.map is used by the grub shell 2-grub _shell_ is not part of normal boot process
Maybe I have something about this mixed up and it is Bob S's 11.2 device map that needs fixing.
Does Grub v1 actually know how to use /dev/disk* entries? I don't remember ever seeing device.map files of more than 45 or so bytes on any of my 11.2 or Factory installs, too small to be using /dev/disk* strings for mapping.
As far as I know, grub only understands the (hdX,Y) entries. The rest are read by the kernel once it loads.
Do mkinitrd or perl-Bootloader depend on correct device.map entries to function correctly?
I don't know what relly uses that file. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkskML8ACgkQtTMYHG2NR9Uw2wCglFfa1GrY+21eNA4THSKvbCw8 3OMAn1KmfXPYI17v6Y7opgMFrHKs54Dx =k+4L -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 12 December 2009 19:09:28 Carlos E. R. wrote:
On Saturday, 2009-12-12 at 17:31 -0500, Felix Miata wrote:
AIUI:
1-device.map is used by the grub shell 2-grub _shell_ is not part of normal boot process
Maybe I have something about this mixed up and it is Bob S's 11.2 device map that needs fixing.
Does Grub v1 actually know how to use /dev/disk* entries? I don't remember ever seeing device.map files of more than 45 or so bytes on any of my 11.2 or Factory installs, too small to be using /dev/disk* strings for mapping.
As far as I know, grub only understands the (hdX,Y) entries. The rest are read by the kernel once it loads.
Do mkinitrd or perl-Bootloader depend on correct device.map entries to function correctly?
I don't know what relly uses that file.
I read somewhere, can't find it right now, that Grub uses it when it gets confused about something. Disk order? Dunno Bob S -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 12 December 2009 17:31:59 Felix Miata wrote:
On 2009/12/12 22:55 (GMT+0100) jdd-gmane composed:
Carlos E. R. wrote:
I thought that labels, ids, etc, did not work on grub. There is a map file that "defines" the correspondence beetween both, but I don't know which side is the "boss" side. I think it is the bios who defines them.
cat /boot/grub/device.map (hd1) /dev/disk/by-id/usb-Generic_USB_SD_Reader_12345678901234567890-0:0 (hd3) /dev/disk/by-id/usb-WD_5000AAV_External_574341535530333930393935-0:0 (hd2) /dev/disk/by-id/usb-WD_1600BEV_External_5758435A3037353135323131-0:0 (hd0) /dev/disk/by-id/ata-WDC_WD5000BEVT-00ZAT0_WD-WXNY08N61636
we see usb devices, here (and I have none connected, have to be internal usb-hubs) but for me HDD is still 0
AIUI:
1-device.map is used by the grub shell 2-grub _shell_ is not part of normal boot process
Maybe I have something about this mixed up and it is Bob S's 11.2 device map that needs fixing.
Does Grub v1 actually know how to use /dev/disk* entries? I don't remember ever seeing device.map files of more than 45 or so bytes on any of my 11.2 or Factory installs, too small to be using /dev/disk* strings for mapping.
Do mkinitrd or perl-Bootloader depend on correct device.map entries to function correctly?
Bob, show us your 11.2 device.map file please. -- OK, here it is, exactly the same as 11.0
(hd0) /dev/sda (hd1) /dev/sdb (hd2) /dev/sdc Bob S Thought you were going to bed. Don't want you getting grumpy on us. Yes, I live in central Forida. New Port Richey, about 20 miles north of St. Petersburg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Bob S
-
Carlos E. R.
-
Felix Miata
-
jdd-gmane