Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-30-2006, 02:26 AM
|
#1
|
Member
Registered: Mar 2005
Location: Illinois, US
Posts: 38
Rep:
|
Installing LILO
I installed Slackware 10.2 and then installed Windows. Windows completely overwrote the MBR, so I don't get a lilo menu anymore - it just goes straight to Windows. How do I install lilo into the MBR again? I still have my Slackware 10.2 CD.
|
|
|
08-30-2006, 02:35 AM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
You'll need to boot your installation from the CD, first of all. When you boot from CD 1, just before the "boot:" prompt, it tells you how (I can't remember off the top of my head). After that, edit your lilo.conf (found in /etc) to add an entry for Windows, similar to the following:
other = /dev/hda1 # Obviously replace with the partition Windows resides on
label = Windows
You'll finally need to run "/sbin/lilo" (as root) to restore LILO to the MBR.
|
|
|
08-30-2006, 08:12 AM
|
#3
|
Member
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241
Rep:
|
Hello :-)
Quote:
Originally Posted by kosmonaft
I installed Slackware 10.2 and then installed Windows.
|
Well. the convention is to install window$ and then linux. if you boot with installation cd you must know in which partition you installed slackware (like windows in /dev/hda1 and slackware in /dev/hda2). you first mount the slackware installtion partition (mkdir /mnt/hda2 && mount /dev/hda2 /mnt/hda2) go into /etc/ and edit lilo.conf and run /sbin/lilo as per Nylex's instructions.
|
|
|
08-30-2006, 08:32 AM
|
#4
|
Member
Registered: May 2006
Posts: 93
Rep:
|
Correct me if I am wrong, but afaik you have to go to (with your example) to
/mnt/hda2/etc/lilo.conf & /mnt/hda2/sbin/lilo.
If not, I am a
|
|
|
08-30-2006, 08:54 AM
|
#5
|
Member
Registered: Nov 2003
Posts: 360
Rep:
|
Just insert your Slackware CD 1. Then at the "boot:" prompt type this "bare.i root=/dev/hda2 noinitrd ro" ( replace /dev/hda2 with the partition number slackware is installed to ) press enter, it will boot your local slackware system using the kernel from the install CD. Just login as root using the password specified when you installed slackware and type "liloconfig" and from there on I presume you know what to do to add both Linux and Windows ! Then reboot your computer, take out your CD and you should be prompted by the new lilo menu.
|
|
|
08-31-2006, 07:58 AM
|
#6
|
Member
Registered: Jul 2003
Location: dhaka
Distribution: Slackware 11 (fixed), MEPIS
Posts: 241
Rep:
|
hello :-)
Orangutanklaus, yes you are right!!
nykey, nice solution.
|
|
|
All times are GMT -5. The time now is 01:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|