Skip to main content

Timeline for Meaning of root in GRUB config file

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Jun 11, 2020 at 12:04 history edited CommunityBot
Commonmark migration
Jan 16, 2016 at 5:21 comment added Siddharth sharma @Kenny root(hd0,0) tells the grub where it's configuration files are located. In this case, they can be found under (hd0,0)/boot/grub. And, kernel /vmlinuz-i686-up-4GB root=/dev/hda9 specifies the actual kernel image location from where it can be read, which is inside the /boot folder. There can be many kernel images. root=/dev/hda9 specifies the location of your root ( "/") partition of the OS.
Jan 15, 2016 at 14:04 comment added Kenny Can you elaborate ? You mentioned the root partion as (hd0,0) and later said the root partition /dev/hda9. The root partition for GRUB, from my understanding, is where the GRUb config files stays. But it has nothing to do with where the OS is. For example here, GRUB config is read from (hd0,0), the OS is in /vmlinuz which will be mounted at /dev/hda9
Jan 15, 2016 at 12:16 comment added Siddharth sharma Basically root= tells the partition containing /sbin/init, which of course turns out to be the root partition in the booted system.
Jan 15, 2016 at 12:10 comment added Chris Down The kernel image isn't "mounted on [the] root file system", the root file system is (by the kernel). :-)
Jan 15, 2016 at 11:34 history answered Siddharth sharma CC BY-SA 3.0