bug-grub
[Top][All Lists]
Advanced

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

[bugs #10186] install-grub does not find the root device


From: Michal `hramrach' Suchanek
Subject: [bugs #10186] install-grub does not find the root device
Date: Mon, 30 Aug 2004 08:46:36 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040816 Firefox/0.9.1+

This mail is an automated notification from the bugs tracker
 of the project: GNU GRUB.

/**************************************************************************/
[bugs #10186] Latest Modifications:

Changes by: 
                Michal `hramrach' Suchanek <address@hidden>
'Date: 
                Mon 08/30/2004 at 12:41 (GMT)

------------------ Additional Follow-up Comments ----------------------------
The device of the mounted filesystem could be possibly obtained by stat(1) or 
stat(2). The C function interface is probably more portable as it should return 
predictable results  but the command is not even present on many systems.
At least comparing the results for / and /boot should work fine. Decoding the 
actual device node and physical disk partition may be harder.






/**************************************************************************/
[bugs #10186] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10186>
Project: GNU GRUB
Submitted by: 0
On: Fri 08/27/2004 at 21:15

Category:  Installation
Severity:  Major
Priority:  5 - Normal
Item Group:  Software Error
Resolution:  None
Privacy:  Public
Assigned to:  None
Originator Name:  Michal Suchanek
Originator Email:  address@hidden
Status:  Open
Release:  0.94
Reproducibility:  Every Time
Planned Release:  


Summary:  install-grub does not find the root device

Original Submission:  It is possible to specify the root device to the linux 
kernel as a number (and for some reason lilo does this). When it is specified 
this way (and possibly under other circumstances) the kernel would report that 
rootfs is mounted on / and install-grub script is not able to get the real 
device mounted on / just by scanning the output of df.

afaict the detection of root device by using df is still present in the cvs 
version of the script.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 08/30/2004 at 12:41       By: Michal `hramrach' Suchanek <hramrach>
The device of the mounted filesystem could be possibly obtained by stat(1) or 
stat(2). The C function interface is probably more portable as it should return 
predictable results  but the command is not even present on many systems.
At least comparing the results for / and /boot should work fine. Decoding the 
actual device node and physical disk partition may be harder.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

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