Linux - HardwareThis 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.
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.
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
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.
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
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.
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.
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.