Bug#375927: RAID: groot is always set to (hd0,0)

Michael Biebl biebl at teco.edu
Thu Jun 29 15:26:48 UTC 2006


Wouter Verhelst wrote:
> On Thu, Jun 29, 2006 at 03:38:04PM +0200, Michael Biebl wrote:
>> ## default grub root device
>> ## e.g. groot=(hd0,0)
>> # groot=(hd0,0)
>>
>> Looking at /sbin/update-grub, groot is used to determine the root device
>>   (line 684). This generates a menu entry like this
>>
>> title 	Debian GNU/Linux, ...
>> root 	(hd0,0) <= This is wrong, should be (hd0,1)
>> kernel	...
>> ...
> 
> The "root" in grub terms does *not* correlate to the root device for
> your Linux kernel! The grub root device is where grub expects to find
> the kernel; i.e., this should be wherever /boot is, *not* where /root
> is!
> 
> Your kernel's root device is specified to the kernel with a kernel
> command line parameter. Not with the grub "root" parameter!
> 

You are right. But in my case groot and root are the same, because I
don't have a separate partition for /boot.
Anyways, the real problem is, that convert_raid1 gives the wrong results
because the output format of mdadm has changed. Do you know if the
output format of /proc/mdstat is stable? If so, we could use that
instead of "mdadm -D -b".

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20060629/e84740d6/signature.pgp


More information about the Pkg-grub-devel mailing list