Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Hi, I've got the following problem with GRUB. I install the operating system fine, then, when I come to install GRUB from the GRUB prompt, I try:
root(hd0, 0) - the installation is on the first partition of the first disk.
I get error 11 - unrecognised device string. The Grub manual suggests this is either a syntax error, or that the partition is not recognised by grub. However, I've tried this with FAT and ext2 file systems, both with the same effect.
However, when I do:
find /boot/grub/stage1, it correctly reports it as (hd0, 0)
Also, when I do:
geometry (hd0), it correctly detects the partition and partition types ?
Does anyone have any idea whats going on ??? I'd really appreciate any help, because I've been stuck for several days now,
Like the other commands you tried, it's a command with paramaters, not a function call i.e. it needs the blank after the command name. Grub can be a bit narky about parameter separation too - not an issue here, but keep it in mind for later.
Thanks for your responses. I hesitate to mention this, but it's not actually a Linux distro - but I couldn't find any other really active forums with Grub content. It started out with an operating system called Syllable, which has a special version of Grub that supports its AFS file system.
At first, I thought it was a problem with Syllable, so I switched to a 'stand-alone' copy of Grub, and tried to install it on the boot sector of an AFS / FAT / EXT2 drive. No luck in each case, although I can just about install it on the MBR.
I was using the space between 'root' and '(hd0, 0)' - it's just my lazy typing on this forum
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.