Originally Posted by
oldfred
If you look at this the standard grub-install has the many option parameters.
man grub-install
info grub-install.
I have in my notes many versions of grub-install with different parameters, but most are example of just installing grub to a flash drive, so I can just boot ISO, creating my own grub.cfg to loopmount the ISOs.
Thanks! I'll have to look at that.
I tried:
Code:
menuentry "Ubuntu 16.04 Xenial (on /dev/sdc7)" {
set root=(hd2,gpt7)
linux /vmlinuz root=/dev/sdc7 ro quiet splash
initrd /initrd.img
}
And
Code:
menuentry "Ubuntu 18.04 Bionic (on /dev/sdc8)" {
set root=(hd2,gpt8)
linux /vmlinuz root=/dev/sdc8 ro quiet splash
initrd /initrd.img
}
Code:
cavsfan@cavsfan-Xenial-Xerus:~$ sudo blkid | grep sdc
[sudo] password for cavsfan:
/dev/sdc1: UUID="688D-126B" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="3c1b6d6f-8a24-43da-b595-8c304ceee48d"
/dev/sdc3: UUID="C4968A52968A44C0" TYPE="ntfs" PARTLABEL="Windows_10" PARTUUID="345c85f4-bce7-4bc7-bbe0-db03eb319cad"
/dev/sdc4: UUID="701AE4631AE427B4" TYPE="ntfs" PARTUUID="1e337754-b45d-45a5-a971-b8cdcae8a002"
/dev/sdc5: UUID="ad60d57b-f7b9-4a83-8ce0-74382d2e3281" TYPE="swap" PARTLABEL="Basic data partition" PARTUUID="3a259867-656d-41ed-9931-cf15a3bd0148"
/dev/sdc6: LABEL="ArchLinux" UUID="bbca28b2-503e-4dc8-9850-c54bd0492da8" TYPE="ext4" PARTLABEL="Arch_Linux" PARTUUID="5312b771-0835-4957-80a6-9a8a7107f24a"
/dev/sdc7: LABEL="Xenial" UUID="4c61d35a-0e87-463e-b98b-f196bb4b8082" TYPE="ext4" PARTLABEL="Xenial_Xerus" PARTUUID="57075798-adb7-4590-ae23-6a75d976c3c1"
/dev/sdc8: LABEL="Bionic" UUID="21cf477b-a314-4691-85f6-256e6209d5d9" TYPE="ext4" PARTLABEL="Bionic_Beaver" PARTUUID="c4e0fdc9-7eac-4661-a7c6-c5a00c9a46fc"
/dev/sdc9: LABEL="Spare" UUID="f716b510-b16b-4fd0-b89f-ea86e90c2533" TYPE="ext4" PARTLABEL="Basic data partition" PARTUUID="ac30cd57-1b77-4924-ba8c-7bc94c8f961b"
/dev/sdc2: PARTLABEL="Microsoft reserved partition" PARTUUID="49992d5b-79cd-4934-a12f-11782bb345bd"
I still got the error message:
error: disk 'hd2.gpt7' not found
error: you need to load the kernel first
press any key to continue...
error: disk 'hd2.gpt8' not found
error: you need to load the kernel first
press any key to continue...
Bookmarks