Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-17-2006, 05:58 PM   #1
Registered: Nov 2002
Distribution: Slackware
Posts: 37

Rep: Reputation: 15
installing lilo from a live cd on a working computer

Hi I have a computer dual booted. xp (just because) and slackware. I and using 2.6.13 and thought for grins i would try 2.6.15. well, I renamed my good kernel and installed the new one. but, appearently I didnt change the lilo.conf file and when it booted it jsut drooled.
so I broke out my install cd and booted, mounted the drive and edited lilo.conf. then I went to run lilo and tried the -m opiton. and seemed to wipe lilo completely off my system. now I boot straight to xp like linux isn't installed. I know it is and I like the configuration I have and dont want to loose it. After spending time in the man page for lilo (with no success) and searching the internet and this forum. I have no other choice but to ask how I would do this.
I have had little success on here but I am ever hopeful that some day a problem of mine will be solved on here. unitll then..... well.....
Old 01-17-2006, 06:26 PM   #2
LQ Newbie
Registered: Dec 2005
Distribution: redhat
Posts: 13

Rep: Reputation: 0
I would get access to your Linux boot partition (either via BBC, Knoppix or a rescue CD) and install GRUB. Providing the MBR is locatable you can write a script (easy) and the machine will dual boot.

Another approach is to re-activate LILO. You can do this by accessing the boot partition (see above) and chrooting it after mounting. Then run '/sbin/lilo' at the command line. Exit the rescue mission and you should be able to boot normally to either OS.
Old 01-17-2006, 06:29 PM   #3
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Rep: Reputation: 16
well, to get you started you'll probably need to chroot into your actual installation to install. I use grub, and I know that with it you can just chroot into your mounted installation and reinstall it to the mbr. not sure exactly what you have to do with lilo.
Old 01-17-2006, 06:49 PM   #4
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
yep, just chroot into the correct root partition, edit lilo, run /sbin/lilo, exit and reboot.
Old 01-17-2006, 06:50 PM   #5
Registered: Nov 2002
Distribution: Slackware
Posts: 37

Original Poster
Rep: Reputation: 15
awsome. the chroot worked. ty


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing linux on a computer and use hard disk on another computer danrweki Linux - Newbie 8 11-16-2005 10:11 PM
Live Distro. Could it hurt computer? bvsciguy Ubuntu 2 07-12-2005 05:23 AM
wow, live cd made my computer not boot! Mr. New General 2 05-29-2005 10:13 AM
Live in California? Microsoft may owe you a computer! ThunderBunny General 67 10-24-2003 10:13 PM
Lilo not working correctly after installing slackware. jpierce09 Slackware 5 07-15-2003 01:04 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration