Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
okay, heres the issue. i have 2 diffent hd's. one has windows xp home, which i am really good at using, and do all kinds of shit with. and the other is running mandrake 9.2, which i am learning at a farely fast paced rate. now, heres the first issue, i cant get lilo to show windows for the boot selections. i put the windows on master and the linux on slave and it will automatically boot windows. if i change the bios to the slave boots first it will go to lilo and linux. but it wont show the windows. how do i get it so i can simply choose without having to go into the bios and change it? heres the specs:
a epia-m board
80 gig seagate baracuda windows
20 gig seagate baracuda linux
256 ram
cd drive, blah blah blah
the windows is xp, the linux is mandrake 9.2.
i am truithfully liking it but dont like the console and am gonna change it to boot normally to text mode so i can learn. maybe work with x windows. okay, any help would be nice. i am still a major newb with linux but am already loving it.
Get yourself a copy of BootMagic. Works great!! That is what I have used for many years. The only real problem in using Bootmagic with WinXP is that Bootmagic cannot be installed on a NTFS partition. What I did is create a 100meg FAT partition using Partition Magic and installed it onto that.
Try this in Linux:
dd if=/dev/hdb of=/dev/hda bs=512 count=1
It'll copy lilo to the first disk's mbr (assuming the 2nd is Primary Slave). If it doesn't work, you can fix it with 'fixmbr' from XP cd or 'fdisk /mbr' from Win9x bootdisk.
Try this in Linux:
dd if=/dev/hdb of=/dev/hda bs=512 count=1
It'll copy lilo to the first disk's mbr (assuming the 2nd is Primary Slave). If it doesn't work, you can fix it with 'fixmbr' from XP cd or 'fdisk /mbr' from Win9x bootdisk.
Trust me, you don't want to do this...it'll wipe out the partition table on hda, if you need to do it this way use bs=446 instead.
As fancyripper suggested, you simply have to edit /etc/lilo.conf, change boot=/dev/hdb(or wherever your second drive is) to /dev/hda then run the lilo command, and it'll install itself to the MBR of hda, gracefully.
also, if you want to use a more user-friendly approach to adding windows xp, go into a terminal, type su (then root password) and do liloconf and follow the instructions (you want to start a new lilo.conf file)
if you want to edit /etc/lilo.conf manually, first tell us the result of su, then fdisk -l /dev/hda
edit: oh, and do backup your old lilo.conf file; go into terminal, do su, then cp /etc/lilo.conf /home/yourusername
Last edited by TheOneAndOnlySM; 12-10-2003 at 08:10 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.