LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-08-2004, 11:46 AM   #1
squirrels
LQ Newbie
 
Registered: Jun 2004
Location: Baltimore, MD USA
Distribution: Slackware 9.1 right now...
Posts: 15

Rep: Reputation: 0
If I install LILO to the MBR, can I use it to boot Windows XP?


I just got a copy of Slackware Linux. My PC right now has one hard drive with one partition containing Windows XP Home Edition. I'll probably get another drive for Linux since I'm new to Linux.

I want to set up a dual-boot configuration. What concerns me is that the Slackware documentation says that NT has trouble working if you install LILO to the Master Boot Record. I know that XP uses the NTFS by default, so I want to know if it has the same problems when LILO is written to the MBR. The manual documents how to edit lilo.conf to boot either Linux or Windows 95/98...can the same thing be done with XP?

I'd really rather not have to copy the Linux kernel to the Windows partition to use something like LOADLIN or the XP loader if possible, but I don't want to install LILO to the MBR and just render XP unbootable. If I can't install LILO to the MBR and use it to boot XP I'll probably just put it on a floppy instead. (cowardly, I know, but I'd rather play it safe since I've never actually touched Linux before)

Bottom line: If I install LILO to the MBR on the boot drive (where Windows XP is now), will I be able to boot XP using LILO?

Thanks
 
Old 06-08-2004, 12:55 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
I have successfully dual booted with Slack and WinXP (NTFS) by having LILO on the MBR. Just remember that when you are prompted to install LILO, do the expert option, not the simple option. The simple option only picks up Slackware - with the expert option, you can manually point LILO at WinXP.
 
Old 06-11-2004, 01:46 PM   #3
SolarBear
Member
 
Registered: Oct 2003
Location: Québec, Canada
Distribution: Gentoo 2005.0(desktop), Debian 3.0 r2 (server)
Posts: 105

Rep: Reputation: 15
Hi. I'm having pretty much the same problem as squirrels, except I chose to not install LILO during installation. Last time I did it, it completely messed my MBR and I had to use Windows' recovery console and fixmbr.

Now when I try to run LILO I get a "/etc/lilo.conf: No such file or directory" error. So I created an empty file for LILO to run, but I'm not exaclty sure of what to put in it. Or should I use GRUB ? Or Windows' bootloader ?

XP is alone on my /dev/hda. My Linux partition is on /dev/hdb1.
 
Old 06-11-2004, 02:18 PM   #4
squirrels
LQ Newbie
 
Registered: Jun 2004
Location: Baltimore, MD USA
Distribution: Slackware 9.1 right now...
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by SolarBear
Hi. I'm having pretty much the same problem as squirrels, except I chose to not install LILO during installation. Last time I did it, it completely messed my MBR and I had to use Windows' recovery console and fixmbr.

Now when I try to run LILO I get a "/etc/lilo.conf: No such file or directory" error. So I created an empty file for LILO to run, but I'm not exaclty sure of what to put in it. Or should I use GRUB ? Or Windows' bootloader ?

XP is alone on my /dev/hda. My Linux partition is on /dev/hdb1.
I DID get XP to dual-boot with Linux.

Sounds like you're trying to run /sbin/lilo without a lilo.conf file in your /etc directory. lilo.conf tells the LILO installer how to configure the boot loader. You can't just make it blank...it tells LILO where your kernels are, how to boot them, etc...

I just run liloconfig as root and it takes you through the process of creating lilo.conf (including how to add your DOS/Windows partition as an option at boot time) and allows you to save it to /etc...then once you get more familiar with it you can tweak it manually.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub and lilo on MBR with Windows xp blotch Linux - General 6 11-18-2005 09:57 PM
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 10:46 PM
dual boot with windows xp (two hd) and install Lilo (Suse 9.3) cangussu.br Suse/Novell 0 05-05-2005 11:35 AM
reinstall grub/lilo on MBR without cdrom boot lay_Z Linux - Newbie 5 03-12-2004 05:45 AM
Do not want lilo in my MBR, want to use System Commander to boot rdaves@earthlink.net Linux - General 4 09-21-2001 11:55 PM


All times are GMT -5. The time now is 06:01 AM.

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