LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   configuring lilo with winxp dual boot (https://www.linuxquestions.org/questions/slackware-14/configuring-lilo-with-winxp-dual-boot-240587/)

gotmonkey 10-09-2004 10:55 AM

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

egag 10-09-2004 11:21 AM

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

gotmonkey 10-09-2004 11:31 AM

I am ok with that. How do I install lilo onto the xp disc?

egag 10-09-2004 11:43 AM

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

bathory 10-09-2004 11:44 AM

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

gotmonkey 10-09-2004 10:13 PM

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.

egag 10-10-2004 06:46 AM

hi,

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

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

egag


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