LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2003, 09:03 PM   #1
DaveS
LQ Newbie
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 6

Rep: Reputation: 0
Problems with dual booting RedHat 8.0 and WinXP (both off separate hard disks)


Okay I've written the following post before.....but I think writing this new post should simplify my problem.....

http://www.linuxquestions.org/questi...threadid=48825

I have two hard disks on the same IDE Channel
1) 40Gb Hard disk, 2 partitions: both Fat32, running WinXP solely (master drive)

2) 15Gb Hard disk dedicated to linux (slave drive)
Patitions for this drive are as follows:

Partition [/dev/hdb1], [/dev/hdb2], [/dev/hdb3]
Location [/boot], [/],
Type [ext3], [ext3], [swap]
Space (MB) [102], [13712], [510]
start [1], [14], [1762]
end [13], [1761], [1826]

Problems encountered during different types of setups:

1) Installing Lilo/GRUB to MBR (/dev/hda) - stalls machine when i boot up either giving me on the screen "LI_" or "GRUB_" To get rid of this i reboot my machine with my windows boot disk and type "fdisk /mbr". When I reboot....XP loads fine....the only way I can boot in to linux is through linux boot disk - very slow

2) Installing Lilo/GRUB to 1st sector partition (/dev/hdb1) - I think, but could be hdb2? You tell me....I'm a total newbie to this linux thing....but i think hdb2 is where linux is actually installed so I believe it is hdb1......
Okay...so when i nstall to the 1st sector partition....xp loads fine from cold boot......again the only way i can boot in to linux is through the linux boot disk.....


can anybody please run me through step by step to what i need to do through setup to actually getting my system to dual boot.....for example...should i install the boot loader to mbr or 1st sector partition of my second hard disk.....

thanks in advance....
 
Old 03-10-2003, 03:11 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You will have a file called /etc/lilo.conf in your Linux box.
eg.
root@peter ~# cat /etc/lilo.conf
boot="/dev/hda"
map=/boot/map
install=/boot/boot.b
prompt
timeout="50"
message=/boot/message
lba32
default=Win98

image="/boot/vmlinuz-2.4.18-24.8.0"
label="2.4.18-24"
read-only
root="/dev/hdb4"
append="hdc=ide-scsi"

other=/dev/hda1
optional
label="Win98"

This places the lilo mbr on the first hard drive's 1st track, where the bios is looking for boot info.
I get 2 options at boot time for about 5 secs before the default kicks in.
(My default is Win98 coz I'm testing VMware atm.)
Type 'lilo' to write the info.
 
Old 03-10-2003, 04:55 AM   #3
DaveS
LQ Newbie
 
Registered: Mar 2003
Distribution: Red Hat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
okay i understand that...it's all logical....

but....when i do a fresh install of linux on my 2nd hard disk and set it to install to my mbr of the first hard disk...my system just stops after saying "LI"...after then to which i would have to reboot with my DOS boot disk and type "fdisk /mbr" to reset it all so that i can use windows again...and then the process of installing and reinstalling never ends because it just says "LI" and stops

So what I'm thinking is that there must be a problem of the 2nd hdd being too "far" from mthe MBR that is located at the beginning of the 1st hard disk.....any fixes on that?

has anyone succesfully installed windows (preferably XP) on the first hard disk and linux on the 2nd and has got them to work together without the "LI"
 
Old 03-10-2003, 06:43 AM   #4
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
From a Google search...
GRUB http://www.geocities.com/epark/linux...w2k-HOWTO.html
LILO http://jaeger.morpheus.net/linux/ntldr.php

I can see your problem now... Must use the Win NTLDR...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP and Fedora Core 2 in same computer/different hard disks.. PROBLEMS!! 1957hemi Linux - Software 9 11-04-2004 11:56 AM
Dual Booting, 2 separate hard drives Jotun Linux - Newbie 6 04-30-2004 12:18 PM
GRUB, MBR, red hat 9 winxp in dual hard disks samik Linux - Newbie 2 10-15-2003 02:29 PM
Dual booting with WinXP and Linux (OS's on separate HDDs) DaveS Linux - General 11 03-09-2003 08:14 PM
Dual-booting with two separate hard drives leeman_s Linux - General 3 01-22-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration