seeking help with GRUB/GRUB2 detecting bootable, recovery. and menu entries
by SaintDanBert from LinuxQuestions.org on (#6JNRQ)
Will someone please help me sort out my GRUB/GRUB2 configuration on my primary laptop workstation?
My priimary workstation is a laptop. I'm trying to configure things so that they are more "recoverable" and that startup is more indicative of the way that I prefer to work.
What I want to do:
/dev/nvme0 has /boot/efi and / file systems
/dev/nvme1 has /home
Code:prompt$ sudo lsblk
***********
NAME SIZE FSTYPE PARTLABEL MOUNTPOINTS
sda 931.5G
sda1 1G vfat RESERVED
sda2 1G vfat Spare-EFI
sda3 1G ext4 S76_boot /boot
sda4 64.2G ext4 S76_var /var
sda5 265.8G ext4 My_Work1 /work1
sda6 16G swap S76_sawp [SWAP]
sda7 245G ext4 My_Work2 /work2
sda8 337.5G ext4 My_Vault /vault
nvme1n1 465.8G
nvme1n1p1 465.8G ext4 S76_Home /home
nvme0n1 465.8G
nvme0n1p1 512M vfat S76_EFI /boot/efi
nvme0n1p2 465.3G ext4 S76_root /Thank you in advance.
~~~ 0;-} Dan
My priimary workstation is a laptop. I'm trying to configure things so that they are more "recoverable" and that startup is more indicative of the way that I prefer to work.
What I want to do:
- write whatever to all drives so that GRUB will detect as bootable
- place appropriate files so that all drives enable "recovery" if the primary bootable fails including linux parts, clonezilla, systemrescue, etc.
- enabld bpth "current release" and "previous release" with minimal duplication of files or configuration.
- configure an appropriate GRUB menu regardless of where I'm booting
- configure GRUB so that future updates preserve the menus etc.
- a 1TB HDD as /dev/sda
- a 512GB SSD as /dev/nvme0
- a 512GB SSD as /dev/nvme1
/dev/nvme0 has /boot/efi and / file systems
/dev/nvme1 has /home
Code:prompt$ sudo lsblk
***********
NAME SIZE FSTYPE PARTLABEL MOUNTPOINTS
sda 931.5G
sda1 1G vfat RESERVED
sda2 1G vfat Spare-EFI
sda3 1G ext4 S76_boot /boot
sda4 64.2G ext4 S76_var /var
sda5 265.8G ext4 My_Work1 /work1
sda6 16G swap S76_sawp [SWAP]
sda7 245G ext4 My_Work2 /work2
sda8 337.5G ext4 My_Vault /vault
nvme1n1 465.8G
nvme1n1p1 465.8G ext4 S76_Home /home
nvme0n1 465.8G
nvme0n1p1 512M vfat S76_EFI /boot/efi
nvme0n1p2 465.3G ext4 S76_root /Thank you in advance.
~~~ 0;-} Dan