Bug#173656: marked as done (Grub 0.91 and root filesystem on Linux)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jan 14 11:48:15 UTC 2006


Your message dated Sat, 14 Jan 2006 12:47:06 +0100
with message-id <43C8E4BA.3040105 at groenstue.dk>
and subject line Closing this bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Dec 2002 08:52:51 +0000
>From summer at computerdatasafe.com.au Thu Dec 19 02:52:50 2002
Return-path: <summer at computerdatasafe.com.au>
Received: from (gw.computerdatasafe.com.au) [202.72.179.2] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18OwQD-0006xR-00; Thu, 19 Dec 2002 02:52:49 -0600
Received: from numbat.computerdatasafe.com.au (numbat.computerdatasafe.com.au [192.168.1.101])
	by gw.computerdatasafe.com.au (8.11.6/8.11.6) with ESMTP id gBJ8qFH07762;
	Thu, 19 Dec 2002 16:52:15 +0800
Received: from numbat (localhost [127.0.0.1])
	by numbat.computerdatasafe.com.au (8.11.6/8.11.6) with ESMTP id gBJ8qE200327;
	Thu, 19 Dec 2002 16:52:15 +0800
Content-Type: text/plain;
  charset="iso-8859-1"
From: John Summerfield <summer at computerdatasafe.com.au>
To: bug-grub at gnu.org
Subject: Grub 0.91 and root filesystem on Linux
Date: Thu, 19 Dec 2002 16:52:14 +0800
User-Agent: KMail/1.4.1
Cc: submit at bugs.debian.org
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200212191652.14150.summer at computerdatasafe.com.au>
Delivered-To: submit at bugs.debian.org
X-Spam-Status: No, hits=-0.9 required=5.0
	tests=SIGNATURE_SHORT_SPARSE,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_KMAIL
	version=2.41
X-Spam-Level: 

Package: grub
Release: 0.91

The grub-install script relies on /etc/mtab being correct in order to discover 
the root filesystem.

This is no good if  /etc/mtab is not current. This is my immediate problem.

Nor can it rely on /proc being mounted. I'm trying to run it chroot().

Here's what happens:
+ bootdir=/boot/boot
+ grubdir=/boot/boot/grub
+ device_map=/boot/boot/grub/device.map
+ test -f //sbin/grub
+ :
+ test -f //usr/lib/grub/i386-pc/stage1
+ :
+ test -f //usr/lib/grub/i386-pc/stage2
+ :
+ test -d /boot/boot
+ test -d /boot/boot/grub
+ test no = yes
+ test -f /boot/boot/grub/device.map
+ :
++ convert /dev/hda
++ test -e /dev/hda
++ :
+++ sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' -e 's%\(fd[0-9]*\)$%\1%' -e 
's%/part[0-9]*$%/disc%' -e 's%\(c'
+++ echo /dev/hda
++ tmp_disk=/dev/hda
+++ echo /dev/hda
+++ sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' -e 's%.*/fd[0-9]*$%%' -e 
's%.*/floppy/[0-9]*$%%' -e 's%.*/'
++ tmp_part=
+++ grep -v '^#' /boot/boot/grub/device.map
+++ grep '/dev/hda *$'
+++ sed 's%.*\(([hf]d[0-9][a-g0-9,]*)\).*%\1%'
++ tmp_drive=(hd0)
++ test 'x(hd0)' = x
++ test x '!=' x
++ echo '(hd0)'
+ install_drive=(hd0)
+ test 'x(hd0)' = x
++ df /boot/
++ grep /dev/
++ sed 's%.*\(/dev/[^   ]*\).*%\1%'
+ root_device=
++ df /boot/boot
++ grep /dev/
++ sed 's%.*\(/dev/[^   ]*\).*%\1%'
+ bootdir_device=
+ test x '!=' x
++ convert ''
++ test -e ''
++ echo ': Not found or not a block device.'
: Not found or not a block device.
++ exit 1
+ root_drive=
+ test x = x
+ exit 1

The actual commandline is:
/sbin/grub-install --debug --root-directory=/boot /dev/hda

fwiw I'm playing round with Debian/Woody.


-- 
Cheers
John Summerfield


Microsoft's most solid OS: http://www.geocities.com/rcwoolley/
Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb





---------------------------------------
Received: (at 173656-done) by bugs.debian.org; 14 Jan 2006 11:45:03 +0000
>From edlund at groenstue.dk Sat Jan 14 03:45:03 2006
Return-path: <edlund at groenstue.dk>
Received: from cicero2.cybercity.dk ([212.242.40.53])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1ExjqB-0004q0-41
	for 173656-done at bugs.debian.org; Sat, 14 Jan 2006 03:45:03 -0800
Received: from user1.cybercity.dk (user1.cybercity.dk [212.242.41.34])
	by cicero2.cybercity.dk (Postfix) with ESMTP id BE5792455F4
	for <173656-done at bugs.debian.org>; Sat, 14 Jan 2006 12:45:00 +0100 (CET)
Received: from [10.0.0.2] (port236.ds1-aboes.adsl.cybercity.dk [212.242.227.179])
	by user1.cybercity.dk (Postfix) with ESMTP id 0CDB2750080
	for <173656-done at bugs.debian.org>; Sat, 14 Jan 2006 12:45:00 +0100 (CET)
Message-ID: <43C8E4BA.3040105 at groenstue.dk>
Date: Sat, 14 Jan 2006 12:47:06 +0100
From: Kristian Edlund <edlund at groenstue.dk>
User-Agent: Debian Thunderbird 1.0.7 (X11/20051017)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 173656-done at bugs.debian.org
Subject: Closing this bug
X-Enigmail-Version: 0.93.0.0
OpenPGP: id=7DD7559F
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

I am trying to close this bug since grub has chnged quite alot since
0.91. Feel free to reopen this bug if the problem still occurs.

-- 
Best Regards
Kristian Edlund

GPG ID: 7DD7559F



More information about the Pkg-grub-devel mailing list