Re: grub, menu.lst, auto detect other os
2. Install 8.04 Hardy Heron's GRUB to Hardy Heron partition boot sector.
With your Ubuntu Intrepid Ibex Live/Install CD rebooted and running in your computer once again,
(i) Open GRUB as a program with superuser powers,
(ii) run a quick test to determine which partition(s) contain(s) GRUB files, for safety's sake,
Code:
find /boot/grub/stage2
(iii) If the results of the above test indicate that you have a /boot/grub/stage2 in both (hd0,2) and (hd0,4) then choose (hd0,2) as the partition to focus GRUB's attention to,
(iv) Install code from the /boot/grub/stage1 to the partition boot sector in (hd0,2) to make that boot sector point to the /boot/grub/stage2 file in (hd0,2), which is your Hardy Heron partition.
(v) Exit from GRUB for the time being,
NOTES: Some new websites are skipping the important test for checking which partitions contain GRUB. It's best to always make sure we're installing GRUB's IPL code to a Linux partition. If we neglect to advise people about the safe way someone will make a mistake and install it to their Windows partition and cause themselves some inconvenience. In that case we might as well just have used the grub-install command instead. The grub-install command has the advantage of refreshing the GRUB files in /boot at the same time as installing GRUB's IPL to a MBR or to a boot sector.
Ubuntu user since 2004 (Warty Warthog)
Bookmarks