efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Arch Linux" --loader /vmlinuz-linux --unicode 'cryptdevice=UUID=4ad8f8f6-6b73-4c4c-bf3d-9299951d16ce:root root=/dev/mapper/root rw initrd=\initramfs-linux.img'


efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "Arch Linux" --loader /vmlinuz-linux --unicode 'cryptdevice=UUID=4ad8f8f6-6b73-4c4c-bf3d-9299951d16ce:root root=/dev/mapper/root rw initrd=\initramfs-linux.img'



efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "vmlinuz-6.1.53-gentoo-r1-x86_64" --loader /vmlinuz-6.1.53-gentoo-r1-x86_64 --unicode 'cryptdevice=b8fd17cd-6d5c-4e32-b5c9-4458198e73ed:crypt root=/dev/mapper/crypt rw initrd=\initramfs-6.1.53-gentoo-r1-x86_64.img'


 (chroot) livecd ~ # efibootmgr 

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0001,0000

Boot0000* Manjaro HD(1,GPT,81152ae1-9128-9b4c-970d-e9bc875f4fee,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)

Boot0001* UEFI: PNY USB 2.0 FD 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,665bb79f-5d9a-4fab-bd8d-9b743f318604,0x28c,0x1680)0000424f

(chroot) livecd ~ # efibootmgr --create --disk /dev/sda --part 2 --label "Gentoo" --loader "\vmlinuz-6.1.31-gentoo"

$BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0002,0001,0000

Boot0000* Manjaro HD(1,GPT,81152ae1-9128-9b4c-970d-e9bc875f4fee,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)

Boot0001* UEFI: PNY USB 2.0 FD 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,665bb79f-5d9a-4fab-bd8d-9b743f318604,0x28c,0x1680)0000424f

Boot0002* Gentoo HD(2,GPT,e7115160-dd6f-44cd-89ac-51a5bbdbaea9,0x80800,0x2800000)/File(\vmlinuz-6.1.31-gentoo)

(chroot) livecd ~ # efibootmgr --create --disk /dev/sda --part 1 --label "Gentoo1" --loader "\vmlinuz-6.1.31-gentoo"

BootCurrent: 0001

Timeout: 1 seconds

BootOrder: 0003,0002,0001,0000

Boot0000* Manjaro HD(1,GPT,81152ae1-9128-9b4c-970d-e9bc875f4fee,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)

Boot0001* UEFI: PNY USB 2.0 FD 1100 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,665bb79f-5d9a-4fab-bd8d-9b743f318604,0x28c,0x1680)0000424f

Boot0002* Gentoo HD(2,GPT,e7115160-dd6f-44cd-89ac-51a5bbdbaea9,0x80800,0x2800000)/File(\vmlinuz-6.1.31-gentoo)

Boot0003* Gentoo1 HD(1,GPT,506e5bd6-9596-409b-b099-3da659eadea3,0x800,0x80000)/File(\vmlinuz-6.1.31-gentoo)

(chroot) livecd ~ # lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS

loop0    7:0    0   1.8G  1 loop 

sda      8:0    0 238.5G  0 disk 

├─sda1   8:1    0   256M  0 part /boot

├─sda2   8:2    0    20G  0 part [SWAP]

└─sda3   8:3    0 218.2G  0 part /

sdb      8:16   1   3.8G  0 disk 

├─sdb1   8:17   1   294K  0 part 

├─sdb2   8:18   1   2.8M  0 part 

├─sdb3   8:19   1   2.2G  0 part 

└─sdb4   8:20   1   300K  0 part 

(chroot) livecd ~ # blkid

/dev/sdb2: SEC_TYPE="msdos" UUID="200C-F697" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI boot partition" PARTUUID="665bb79f-5d9a-4fab-bd8d-9b743f318604"

/dev/sdb3: BLOCK_SIZE="2048" LABEL="funtoo-livecd" TYPE="hfsplus" PARTLABEL="HFSPLUS" PARTUUID="665bb79f-5d9a-4fab-bd8c-9b743f318604"

/dev/loop0: TYPE="squashfs"

/dev/sda2: UUID="fcc1581b-fa15-47f6-99c8-ac19b3959773" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="e7115160-dd6f-44cd-89ac-51a5bbdbaea9"

/dev/sda1: UUID="280E-D7E1" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="506e5bd6-9596-409b-b099-3da659eadea3"

/dev/sdb4: PARTLABEL="Gap1" PARTUUID="665bb79f-5d9a-4fab-bd8b-9b743f318604"

/dev/sdb1: PARTLABEL="Gap0" PARTUUID="665bb79f-5d9a-4fab-bd8e-9b743f318604"

/dev/sda3: UUID="6c8dbd7f-ffde-4c61-9d6b-87a770f6662f" BLOCK_SIZE="4096" TYPE="xfs" PARTLABEL="Linux x86-64 root (/)" PARTUUID="aa73c695-c5f1-479f-91c4-60848f21a127"

(chroot) livecd ~ # 

Comments

Popular posts from this blog

Uploading Firmware to "bricked" Netgear WNDR3800 from Linux with atftp after botched DD-WRT Firmware Upgrade.

VMware Remote Console detected; unable to proceed with VMware Workstation installation.

zabbix agent on gentoo