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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-18-2005, 06:55 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: USA
Posts: 28
Rep:
|
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
|
|
|
08-18-2005, 07:50 PM
|
#2
|
Member
Registered: Mar 2005
Posts: 50
Rep:
|
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.
|
|
|
08-19-2005, 10:35 AM
|
#3
|
LQ Newbie
Registered: Aug 2005
Location: USA
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
08-19-2005, 07:06 PM
|
#4
|
Member
Registered: Mar 2005
Posts: 50
Rep:
|
is your windows disk the slave drive and does the windows system sit on the first partition?
|
|
|
08-20-2005, 06:30 PM
|
#5
|
LQ Newbie
Registered: Aug 2005
Location: USA
Posts: 28
Original Poster
Rep:
|
it's a slave,
i got things all workede out. thanks.
|
|
|
08-23-2005, 08:27 PM
|
#6
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Rep:
|
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
|
|
|
08-23-2005, 08:34 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Rep:
|
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
|
|
|
08-24-2005, 01:12 PM
|
#8
|
Member
Registered: Mar 2005
Posts: 50
Rep:
|
do you get the grup prompt?
|
|
|
08-24-2005, 08:39 PM
|
#9
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Rep:
|
No, I don't. I just get
Booting 'Windows Xp Professional'
rootnoverify (hd1,0)
chainloader +1
and then a hang.
|
|
|
08-24-2005, 08:57 PM
|
#10
|
LQ Newbie
Registered: Aug 2005
Posts: 4
Rep:
|
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
|
|
|
08-29-2005, 03:13 PM
|
#11
|
LQ Newbie
Registered: Aug 2005
Distribution: Debian GNU/LINUX
Posts: 3
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 09:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|