bug-grub
[Top][All Lists]
Advanced

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

Fw: Re: savedefault is still not working


From: OKUJI Yoshinori
Subject: Fw: Re: savedefault is still not working
Date: Wed, 07 Feb 2001 19:00:12 +0900

Torvald, please use bug-grub.
--- Begin Message --- Subject: Re: savedefault is still not working Date: Tue, 6 Feb 2001 16:09:34 +0100
On Tue, Feb 06, 2001 at 05:14:46AM +0900, OKUJI Yoshinori wrote:
> 
> One thing that you can do easily is to log what savedefault_func
> does. To do this, turn on the debug mode by the command "debug" and
> then run "savedefault". Note that you need to run "debug" in the
> command-line and "savedefault" in a menu entry. This should print out
> the sector to which "savedefault" wants to write data, like "<1052, 0,
> 512>". Then, check for the actual sector number of stage2 by the
> command "blocklist".
In savedefault_func I used disk_read_func to print out sector, byteoffset,
length of the sector being read by the first rawread. Is this the correct
way and the values you needed?
<8176,0,512> is being read. (boot_drive, install_second_sector) = (128, 8176)
I installed grub using grub-install /dev/hdb, my device.map has the following
entries:
(fd0)   /dev/fd0
(hd0)   /dev/hdb
(hd1)   /dev/hdc
(hd2)   /dev/hdd
blocklist (hd0,0)/dev/stage2 output:
(hd0,0)<3468960,0,512><3468...>...,3469072+72
/dev/hdb1 is my root device, containing /boot/grub as well
grub-install's debug output is ok (stages are found etc.), root device is set
to (hd0,0), setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0) is run.
It embeds e2fs_stage1_5 in (hd0) (16 sectors) and install cmd succeeds after
that.
sector numbers for blocklist of stage2 are all in the 346xxxx range.
except from savedefault grubs works.
Please tell me wether some information is missing or if some values don't make
sense.

thanks,

torvald


--- End Message ---

reply via email to

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