[SOLVED] grub hd0,0 hd0,1 clarification for using single /boot partition
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.
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.
Distribution: Mageia 3, Debian Wheezy, Maemo, Linux Mint 14.
grub hd0,0 hd0,1 clarification for using single /boot partition
I don't know the answer and I cannot find it written in stone anywhere, so I thought I would ask.
what does the hd number tags in GRUB refer to? does it refer to the /boot or the partition that should be booted? I have always assumed it refers to where the kernel and initrd is. so when using a single boot partition which is /dev/sda1 it should always be set to hd0,0. is this true?
the question arose again since I am using a single boot for multiple distributions and have a kernel panic with a newly compiled 3.1.6 with noinitrd and a tight minimu selection kernel config.
can someone explain ad write in stone how hd0,0 tags in grub works for single /boot partition and also multi /boot on several partitions and perhaps compare what it looks like?
I presume you are referring to the original grub. If so, yes /dev/sda1 is (hd0,0) - described in the doco.
Single system or multi-boot makes no difference if using the same partition for /boot for all.
If you are getting a kernel panic, you probably shouldn't be blaming the boot-loader - if the kernel has started, grub has done its job.