[TAG] Linux on new laptop
Kapil Hari Paranjape
kapil at imsc.res.in
Sat Jun 5 13:49:03 MSD 2004
On Fri, Jun 04, 2004 at 03:18:10PM +0100, Thomas Adam wrote:
> On Fri, 04 Jun 2004 10:09:06 -0400
> Well, if you can boot from a knoppix CD, you can fix your GRUB
> installation, by following these steps:
>
> ```
> mount -o remount,rw /dev/hdX /mnt
> '''
>
> where "/dev/hdX" refers to your linux partition. Then you'll need to
> create a chroot jail:
>
> ```
> chroot /mnt /bin/bash
> '''
>
> From within that, you can edit /boot/grub/menu.lst and/or
> /etc/grub/grub.conf. The latter file holds definitions for the
> partitions with the former holds information for the menu grub will
> display.
>
> Which should sort everything out. I have never used Grub before,
> preferring lilo, but that is by the by.
Actually, you may also need to run "grub-install hd0" or some such
from within "chroot" *if* (as seems to be the case) the original grub
installation is not working properly.
The main difference (from a user's perspective) between "lilo" and
"grub" is that you do not need to re-run "grub-install" after editing
the /boot/grub/menu.lst file ... unless:
1. Your current installation is SNAFU (your current situation).
2. You plan the erase the partion from which "grub" currently boots.
Grub sometimes manages to recover pretty well even in case (2) as long
as it is in a "standard" location on *some* Linux/BSD-ish partition.
Regards,
Kapil.
--
Computers don't actually think.
You just think they think.
(We think.)
--
More information about the TAG
mailing list