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.
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.
This is my fiirst time configuring grub and I really hate it. I am at the grub configuration part of the Gentoo install and I am supposed to run grub, then type at the command prompt root (hd0,0) which designates my MBR of course. After doing that I receive no errors but the statement "Filesystem type unknown, partition type 0x7" After that I am supposed to type setup (hd0). Then I get "Error 17: Cannot mount selected partition" WTF? Is is because I'm dual booting and have XP on hd0 and Gentoo on hd1?
root (hd0,0) is supposed to tell grub where it can find its loader programs stage1 and stage2. In this case, the error message is telling you it's the wrong partition. The stage1 and stage2 programs are located in the /boot/grub folder. Which partition has the /boot/grub folder? Do you have a separate /boot partition? BTW, (hd0,0) means hda1.
The setup (hd0) tells where to install grub. In this case, it's being put in the mbr of /dev/hda.
I don't know if this will help but make sure you're running as root when you're installing GRUB. If you aren't, you'll get errors about not being able to write to devices, etc.
I have 2 hard disks. 1st one is WinXP and 2nd is reserved for Gentoo. Linux partitions are 1 partition is /boot, 2nd is swap, 3rd is /. I really am getting frustrated w/ Grub. I would think that I need to run Grub, then run the command setup (hd0,0) so I can install Grub on the MBR of hd0. I do so and get "Error 12: invalid device requested" This:grub-install --root-directory=/boot/grub /dev/hda did not work. All I need is to install a fscking bootloader and I'd be enjoying freedom from RPM hell.
Tried running root (hd0) Got "Filesystem type unknown, partition type 0x7" Then tried running "setup (hd0)" Got "Error 17: Cannot mount selected partition" Did I mention I hate Grub?
title=My example Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3
# Below needed only for people who dual-boot
title=Windows NT Workstation
root (hd0,5)
chainloader +1
I'm guessing I need to modify this to show where the location of the splahimage is which would be (hd1,0) right? My XP partition would be (hd0,1) right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.