LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2005, 06:55 PM   #1
Norab
LQ Newbie
 
Registered: Aug 2005
Location: USA
Posts: 28

Rep: Reputation: 15
Problem with dual boot/dual drive setup


I'm having trouble figuring out how to accurately use GRUB or Lilo. I have a 200GB IDE hardrive with Suse installed. The other hardrive is a 300GB SATA with Windows XP installed. Each OS operates perfectly, but I can't get the "choose which OS" to come up on boot. Any suggestions? thanks in advance,
cfbaron@gmail.com
 
Old 08-18-2005, 07:50 PM   #2
joelkeeble
Member
 
Registered: Mar 2005
Posts: 50

Rep: Reputation: 15
easiest way it to edit the /boot/grub.conf file, its pretty self explanatory.

if you can get to the grub command prompt you can manually boot a drive, however this gets a bit tedious if you have to do it every time. somthing like


rootnoverify (hd0,0) (for selecting the first drive first partition)

makeactive (hummm??? make the drive & partition active, maybe)

chainloader +1 (to set the block for grub to boot from, it is usally +1 as this is the standard position for
the mbr)

boot (no prises for guessing)

there are lots of tutorials on the internet you may need to specify the kernal file (/boot/vmlinuz) etc.
 
Old 08-19-2005, 10:35 AM   #3
Norab
LQ Newbie
 
Registered: Aug 2005
Location: USA
Posts: 28

Original Poster
Rep: Reputation: 15
I got GRUb up, and working. At bootup, I get a "select which OS" screen with Suse, Windows, Floppy, and Suse (secure). The problem is that when I go into Windows I get a black screen with white letters that says:

root (hd1,0)
filesystem type unknown, partition type 0x7
CHAINLOADER +1

thanks again,
cfbaron@gmail.com

Last edited by Norab; 08-19-2005 at 12:03 PM.
 
Old 08-19-2005, 07:06 PM   #4
joelkeeble
Member
 
Registered: Mar 2005
Posts: 50

Rep: Reputation: 15
is your windows disk the slave drive and does the windows system sit on the first partition?
 
Old 08-20-2005, 06:30 PM   #5
Norab
LQ Newbie
 
Registered: Aug 2005
Location: USA
Posts: 28

Original Poster
Rep: Reputation: 15
it's a slave,
i got things all workede out. thanks.
 
Old 08-23-2005, 08:27 PM   #6
Enchanter
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by Norab
it's a slave,
i got things all workede out. thanks.
Can you post what you did to get things working? I had dual-booting (RH 9/Windows Xp) working for years, but I broke booting
into Xp when I reinstalled my master IDE with RHEL 4 last weekend. Now I get the problem you described.

My Xp install is on the slave (hdb), and it is partition 1, the sole partition.

Any tips would be appreciated

Tim
 
Old 08-23-2005, 08:34 PM   #7
Enchanter
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by Enchanter
[B]Now I get the problem you described.
Well, not quite. I don't get the "filesystem type unknown, partition type 0x7"
message. I do get the other grub output you show, and then a hang.

I followed the Red Hat installer's advice and did NOT allow grub to
install into the MBR. Instead, it went into the first sector of the first
partition (/boot) on hda.

Tim
 
Old 08-24-2005, 01:12 PM   #8
joelkeeble
Member
 
Registered: Mar 2005
Posts: 50

Rep: Reputation: 15
do you get the grup prompt?
 
Old 08-24-2005, 08:39 PM   #9
Enchanter
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
No, I don't. I just get

Booting 'Windows Xp Professional'

rootnoverify (hd1,0)
chainloader +1


and then a hang.
 
Old 08-24-2005, 08:57 PM   #10
Enchanter
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
I figured it out, using the info in the PDF here:

http://www.ibiblio.org/pub/Linux/doc...Grub-HOWTO.pdf

The problem was that under my old installation, even though Windows (and Linux) weren't
on drive 0 they could both boot successfully off that drive. I'm not sure I understand *why*
they could both boot successfully, but I'm not going to worry about it.

Under my new installation, grub loads off hd0, but Windows is on hd1 and it's not happy if
it's not on the first partition of the first drive. Using the grub "map" commands, I was able to
remap partitions before doing the "rootnoverify", and now Windows Xp boots just fine.

For reference, my working grub.conf is:

default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Red Hat Enterprise Linux WS (2.6.9-11.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-11.EL ro root=/dev/vg00/root rhgb
initrd /initrd-2.6.9-11.EL.img
title Windows XP Professional
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)
rootnoverify (hd1,0)
chainloader +1
 
Old 08-29-2005, 03:13 PM   #11
tempelguardian
LQ Newbie
 
Registered: Aug 2005
Distribution: Debian GNU/LINUX
Posts: 3

Rep: Reputation: 0
I've got a similar problem - my GRUB is screwed somehow. I formatted my linux drive; and re-installed Debian etc. However, after the setup; I can't neither boot to win, nor to debian.

Whenever I try to boot to win, I just get to the commandline. However, with the debian, I get "Error 22: Partition not found".

Technically:

I have 7 partitions on my 250 gb hdd; where partition 7 is my linux drive. Secondly, grub wants to load from (hd1,6) (yeah I have one hd0 there too...).

So to sum it up: i can't neither boot win nor debian, and it worked before. Any sugestions etc?
 
  


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: Shared Drive Access Problem TotalNoob Linux - General 3 01-18-2007 01:11 PM
Best method for dual boot with dual hard drive? aidano Linux - Software 2 11-16-2006 12:04 PM
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
dual boot problem: winxp and rh9 both one one hard drive dinow Red Hat 6 07-26-2005 06:00 AM
Dual Drive Dual Boot from floppy lokizen Debian 38 06-12-2005 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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