Re: possible to restore damaged Lilo in MBR
What about a plain bootdisk. It should have a simple text editor on it
On Fri, 17 Aug 2001, Benjamin Zhou wrote:
>Date: Fri, 17 Aug 2001 18:14:05 -0400
>From: Benjamin Zhou <email@example.com>
>To: firstname.lastname@example.org, email@example.com
>Subject: Re: possible to restore damaged Lilo in MBR
>I tried all the possible combinations mentioned in the response, none of
>them works. I also tried with a grub bootdisk, but it lists a few
>choices, none of them works. It seems that I have to have a working linux
>box to do edit to a config file on the grub disk, which can not be
>accessed from within Win2k.
>any more suggestions, thanks a loooot for your time.
>>From: Rolf Heckemann
>>Subject: Re: possible to restore damaged Lilo in MBR
>>Date: Wed, 15 Aug 2001 11:37:56 +0100
>>On Tue, Aug 14, 2001 at 12:37:30PM -0700, Mike Alborn wrote:
>> > > After reinstalled win2k, I can no longer access
>> > > my existing Linux installation. Sadly, I didn't create a boot disk.
>> > I don't know if this will work out of w2k, but it's worth a shot.
>> > will only work if you can boot the machine from a floppy, and if you
>> > the location of your root partition (/dev/hda1 etc)
>> > - First, go to a debian mirror site, say
>> > and get the file called rescue.bin
>> > - Head to mirror.direct.ca/pub/liunx/debian/tools and get
>> > rawrite2.zip (these are programs to let you do a dd from dos.)
>> > - unpack rawrite and use it to dump the rescue.bin image onto a blank
>> > - Reboot the machine from the floppy at the boot: prompt, type
>> > rescue root= hit F1/F3 for help.
>> > -Once the machine boots, mount the boot partition (if you have a
>> > set up your /etc/lilo.conf (if needed),invoke /sbin/lilo, and restart
>> > machine from the hard disk.
>> > I use a similar method whenever my MBR gets trashed, except I have a
>> > CD lying around, which works along the same lines.
>> > BTW, if you don't know the location of your root partition, and you
>> > a Mandrake CD or something that works similarly, the CD has a
>> > installation on it, allowing you to mount filesystems and determine
>> > the root.
>> > > thanks a lot for any tip.
>> > No prob. Hope this does the trick.
>>It probably will - I have been through this exact procedure a few
>>times. However, I recommend having a look at grub. If you create a
>>grub boot disk, you have a fast and flexible way of booting different
>>Linux kernels and other OS's, no matter where they reside on your hard
>>disk(s). Grub will even let you have reiserfs on your root and boot
>>partitions (don't know if LILO is ready for that yet).
>>To Benjamin Zhou: I can make a grub bootdisk image and email it to you
>>if you like (it's 48 kB gzipped).
>>All the best
>>To UNSUBSCRIBE, email to firstname.lastname@example.org
>>with a subject of "unsubscribe". Trouble? Contact
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>-- To UNSUBSCRIBE, email to email@example.com with a
>subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org