LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-30-2003, 04:00 AM   #1
Kdiver58
Member
 
Registered: Jan 2003
Location: Alpharetta
Distribution: Red hat 7.2,9.0 Mandrake 9.1
Posts: 52

Rep: Reputation: 15
Wink 2 hard drives dual boot almost there


I'm back but I think I have a quick problem to fix. I 2 hard drives one with NT 4.0 and one with linux RH 7.2 both by themselves boot and work just fine . I have now put the RH 7.2 drive as the primary master on IDE 1 , CDROM as primary slave and the NT 4.0 drive as the Secondary Master . In KDE pull up lilo and click on probe and it see's the NT drive as NT . What do I click on next ?
Thanks K
 
Old 01-30-2003, 01:49 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
You need to install LILO in the MBR of the first disk (Linux one) and change entries in /etc/fstab (if Linux is primary slave and will be primary master change all hdb? to hda?).
 
Old 01-30-2003, 02:22 PM   #3
Kdiver58
Member
 
Registered: Jan 2003
Location: Alpharetta
Distribution: Red hat 7.2,9.0 Mandrake 9.1
Posts: 52

Original Poster
Rep: Reputation: 15
Lightbulb Lilo is installed on the Linux

I have Lilo installed on the primary master disk which is the linix RH 7.2 hard drive on IDE-1 of the motherboard . The second hard drive which has NT 4.0 on it is the secondary master and is on IDE 2 on the mother board . My Linux boots just fine I'm trying to dual boot off of the second hard drive . I have my lilo expert file saved in kword format and can post it if it helps .. Thanks K
 
Old 01-30-2003, 03:24 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Please post it.
 
Old 01-30-2003, 05:20 PM   #5
Kdiver58
Member
 
Registered: Jan 2003
Location: Alpharetta
Distribution: Red hat 7.2,9.0 Mandrake 9.1
Posts: 52

Original Poster
Rep: Reputation: 15
Lightbulb here it is ..

boot="/dev/hda"
prompt
timeout="50"
message=/boot/message
root=/dev/hda2

image="/boot/vmlinuz-2.4.7-10"
label="2.4.7-10"
root="/dev/hda2"
read-only
initrd="/boot/initrd-2.4.7-10.img"

image=/usr/src/linux/arch/i386/boot/bzImage
label="Linux_Compiled"
root=/dev/hda2
read-only
optional

other=/dev/hdc1
label="NT"

image="/dev/hdc1"
root="/dev/hda2"
initrd="/boot/initrd-2.4.7-10.img"


 
Old 01-31-2003, 09:02 AM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
You may need to modify the NT part this way:
other=/dev/hdc1
table=/dev/hdc
label=NT
Then run 'lilo' to write it and reboot to test.
 
Old 01-31-2003, 09:08 AM   #7
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
When I set mine up I had Linux as a slave drive, and Windows as the master drive. I also make sure to make the Linux root partition primary with disk druid. Than I let GRUB install on the Master Boot Record. That was it, it worked.
 
Old 01-31-2003, 05:00 PM   #8
Kdiver58
Member
 
Registered: Jan 2003
Location: Alpharetta
Distribution: Red hat 7.2,9.0 Mandrake 9.1
Posts: 52

Original Poster
Rep: Reputation: 15
Thumbs down Well that helped a little

Now I get an message when I try and boot NT

Error 0x01

hmmmmm
 
Old 01-31-2003, 05:19 PM   #9
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
What did you do to get this result?
 
Old 02-01-2003, 04:01 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,537

Rep: Reputation: 149Reputation: 149
Re: Well that helped a little

Quote:
Originally posted by Kdiver58
Now I get an message when I try and boot NT

Error 0x01

hmmmmm
Hmmm....The problem is now where NT wold like to boot from. Does it boot when you choose to boot from secondary master from BIOS (or change the cables, or move the Linux disk away)?
 
Old 02-03-2003, 12:44 PM   #11
Kdiver58
Member
 
Registered: Jan 2003
Location: Alpharetta
Distribution: Red hat 7.2,9.0 Mandrake 9.1
Posts: 52

Original Poster
Rep: Reputation: 15
Yes it boots fine if I move the Linux disk away or choose to
boot from the seconday master using the bios .
 
Old 02-03-2003, 01:45 PM   #12
Ivo.Loncar
LQ Newbie
 
Registered: Feb 2003
Location: Serbia
Posts: 7

Rep: Reputation: 0
If you want to boot linux from primary master and windows from sevcondary, put those lines in NT part:

map (hd0) (hd1)
map (hd1) (hd0)

then it goes something like this:
rootnoverify(hd1,0) -or it was (hd0,1)

chainloader +1


it works for me (RedHat8.0)

good luck
 
Old 02-03-2003, 01:49 PM   #13
Ivo.Loncar
LQ Newbie
 
Registered: Feb 2003
Location: Serbia
Posts: 7

Rep: Reputation: 0
grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux 8.0 (Psyche - 2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1



if you find something useful, then i've done my good job for today
 
  


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 - 2 hard drives cadkins Linux - Newbie 2 08-02-2005 02:31 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
Two hard drives for dual boot? globalgreg Linux - Newbie 3 03-02-2005 12:22 AM
Dual Boot two hard-drives orozcom1 Linux - Hardware 2 08-13-2004 09:17 AM
Dual boot on pc with 2 hard drives script Linux - Newbie 4 03-03-2004 09:02 AM


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