Welcome to the Linux Foundation Forum!

3.4 GRUB Device Nomenclature

In both GRUB versions, the first hard drive is denoted as hd0, the second as hd1, etc. However, in version 1, partitions start counting from 0 and in version 2 from 1:

sda1 is (hd0,1) in GRUB 2 but (hd0,0) in GRUB 1.

sdc4 is (hd3,4) in GRUB 2 but (hd3,3) in GRUB 1.

Wouldn't sdc by hd2?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 916
    You are absolutely correct, thanks for finding the error and we will fix in the master files!

    Jerry Cooperstein
    Training Program Director, Linux Foundation
  • Posts: 25
    It's ironic that the line following the example says "There is no need to emphasize that getting confused about this can be rather destructive" :-).

    Thanks,

    Adam
  • Posts: 25
    In the example, /boot is said to be on its own partition (/dev/sda1) but the first example stanza shows root=/dev/sda2. Should it be root=/dev/sda1?

    Thanks,

    Adam

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training