Sorry for replying myself. I forgot that those patches are for
initscripts packages, patching /usr/share/loader/grub and
/usr/share/loader/make-initrd respectively.

Abel Cheung



On Tue, 27 Mar 2001, R.I.P. Deaddog wrote:

|
|
| Hi,
|
|       When upgraded to kernel-2.4.2-20mdk, I found some problems with
| /boot/initrd.img symlink and with /boot/grub/menu.lst ...... this is
| mainly because I used a separate /boot partition. (This setup isn't
| uncommon, right?)
|
| 1) In menu.lst, I found the added entry is as follows:
|
|       title 242-20
|       kernel (hd0,4)/boot/vmlinuz-2.4.2-20mdk root=/dev/hda6
|       initrd /boot/initrd-2.4.2-20mdk.img
|
| It can be seen that I use /dev/hda6 for / and /dev/hda5 for /boot.
| However /boot is not stripped from kernel entry, and no (hdx,y) entry is
| added to initrd entry, causing me to reboot so many times to discover this
| :(
|
| 2) /boot/initrd.img is a symlink to /boot/initrd-2.4.2-20mdk.img (note
| the absolute path), so that grub cannot find such thing as
| "/boot/blah.img" under /boot. That's equivalent to searching for
| /boot/boot/blah.img ???
|
|
| Attached two patches, the first one strips "/boot" from menu.lst if
| "/boot" is found under /etc/fstab ; the second one fixes symlink. So far
| I can test under grub (didn't install lilo), so can anybody verify if
| there's similar problem with lilo?
|
|


Reply via email to