[svlug] emberassing ? about grub

Erik Steffl steffl at bigfoot.com
Wed Aug 13 18:33:41 PDT 2003


Rafael Skodlar wrote:
> On Wed, Aug 13, 2003 at 02:56:04PM -0700, Gordon Vrololjak wrote:
> 
>>Hello,
>>I have a dual boot laptop with XP and linux.  I had to do some work to
>>solve XP and hardware problems before a trip which forced me to redo the
>>boot process for my hard disk.  I made a grub boot disk to reinstall grub
>>before I left, but unfortunately, I didn't test it.
>>
>>Now the boot disk I carefully made won't work, but I still have a linux
>>partition on my hard disk.  Is there a way of reinstalling grub to access
>>my installed linux OS, without damaging xp?
>>Thanx for the advice.
> 
> 
> Do you get grub prompt? If so you can use it's powerful command line to
> find the kernel and install it, i.e. boot from it.
> 
> Otherwise you need to boot from floppy and use HD for root then run
> grub-install. If that fails boot from CD and mount / partition, chroot
> to it and run grub-install. Edit /boot/grub/grub.conf if necessary. That
> should work.
> 
> You may also want to create bootable floppy with grub on it.

   or get on of the live CDs (e.g. knoppix) and work from there... 
(boot, mount your linux partition, reinstall grub etc.)

	erik






More information about the svlug mailing list