FG
💻 Software

GRUB: how find partition number (hd0,x)?

Fresh7 days ago
Mar 15, 2026101274 views
Confidence Score0%
0%

Problem

i am playing with grub and i change the root using: how can i know what's x for ? the problem is that in Gparted view, the order is not like sda5, sda6, sda7, ... but the order is like: sda6 sda9 sda10 sda7 sda8 so what's x for ?

Error Output

root (hda,x)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: GRUB: how find partition number (hd0,x)?

Low Risk

First off, you need to realize that in grub, it does not use normal linux hard drive identifiers. Instead, the letters correlate to numbers, starting with zero (i.e. hda = hd0, hdb = hd1, etc). Secondly, in grub-legacy, the partition number starts a…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment