Mailinglist Archive: opensuse (1523 mails)

< Previous Next >
Re: [opensuse] Confused by hard drive naming/position /dev/sda vs hd0 etc,
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sun, 14 Mar 2010 18:09:50 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.1003141758010.16913@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Sunday, 2010-03-14 at 17:51 +0100, Philipp Thomas wrote:

On Sun, 14 Mar 2010 15:11:49 +0100 (CET), you wrote:

Now, my doubt, is how grub relates its names, like hd0, hd1, hd2 to the
kernel naming like sda, sdb, sdc... there is a device-map file, but that
comes later. What logic is used to create that file? is the file used
during boot, or is it simply for our information, as I think?

It is created either manually or by YaST during installation and used
by grub when booting. Just edit that file and then try to boot but
have a rescue system at hand to undo your changes.

On one machine, I have:

(hd0) /dev/disk/by-id/ata-ST3500418AS_5VM2RSY4
(hd2) /dev/disk/by-id/ata-ST3500418AS_5VM2RW2E
(hd1) /dev/disk/by-id/ata-ST3500418AS_9VM7ZCQQ

On another install in the same machine, I got sda, sdc, sdb (from memory). On another disk of that machine, I have:

(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc

All done by oS 11.2

Go figure. I tried to change the order to hd0, hd1, hd2, in the order of the connectors of the motherboard... and then it would not boot. Now I leave things as they are, changes are too unpredictable.

- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkudGGAACgkQtTMYHG2NR9VA0QCeIjcLBATpWQbQBfrPyxN7v1+i
JFQAnR7ieB0Pgg9wgO+7Aup23QKpc+ZO
=dJF8
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups