Linked by Barry Smith on Mon 1st Dec 2003 18:34 UTC
Debian and its clones This is the second in my series of reviews for debian-based commercial distros that might be appropriate for SOHO use. The first article covered my exploration of Lindows, and this one is focused on Libranet. Before I get started with Libranet I want to clarify a couple of points.
Permalink for comment
To read all comments associated with this story, please click here.
Fixing Grub
by BreetaiZentradi on Tue 9th Dec 2003 09:04 UTC

I have 6 linux partitions on 2 drives, I install a new distribution of linux every week or so to test it out. GRUB or LILO constantly get zapped. Here is what fixes it for me.

1. Boot from a live CD like Knoppix, Morphix, Mepis, or my current favorite PCLinuxOS 2K4 ( http://www.pclinuxonline.com )

2. Go to a root command prompt, by CTRL+ALT+F2, or selecting a root terminal session.

3. Mount or remount as read write the partition that is your linux systems root partition:

mount -o rw /dev/hda1 /mnt/hda1

4. Go to chrooted enviroment, i.e. make your linux system use the drive we just mounted as our current "live" version of Linux:

chroot /mnt/hda1

5. Now we use GRUB to reinstall the bootloader back into the MBR of the hard drive:

grub-install /dev/hda

6. Reboot the system


Upon reboot (with the CD removed from the drive) grub should do it's thing again