[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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.