LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Downgrading win, will it screw up lilo? (https://www.linuxquestions.org/questions/linux-newbie-8/downgrading-win-will-it-screw-up-lilo-101785/)

Toker 10-08-2003 04:31 PM

Downgrading win, will it screw up lilo?
 
I need to dump winxp and put on win98se, since this is a windows install, I'm already guessing it will screw up lilo in the mbr. Once I get 98 on, what should I need to do if/when everything doesn't go right? I assume I'll boot straight up with a boot disk, but what will I need to do to fix/reinstall lilo?

jailbait 10-08-2003 04:40 PM

"what will I need to do to fix/reinstall lilo?"

edit /etc/lilo.conf

then run:
lilo



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

daveo 10-08-2003 04:40 PM

Re: Downgrading win, will it screw up lilo?
 
Quote:

Originally posted by Toker
I need to dump winxp and put on win98se, since this is a windows install, I'm already guessing it will screw up lilo in the mbr. Once I get 98 on, what should I need to do if/when everything doesn't go right? I assume I'll boot straight up with a boot disk, but what will I need to do to fix/reinstall lilo?
Afther you have finisched installing windows (which overwrites your current mbr)

I have no experience with Mandrake, but try the following:

Boot on the distro cd / or floppy's
Login to the system

--I assume you have mandrake on a second partition and you use a ext2 file-system, if not then change the filesystem name--

mount -t ext2 /dev/hda2 /mnt

Now your root filesystem is mounted to /
Then:

mount -t proc /mnt/proc
chroot /mnt
lilo (will make a new mbr for you)
exit
umount /mnt
reboot

Hope this helps,

daveo 10-08-2003 04:45 PM

Quote:

Originally posted by jailbait
"what will I need to do to fix/reinstall lilo?"

edit /etc/lilo.conf

then run:
lilo



___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Running lilo on a booted CD ? Does that write back a config file on the root filesystem which isn't mounted at all ?

daveo 10-08-2003 04:46 PM

Re: Re: Downgrading win, will it screw up lilo?
 
sorry cross post

slacknoob 10-10-2003 10:34 PM

Another idea would be the following:

1. Go to Mandrake Control Center, and make a boot disk with lilo (write lilo in a floopy).

2. Install WIndows, that will overwrite MBR.

3. Boot with the floopy, get into /etc, type lilo as root and reboot the system.

It should work.


All times are GMT -5. The time now is 12:03 AM.