Linux - NewbieThis 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
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.
I know this has been discussed before, but I cannot seem to decipher what it is all about. Here is my configuration need, and how far I have gotten, plain and simple:
The machine is a Dell C840 with a 60GB primary drive and a 40GB modular (secondary) drive. My intent was Red Hat WS on the secondary drive, but without GRUB in the MBR, as I wanted to be able to remove the secondary drive when needed, and still be able to boot Windows XP.
So, I run through a standard install of the retail RH9, on the secondary drive. I do an advanced bootloader config, and install GRUB on the secondary drive in the boot partition. According to my reading, this was the way to go. Using this route, I got no hardware boot incompatibility warning, so I assumed that GRUB would load from here using the BIOS drive boot select utility.
I was wrong. When selecting the secondary drive for boot, from BIOS, I get a "GRUB" in the top left corner, and a spinning drive (which obviously can't find the boot sector).
Then I read in this and other forums that the Windows bootloader is actually loading instead of GRUB, and I need to link the XP bootloader to GRUB, then it will run. I have seen some examples for LILO, but I am not afraid to say it all sounds like Latin to this newbie.
I was never warned during the RH9 install to create a boot disk, or anything else. Now I have RH9 installed, and can't get it up, let alone figure out how to get this or that file onto the root of my WinXP drive, and/or mod the boot.ini file (which I do know how to do, if someone would just tell me what to type in there).
this will either boot you to your completed installation, a good thing(TM)
or else give you an error like "invalid image [tab for a list]"
if it does error, look at the list and insert an image name:
Code:
mount imagename root=/dev/hdc1 ro
if that works, you should be able to set up grub properly
I tried going in there. It asked me if I wanted to mount, which I said yes to. Then I got a prompt I have not seen before....something like SB#-.05:, so I shut it down again.
basically, you need it edit /etc/grub.conf to boot your linux drive, and then install to the MBR of that drive. Then when you switch boot devices in BIOS, it should work.
The Red Hat install would not give me the option to install the GRUB into the MBR of the secondary drive. It gave me option of MBR of other drive, or boot partition of secondary drive.
Does one have to create an mbr during install? I was under the impression that /boot was the proper sector.
Depending on the partition scheme of RH, /boot is either just a directory, or at most a seperate partition.. The actual bootloader, grub, is installed to the MBR.
The file that tells grub how to act is /etc/grub.conf
You should be able to start anaconda from the sh: prompt, that's the setup program and at least make a boot floppy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.