bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub floppy snafu


From: Marco Gerards
Subject: Re: grub floppy snafu
Date: Sun, 03 Oct 2004 11:54:33 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

address@hidden (Haines Brown) writes:

> When I upgraded from debian woody to sarge, grub (both new and old
> versions) began to map my drives incorrectly. My "work-around" has
> been to change the root command to compensate for the mapping error:  
>
>      sda drive 0       root (hd0,0)
>      sdb drive 1       root (hd2,0)
>      sdc drive 2       root (hd1,0)

This is not incorrect, it just might appear a bit awkward to you if
you do not know how GRUB works.  First of all, GRUB is not Linux.
GRUB does not show the devices in order as they are physically
connected.  Instead it uses the BIOS to detect and use the drives.  So
basically, the drive numbers are those of the BIOS.

In order to change those device numbers you have to change things in
the BIOS.

> Instead of using the root command, would I do better changing the map,
> either the map file in /boot or placing a map command in the grub
> menu? I tried doing both, but without any effect. 

What do you want to do?  If that is changing the mapping in GNU/Linux
(or whatever you use), change device.map.

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]