LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 12-10-2003, 12:24 PM   #1
ferretmanus
Member
 
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
dual boot issues


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.
 
Old 12-10-2003, 01:00 PM   #2
rlkiddjr
Member
 
Registered: Feb 2002
Distribution: FreeBSD 4.9
Posts: 69

Rep: Reputation: 15
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.

Anyway that is one option.
 
Old 12-10-2003, 01:02 PM   #3
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Apparently, you didn't install Mandrake with the Windows drive hooked up, or you wouldn't have this trouble.

You will need to install lilo to the mbr of the master drive. Make sure you have a stanza in your lilo.conf that shows your Windows OS.

LILO fails: Error messages and their interpretation
LILO mini HOWTO
Multiboot with LILO HOWTO
LILO, Linux Crash Rescue HOW-TO
Installing a bootloader
 
Old 12-10-2003, 01:41 PM   #4
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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.
 
Old 12-10-2003, 08:01 PM   #5
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
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.
 
Old 12-10-2003, 08:09 PM   #6
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
agreed with the above post-er

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.
 
  


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 Issues megadeth Slackware 9 04-04-2005 05:53 PM
Dual Boot XP and RH9 issues Aken Red Hat 5 01-13-2005 08:34 PM
Mandrake dual boot XP issues asi0917 Linux - Networking 5 09-01-2004 04:22 PM
Dual boot issues xp and RH9... help crackheadjunky Linux - Newbie 6 08-22-2003 07:16 PM
RH7.2 dual boot issues GATTACA Linux - General 6 03-03-2002 04:41 AM


All times are GMT -5. The time now is 09:23 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