Re: Help! Messed up my MBR (PART III)
On Sat, 22 Feb 1997 23:23:05 -0500 (EST), you wrote:
> Well after reading some of the LILO manual (which I should have done
> more of!) I realize what I have done.
>
> I first ran lilo with boot=/dev/hda. Since I didn't want lilo installed
> at all on my P90 and I ran lilo as an accident I thought I may as well
> try to get it to boot my linux partition on /dev/hdb1. So I edited
> my /etc/lilo.conf file except this time I had boot=/dev/hda1. I read
> that this is bad because /dev/hda1 is my DOS partition! So I really
> hosed things up and had lilo on both /dev/hda & /dev/hda1.
Yep, I thought so. I did that once before.
>
> Several nice people have e-mailed me and told me to do a fdisk /mbr
> to wipe out lilo on the mbr (/dev/hda) but what about lilo on /dev/hda1?
>
> Have I trashed my DOS partiton information? What can I do now?
Lilo most likely backed it up.
Boot back into your Linux system. If you can't boot into linux use a floppy
to do so. If you don't have a floppy you can use the rescue disk to get to
your system and use dd to create a floppy that will boot your into your
Linux system.
Once you have done so just type:
/sbin/lilo -u
The -u option will restore your backup.
> I did run fdisk and the partition information looked correct. It knew
> the partition was all dos and it was bootable/primary.
Yes but I'll bet if you try typing dir c:\ at the a:\ prompt DOS won't be
able to read it, because the boot sector contains essential FAT info.
Time flies like arrows, but fruit flies like bananas.
Perry Piplani http://perrypip.netservers.com
webmaster@netservers.com http://www.netservers.com
perry@perrypip.com http://www.perrypip.com
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: