LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-11-2003, 02:11 AM   #1
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
How to make Windows XP boot from lilo?


Well how do I make LILO have a selection that will boot to windows XP? I have LILO on the MBR so I don't have 2 bootable partitions. Windows is my bootable partition but I dont know how to make LILO boot right to windows. Any ideas? I've seen the stuff where I have to format and stuff (i don't mind formatting linux but I have configured windows to the point where I don't wanna have to format it and lose all the drivers and settings (lost a couple of the driver cds ;[ ).

TY for all help recieved

help!
 
Old 08-11-2003, 02:25 AM   #2
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
In your /etc/lilo.conf, add an entry like (as root):

other=/dev/hda5
label=Windows


replacing the "a" and "5" with the appropriate letter/numbers.

a = primary driver
b = slave

and the numbers are the partition number, if you dont know, run "cfdisk /dev/hda" as root to find out.


once you are done editng the file, run:

Code:
lilo
to confirm the changes.
 
Old 08-11-2003, 02:27 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
# End LILO global section
# DOS bootable partition config begins
other = /dev/hda1
label = NT
table = /dev/hda
# DOS bootable partition config ends

Don't forget to include the
prompt
timeout = your value here
default = your choice here
lines.

It works for Slack, Debian, and NT - I assume it would for Slack and XP.

-- Oops. Slow again, as always.
-- Oops again. I meant NT 5.0.

Last edited by slakmagik; 08-11-2003 at 02:30 AM.
 
Old 08-11-2003, 02:33 AM   #4
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
I doubt you can use LILO to boot Windows XP or Windows 2000. But GRUB can.
 
Old 08-11-2003, 03:02 AM   #5
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Original Poster
Rep: Reputation: 30
What is a good timeout and default value?

**edit**

I made it work really easy. I had seen these entries but I figured I'd ask here just to make sure since I can ask questions here.

other = hda1
label = WindowsXP

That booted right to windows. Thanks again guys!

Last edited by Nikon01; 08-11-2003 at 03:20 AM.
 
Old 08-11-2003, 03:27 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Good deal. LILO rules.
 
Old 08-11-2003, 09:41 AM   #7
littleking
Member
 
Registered: Jun 2003
Location: New Albany, OH
Posts: 190

Rep: Reputation: 30
Quote:
Originally posted by carboncopy
I doubt you can use LILO to boot Windows XP or Windows 2000. But GRUB can.

whatever...
 
Old 08-11-2003, 01:43 PM   #8
contrasutra
Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
Quote:
I doubt you can use LILO to boot Windows XP or Windows 2000. But GRUB can.
Nope, you can boot Windows with LILO.
 
Old 08-11-2003, 04:09 PM   #9
MeatAbstract
LQ Newbie
 
Registered: Jun 2003
Location: Sweden
Distribution: Debian
Posts: 13

Rep: Reputation: 0
loog in as root or type
su
then type "liloconfig" that will bring up and easy to use meny
how to config the lilo boot up.
 
Old 08-11-2003, 09:55 PM   #10
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Quote:
Originally posted by littleking
whatever...
Sorry, my mistake. It is my mis-experience and mis-conception which causes me to think that way. Anyway, it works for me now.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
For those of you who would like to make your own LILO boot screen Nikon01 Slackware 3 08-22-2004 10:21 AM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 10:55 PM
wanna make a LILO boot-CD akudewan Linux - General 3 05-29-2004 08:11 AM
Make a LILO Boot Disk? lectraplayer Linux - Newbie 4 03-26-2004 10:43 PM
How do I make LILO boot to Linux? qcoder Slackware 6 10-15-2003 09:15 AM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
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