SlackwareThis 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.
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.
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
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...?
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 )
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.