LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-09-2004, 10:55 AM   #1
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Rep: Reputation: 15
configuring lilo with winxp dual boot


Could anyone help me with a lilo boot config.

Here is the situation. I pulled my winxp w/fedora hard drive out my system to play with slackware 10 on another hard drive. Now I have a slackware install on my primary hda. I want to add my winxp drive back into the box (I have removed fedora & did the FIXMBR on my windows drive). So, what I want is this. Slackware on my primary and Winxp on my slave. How can config my lilo boot loader to do this? or would it be easier just to swap my drives around and re-install slack?

My current lilo.conf reads as such:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
append = "hdc=ide-scsi"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791

# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Linux
read-only

other=/dev/hdb1
label=WinXP
table=/dev/hdb

# Linux bootable partition config ends
_________________
Got monkey
Slackware 10 Kernel 2.4.26
Shuttle SN45G / AMD XP3200+
2x512 Mushkin Level 1 PC3500
Sapphire ATI 9700pro
Samsung SP1614N & Sony CRX320 DVD
 
Old 10-09-2004, 11:21 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi there

i read somewhere that xp is not happy running on a slave-drive. i would
exchange master/slave, and if you edit the lilo.conf ( exch. hda- and hdb- )
and install it in the mbr of the xp-disc ( then hda ) it should work.
i don't think you need to reinstall...?

egag
 
Old 10-09-2004, 11:31 AM   #3
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Original Poster
Rep: Reputation: 15
I am ok with that. How do I install lilo onto the xp disc?
 
Old 10-09-2004, 11:43 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
just boot Slack from an install-cd and follow the on-screen instructions to get into your Slack-system, then edit your /etc/lilo.conf, save it and run "lilo".
( well, don't change the " boot = /dev/hda " in the global sect. )
then reboot and you should get a choice ( xp or Linux )

egag
 
Old 10-09-2004, 11:44 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,910

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
You can keep your current configuration (Slack on master and windoze on slave), using the "map-drive" option in lilo.conf. This way lilo fools windoze that it's runnig from the master disk.
man lilo for more details about map-drive, or google for it.
Or you can swap drives and use the windoze bootloader to boot linux following this

Last edited by bathory; 10-09-2004 at 11:47 AM.
 
Old 10-09-2004, 10:13 PM   #6
gotmonkey
Member
 
Registered: Apr 2004
Location: Dearborn, Mi
Distribution: Slackware 10 & Xandros 3
Posts: 62

Original Poster
Rep: Reputation: 15
With some help from Rax's post & results, this is what I did.

http://www.linuxquestions.org/questi...26#post1193426


Quote:
I booted using my Slackware install cd.
I used the kernel bare.i and pointed it to my linux drive.
I then mounted the linux drive with:
mount /dev/hdb1 /mnt
That worked so I edited lilo.conf change the windows partition to /dev/hda1 and the linux partition to /dev/hdb1
I then ran lilo -C /mnt/etc/lilo.conf
Then I ran lilo -M /dev/hda
because I still booted right up into windows.

I also made the same changes to the /dev locations in fstab.
Once I did that , I set my bios to boot from my linux disk (hd1) to get into lilo. From there, I can choose Linux or Windows. Both boot just fine.

Thanks for the help. Linux forums are the best forums. Extremely newbie friendly. Without forums like this one, lin-noobs like myself would be screwed or stuck with Darth Gates.

Next order of business. Get my linux box on the homenetwork.
 
Old 10-10-2004, 06:46 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi,

nice it works.
for the network, first try the "netconfig " -tool.

( i think " Darth Gates " is very funny .... )

egag
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Dual boot winxp/vector w/ lilo lostdata Linux - Newbie 2 08-04-2005 04:36 AM
configuring grub-dual boot debian winXP different HD's tshontikidis Linux - Newbie 1 07-14-2005 04:46 AM
Dual Booting WinXP/MDK with Lilo and Grub StealthSpectar Mandriva 5 11-09-2004 01:02 PM
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 12:26 AM


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

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