rtn on Nostr: So GRUB has a different way of referencing drives and partitions. It uses a tuple ...
So GRUB has a different way of referencing drives and partitions. It uses a tuple like (hd0,1) instead of /dev/sda1 etc.
This makes it a bit difficult if you try to boot an external disk since the order might be different. But usually the main drive is hd0.
What you can do instead is to reference the partition using a UUID in the grub config:
search --no-floppy --fs-uuid --set=root <UUID>
1/
#grub
Published at
2025-05-27 06:25:33 UTCEvent JSON
{
"id": "3c96b06946a81721fc24df0898b3d7c65b217d9f1c96ef0649231f6cbc2284ca",
"pubkey": "a5db0b1ab98685036c857af58e812d73c5daefba29bcc1e68572e9855c1fb42f",
"created_at": 1748327133,
"kind": 1,
"tags": [
[
"t",
"grub"
],
[
"proxy",
"https://chaos.social/users/rtn/statuses/114578367034767296",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content": "So GRUB has a different way of referencing drives and partitions. It uses a tuple like (hd0,1) instead of /dev/sda1 etc.\n\nThis makes it a bit difficult if you try to boot an external disk since the order might be different. But usually the main drive is hd0.\n\nWhat you can do instead is to reference the partition using a UUID in the grub config:\n\nsearch --no-floppy --fs-uuid --set=root \u003cUUID\u003e\n\n1/\n\n#grub",
"sig": "b5470f758fb4b5bfcecd6879443df96d4c50162659e5b1ac93aa410ebe5fc586e5186a37a2913ac54d03eb3e5c5050ef33739d2a726e78ea37ccc6720558bf5c"
}