How to fix GRUB? Could someone interpret the bootinfo script results for me?
by FatherMeowbraham from LinuxQuestions.org on (#6Q1Z1)
Good afternoon!
I have Ubuntu 22.04 running on a SSD. Everything was working perfectly until a few days ago, when I was prompted to install updates. Now, whenever I start my computer I get a dark screen that says:
Start_Image : Not Found
and nothing else.
I attempted create a boot repair USB stick by using the UNetbootin utility (suggested on this forum). All that happens is a dark screen displaying:
Loading Operating System ...
which seems to hang perpetually.
I created a live USB and booted into that (selecting the "Try Ubuntu" option). I am able to see my existing SSD but I cannot access/open/mount it. I was able to run the bootinfo script (https://github.com/arvidjaar/bootinfoscript) that analyzed grub and the partitions but I do not understand the output.
Here is the output of the bootinfo script. Could a kind soul provide me with some guidance as to what this means, and how I could fix GRUB (or just recover my data at this point)?
Quote:
I have Ubuntu 22.04 running on a SSD. Everything was working perfectly until a few days ago, when I was prompted to install updates. Now, whenever I start my computer I get a dark screen that says:
Start_Image : Not Found
and nothing else.
I attempted create a boot repair USB stick by using the UNetbootin utility (suggested on this forum). All that happens is a dark screen displaying:
Loading Operating System ...
which seems to hang perpetually.
I created a live USB and booted into that (selecting the "Try Ubuntu" option). I am able to see my existing SSD but I cannot access/open/mount it. I was able to run the bootinfo script (https://github.com/arvidjaar/bootinfoscript) that analyzed grub and the partitions but I do not understand the output.
Here is the output of the bootinfo script. Could a kind soul provide me with some guidance as to what this means, and how I could fix GRUB (or just recover my data at this point)?
Quote:
Boot Info Script 0.78 [09 October 2019] ============================= Boot Info Summary: =============================== => No boot loader is installed in the MBR of /dev/sda. => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of the same hard drive for core.img. core.img is at this location and looks for (hd0,msdos1)/boot/grub. It also embeds following components: modules --------------------------------------------------------------------------- biosdisk part_msdos fshelp fat ntfs exfat --------------------------------------------------------------------------- sda1: __________________________________________________________________________ File system: vfat Boot sector type: Grub2 (v1.99-2.00) Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of sda1 and looks at sector 7241912 of the same hard drive for core.img, but core.img can not be found at this location. No errors found in the Boot Parameter Block. Operating System: Boot files: /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg sda2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 22.04.4 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/i386-pc/core.img sda3: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda4: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sdb1: __________________________________________________________________________ File system: vfat Boot sector type: MSWIN4.1: FAT32 Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/grub.cfg /efi/boot/bootx64.efi /efi/boot/grubx64.efi /efi/boot/mmx64.efi ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: WDC WDBNCE5000P Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Partition Boot Start Sector End Sector # of Sectors Id System /dev/sda1 1 976,773,167 976,773,167 ee GPT GUID Partition Table detected. Partition Attrs Start Sector End Sector # of Sectors System /dev/sda1 2,048 35,897,343 35,895,296 EFI System partition /dev/sda2 35,899,392 160,475,135 124,575,744 Data partition (Linux) /dev/sda3 160,479,232 192,370,687 31,891,456 Swap partition (Linux) /dev/sda4 192,370,688 976,773,119 784,402,432 Data partition (Linux) Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set Drive: sdb _____________________________________________________________________ Disk /dev/sdb: 60.96 GiB, 65451982848 bytes, 127835904 sectors Disk model: USB 2.0 FD Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Partition Boot Start Sector End Sector # of Sectors Id System /dev/sdb1 * 2,048 127,835,903 127,833,856 c W95 FAT32 (LBA) "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/loop0 squashfs /dev/loop1 squashfs /dev/loop2 squashfs /dev/loop3 squashfs /dev/loop4 squashfs /dev/loop5 squashfs /dev/sda1 FDDE-E196 vfat /dev/sda2 924376ed-018e-42a5-8613-d0a1d53b76f1 ext4 /dev/sda3 a7188251-2339-434a-820d-eda1d6d84a54 swap /dev/sda4 8cd5197e-a94b-429f-a67f-6d6d82169927 ext4 /dev/sdb1 1300-3630 vfat UBUNTU 21_0 ========================= "ls -l /dev/disk/by-id" output: ====================== total 0 lrwxrwxrwx 1 root root 9 Aug 17 00:07 ata-ASUS_DRW-24B1ST_a_B1D0CL363007 -> ../../sr0 lrwxrwxrwx 1 root root 9 Aug 17 00:07 ata-WDC_WDBNCE5000PNC_21285R803129 -> ../../sda lrwxrwxrwx 1 root root 10 Aug 17 00:07 ata-WDC_WDBNCE5000PNC_21285R803129-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 17 00:07 ata-WDC_WDBNCE5000PNC_21285R803129-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Aug 17 00:07 ata-WDC_WDBNCE5000PNC_21285R803129-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 17 00:07 ata-WDC_WDBNCE5000PNC_21285R803129-part4 -> ../../sda4 lrwxrwxrwx 1 root root 9 Aug 17 00:07 usb-PNY_USB_2.0_FD_AD2861D090000229-0:0 -> ../../sdb lrwxrwxrwx 1 root root 10 Aug 17 00:07 usb-PNY_USB_2.0_FD_AD2861D090000229-0:0-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 9 Aug 17 00:07 wwn-0x5001b448baf77206 -> ../../sda lrwxrwxrwx 1 root root 10 Aug 17 00:07 wwn-0x5001b448baf77206-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 Aug 17 00:07 wwn-0x5001b448baf77206-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 Aug 17 00:07 wwn-0x5001b448baf77206-part3 -> ../../sda3 lrwxrwxrwx 1 root root 10 Aug 17 00:07 wwn-0x5001b448baf77206-part4 -> ../../sda4 ================================ Mount points: ================================= Device Mount_Point Type Options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sda4 /media/ubuntu/8cd5197e-a94b-429f-a67f-6d6d82169927 ext4 (rw,nosuid,nodev,relatime,uhelper=udisks2) /dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) ========================== sda1/efi/ubuntu/grub.cfg: =========================== -------------------------------------------------------------------------------- search.fs_uuid 924376ed-018e-42a5-8613-d0a1d53b76f1 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg -------------------------------------------------------------------------------- =========================== sda2/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then set have_grubenv=true load_env fi if [ "${initrdfail}" = 2 ]; then set initrdfail= elif [ "${initrdfail}" = 1 ]; then set next_entry="${prev_entry}" set prev_entry= save_env prev_entry if [ "${next_entry}" ]; then set initrdfail=2 fi fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function initrdfail { if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then if [ -z "${initrdfail}" ]; then set initrdfail=1 if [ -n "${boot_once}" ]; then set prev_entry="${default}" save_env prev_entry fi fi save_env initrdfail fi; fi } function recordfail { set recordfail=1 if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=hidden set timeout=10 # Fallback hidden-timeout code in case the timeout_style feature is # unavailable. elif sleep --interruptible 10 ; then set timeout=0 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### set menu_color_normal=white/black set menu_color_highlight=black/light-gray ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" if [ "${1}" = "keep" ]; then set vt_handoff=vt.handoff=7 else set vt_handoff= fi } if [ "${recordfail}" != 1 ]; then if [ -e ${prefix}/gfxblacklist.txt ]; then if [ ${grub_platform} != pc ]; then set linux_gfx_mode=keep elif hwmatch ${prefix}/gfxblacklist.txt 3; then if [ ${match} = 0 ]; then set linux_gfx_mode=keep else set linux_gfx_mode=text fi else set linux_gfx_mode=text fi else set linux_gfx_mode=keep fi else set linux_gfx_mode=text fi export linux_gfx_mode menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi linux/boot/vmlinuz-6.8.0-40-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff initrd/boot/initrd.img-6.8.0-40-generic } submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { menuentry 'Ubuntu, with Linux 6.8.0-40-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-40-generic-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 6.8.0-40-generic ...' linux/boot/vmlinuz-6.8.0-40-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff echo'Loading initial ramdisk ...' initrd/boot/initrd.img-6.8.0-40-generic } menuentry 'Ubuntu, with Linux 6.8.0-40-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.8.0-40-generic-recovery-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 6.8.0-40-generic ...' linux/boot/vmlinuz-6.8.0-40-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro recovery nomodeset dis_ucode_ldr echo'Loading initial ramdisk ...' initrd/boot/initrd.img-6.8.0-40-generic } menuentry 'Ubuntu, with Linux 6.5.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-45-generic-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 6.5.0-45-generic ...' linux/boot/vmlinuz-6.5.0-45-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff echo'Loading initial ramdisk ...' initrd/boot/initrd.img-6.5.0-45-generic } menuentry 'Ubuntu, with Linux 6.5.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.5.0-45-generic-recovery-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 6.5.0-45-generic ...' linux/boot/vmlinuz-6.5.0-45-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro recovery nomodeset dis_ucode_ldr echo'Loading initial ramdisk ...' initrd/boot/initrd.img-6.5.0-45-generic } menuentry 'Ubuntu, with Linux 5.15.0-118-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-118-generic-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-118-generic ...' linux/boot/vmlinuz-5.15.0-118-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-118-generic } menuentry 'Ubuntu, with Linux 5.15.0-118-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-118-generic-recovery-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-118-generic ...' linux/boot/vmlinuz-5.15.0-118-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro recovery nomodeset dis_ucode_ldr echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-118-generic } menuentry 'Ubuntu, with Linux 5.15.0-102-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-102-generic-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-102-generic ...' linux/boot/vmlinuz-5.15.0-102-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-102-generic } menuentry 'Ubuntu, with Linux 5.15.0-102-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-102-generic-recovery-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-102-generic ...' linux/boot/vmlinuz-5.15.0-102-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro recovery nomodeset dis_ucode_ldr echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-102-generic } menuentry 'Ubuntu, with Linux 5.15.0-100-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-100-generic-advanced-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video gfxmode $linux_gfx_mode insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-100-generic ...' linux/boot/vmlinuz-5.15.0-100-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro quiet splash $vt_handoff echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-100-generic } menuentry 'Ubuntu, with Linux 5.15.0-100-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.15.0-100-generic-recovery-924376ed-018e-42a5-8613-d0a1d53b76f1' { recordfail load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 924376ed-018e-42a5-8613-d0a1d53b76f1 else search --no-floppy --fs-uuid --set=root 924376ed-018e-42a5-8613-d0a1d53b76f1 fi echo'Loading Linux 5.15.0-100-generic ...' linux/boot/vmlinuz-5.15.0-100-generic root=UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 ro recovery nomodeset dis_ucode_ldr echo'Loading initial ramdisk ...' initrd/boot/initrd.img-5.15.0-100-generic } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/10_linux_zfs ### ### END /etc/grub.d/10_linux_zfs ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/35_fwupd ### ### END /etc/grub.d/35_fwupd ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg fi ### END /etc/grub.d/41_custom ### -------------------------------------------------------------------------------- =============================== sda2/etc/fstab: ================================ -------------------------------------------------------------------------------- # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda2 during installation UUID=924376ed-018e-42a5-8613-d0a1d53b76f1 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation UUID=FDDE-E196 /boot/efi vfat umask=0077 0 1 # /home was on /dev/sda4 during installation UUID=8cd5197e-a94b-429f-a67f-6d6d82169927 /home ext4 defaults 0 2 # swap was on /dev/sda3 during installation #UUID=a7188251-2339-434a-820d-eda1d6d84a54 none swap sw 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /home/swapfile none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda2: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) 27.971275330 = 30.033928192 boot/grub/grub.cfg 1 19.965930939 = 21.438255104 boot/grub/i386-pc/core.img 1 62.629058838 = 67.247439872 boot/vmlinuz 1 47.036514282 = 50.505072640 boot/vmlinuz-5.15.0-100-generic 20 47.097091675 = 50.570117120 boot/vmlinuz-5.15.0-102-generic 28 62.629058838 = 67.247439872 boot/vmlinuz-5.15.0-118-generic 1 50.451755524 = 54.172160000 boot/vmlinuz-6.5.0-45-generic 1 58.897689819 = 63.240912896 boot/vmlinuz-6.8.0-40-generic 1 58.897689819 = 63.240912896 boot/vmlinuz.old 1 57.562938690 = 61.807734784 boot/initrd.img 1 59.851947784 = 64.265539584 boot/initrd.img-5.15.0-100-generic 1 59.930110931 = 64.349466624 boot/initrd.img-5.15.0-102-generic 1 57.562938690 = 61.807734784 boot/initrd.img-5.15.0-118-generic 1 58.457691193 = 62.768467968 boot/initrd.img-6.5.0-45-generic 1 57.685192108 = 61.939003392 boot/initrd.img-6.8.0-40-generic 1 57.685192108 = 61.939003392 boot/initrd.img.old 1 =========================== sdb1/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- set timeout=30 loadfont unicode set menu_color_normal=white/black set menu_color_highlight=black/light-gray menuentry "Ubuntu" { set gfxpayload=keep linux/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- initrd/casper/initrd } menuentry "Ubuntu (safe graphics)" { set gfxpayload=keep linux/casper/vmlinuz nomodeset file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- initrd/casper/initrd } menuentry "OEM install (for manufacturers)" { set gfxpayload=keep linux/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed only-ubiquity oem-config/enable=true quiet splash --- initrd/casper/initrd } grub_platform if [ "$grub_platform" = "efi" ]; then menuentry 'Boot from next volume' { exit 1 } menuentry 'UEFI Firmware Settings' { fwsetup } else menuentry 'Test memory' { linux16 /boot/memtest86+.bin } fi -------------------------------------------------------------------------------- =================== sdb1: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1 |