Please find the required information for your reference.
lsblk command output:BLKID Command:GRUB File UUID:/boot/efi files Even though all the required files have been copied from 1st HDD /boot/efi mount to /boot/efi2 mount point, its not booting from 2nd HDD when 1st HDD fails in RAID1.
What am I missing out in this to fix the issue ?
lsblk command output:
Code:
root@Server:~# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsr0 11:0 1 1024M 0 romnvme0n1 259:0 0 476.9G 0 disk├─nvme0n1p1 259:2 0 512M 0 part /boot/efi├─nvme0n1p2 259:3 0 447G 0 part│ └─md0 9:0 0 446.9G 0 raid1 /└─nvme0n1p3 259:4 0 14.9G 0 part └─md1 9:1 0 14.9G 0 raid1 [SWAP]nvme1n1 259:1 0 476.9G 0 disk├─nvme1n1p1 259:5 0 512M 0 part /boot/efi2├─nvme1n1p2 259:6 0 447G 0 part│ └─md0 9:0 0 446.9G 0 raid1 /└─nvme1n1p3 259:7 0 14.9G 0 part └─md1 9:1 0 14.9G 0 raid1 [SWAP]Code:
root@Server:~# blkid/dev/nvme0n1p3: UUID="151201f8-233a-9a0d-63e1-f7a8b5d28a00" UUID_SUB="074279c0-831a-2af6-dd0a-66a8b1718738" LABEL="1" TYPE="linux_raid_member" PARTUUID="7390bc24-8264-42f3-8faf-3529efad8f91"/dev/nvme0n1p1: UUID="0778-127E" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="a0c198d1-6f2a-4ac3-9985-c32e5a0bc2ac"/dev/nvme0n1p2: UUID="57ad7fca-35e6-f1e7-b499-c00d8014a1ac" UUID_SUB="fd6b0fc0-2be2-7a85-6c22-530bae8a5449" LABEL="0" TYPE="linux_raid_member" PARTUUID="e525d33b-caca-4d7e-8048-e56b55fbb7e5"/dev/md0: UUID="36c872fb-4aa2-4435-8cdc-30be8da3ecff" BLOCK_SIZE="4096" TYPE="ext4"/dev/nvme1n1p2: UUID="57ad7fca-35e6-f1e7-b499-c00d8014a1ac" UUID_SUB="8731b7fb-007b-bcc8-4398-79d2dc191e24" LABEL="0" TYPE="linux_raid_member" PARTUUID="e4e5d40d-effe-4aca-afa6-4b8a3b2ad6ac"/dev/nvme1n1p3: UUID="151201f8-233a-9a0d-63e1-f7a8b5d28a00" UUID_SUB="2490fa61-7b04-4dc0-2ee7-6efe0a180546" LABEL="1" TYPE="linux_raid_member" PARTUUID="1aa53707-b08e-4d53-9136-c4413d206827"/dev/nvme1n1p1: UUID="019E-078A" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="5aa055b9-5860-4b88-81fa-f894bc688992"/dev/md1: UUID="d6d60e1c-625f-41d1-92e6-44f487c7a724" TYPE="swap"Code:
root@server:~# cat /boot/grub/grub.cfg | grep searchif [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecffif [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecff if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecff if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecff if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecff if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecff if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='mduuid/57ad7fca35e6f1e7b499c00d8014a1ac' 36c872fb-4aa2-4435-8cdc-30be8da3ecff search --no-floppy --fs-uuid --set=root 36c872fb-4aa2-4435-8cdc-30be8da3ecffCode:
root@server:/boot/efi/EFI/debian# pwd/boot/efi/EFI/debianroot@server:/boot/efi/EFI/debian# ls -lhtotal 5.9M-rwx------ 1 root root 108 Jun 21 17:06 BOOTX64.CSV-rwx------ 1 root root 86K Jun 21 17:06 fbx64.efi-rwx------ 1 root root 157 Jun 21 17:06 grub.cfg-rwx------ 1 root root 4.1M Jun 21 17:06 grubx64.efi-rwx------ 1 root root 830K Jun 21 17:06 mmx64.efi-rwx------ 1 root root 927K Jun 21 17:06 shimx64.efiroot@server:/boot/efi/EFI/debian# cat grub.cfg | grep searchsearch.fs_uuid 36c872fb-4aa2-4435-8cdc-30be8da3ecff root mduuid/57ad7fca35e6f1e7b499c00d8014a1acroot@server:/boot/efi/EFI/debian# cd /boot/efi2/EFI/debian/root@server:/boot/efi2/EFI/debian# pwd/boot/efi2/EFI/debianroot@server:/boot/efi2/EFI/debian# ls -lhtotal 5.9M-rwx------ 1 root root 108 Jun 21 17:06 BOOTX64.CSV-rwx------ 1 root root 86K Jun 21 17:06 fbx64.efi-rwx------ 1 root root 157 Jun 21 17:06 grub.cfg-rwx------ 1 root root 4.1M Jun 21 17:06 grubx64.efi-rwx------ 1 root root 830K Jun 21 17:06 mmx64.efi-rwx------ 1 root root 927K Jun 21 17:06 shimx64.efiroot@server:/boot/efi2/EFI/debian# cat grub.cfg | grep searchsearch.fs_uuid 36c872fb-4aa2-4435-8cdc-30be8da3ecff root mduuid/57ad7fca35e6f1e7b499c00d8014a1acroot@server:/boot/efi2/EFI/debian#What am I missing out in this to fix the issue ?
Statistics: Posted by Linux_01 — 2024-06-24 05:52