Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4644

Recovery and repair of Ubuntu 22.04 LTS, ZFS file format

$
0
0

How to recover and repair my Ubuntu 22.04 LTS? A new file (/var/log/boot-repair/20250106_235301/Boot-Info_20250106_2353.txt) will open in your text viewer.

If you are experiencing boot issues, indicate the content of this file to people who help you. For example on forums or via email.

============================== Boot Info Summary =============================== => No boot loader is installed in the MBR of /dev/nvme0n1. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of     the same hard drive for core.img. core.img is at this location and looks     for (,2)/grub. It also embeds following components:    modules    ---------------------------------------------------------------------------    offsetio extcmd macho elf file gettext boot bufio verifiers crypto     terminal normal datetime date mmap drivemap blocklist archelp newc     vga_text relocator video chain ntldr search_label search_fs_file     search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5     hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi reboot     iso9660 gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy     read halt video_fb vbe linux linux16 test true sleep echo bitmap gfxterm     bitmap_scale trig video_colors gfxmenu videotest videoinfo functional_test     videotest_checksum video_cirrus video_bochs vga minicmd help configfile tr     biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 password_pbkdf2     all_video png jpeg part_gpt part_msdos fat ntfs loopback     gfxterm_background procfs gfxterm_menu smbios    ---------------------------------------------------------------------------nvme0n1p1: _____________________________________________________________________    File system:       vfat    Boot sector type:  FAT32    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /grub/grub.cfg /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi                        /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi                        /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfgnvme0n1p2: _____________________________________________________________________    File system:           Boot sector type:  Unknown    Boot sector info: nvme0n1p3: _____________________________________________________________________    File system:       zfs_member    Boot sector type:  -    Boot sector info:     Operating System:      Boot files:        nvme0n1p4: _____________________________________________________________________    File system:       zfs_member    Boot sector type:  -    Boot sector info:     Operating System:      Boot files:        sda1: __________________________________________________________________________    File system:       exfat    Boot sector type:  -    Boot sector info:     Mounting failed:   mount: /mnt/BootInfo/sda1: /dev/sda1 already mounted or mount point busy.sda2: __________________________________________________________________________    File system:       iso9660    Boot sector type:  Unknown    Boot sector info:     Operating System:      Boot files:        /boot/grub/grub.cfg================================ 0 OS detected ================================================================= Host/Hardware =================================CPU architecture: 64-bitVideo: UHD Graphics 620 from Intel CorporationLive-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64)===================================== UEFI =====================================BIOS/UEFI firmware: R0PET73W (1.50 )(1.50) from LENOVOThe firmware is EFI-compatible, and is set in EFI-mode for this live-session.SecureBoot enabled.BootCurrent: 001ATimeout: 2 secondsBootOrder: 0000,0010,0011,0012,0013,0016,0017,0018,0019,001A,001BBoot0000* ubuntu    HD(1,GPT,884f96c4-9c7f-407a-9686-e3bf1792111f,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)Boot0010  Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)Boot0011  Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)Boot0012  Diagnostic Splash Screen  FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)Boot0013  Lenovo Diagnostics    FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)Boot0014  Startup Interrupt Menu    FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)Boot0015  Rescue and Recovery   FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)Boot0016* USB CD    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)Boot0017* USB FDD   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)Boot0018* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)Boot0019* ATA HDD0  VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)Boot001A* USB HDD   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)Boot001B* PCI LAN   VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)1d43d986c265d8c455d020e4a1f28c52   nvme0n1p1/BOOT/fbx64.efi1d260ff1255f189ab621209796ee2fed   nvme0n1p1/BOOT/mmx64.efia1da253696a304dce6b4668b70151c0e   nvme0n1p1/ubuntu/grubx64.efi1d260ff1255f189ab621209796ee2fed   nvme0n1p1/ubuntu/mmx64.efi07e25dcaf57c776875f78fa36827c58e   nvme0n1p1/ubuntu/shimx64.efi07e25dcaf57c776875f78fa36827c58e   nvme0n1p1/BOOT/BOOTX64.efi============================= Drive/Partition Info =============================Disks info: ____________________________________________________________________nvme0n1 : is-GPT,   no-BIOSboot,    has---ESP,  not-usb,    not-mmc, no-os, no-wind,    2048 sectors * 512 bytesPartitions info (1/3): _________________________________________________________nvme0n1p1   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  grubenv-ng, noupdategrub,   not-farnvme0n1p2   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-farPartitions info (2/3): _________________________________________________________nvme0n1p1   : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot, vfatnvme0n1p2   : isnotESP, part-has-no-fstab,  no-nt,  no-winload, recovery-or-hidden, no-bmgr,    notwinboot, Partitions info (3/3): _________________________________________________________nvme0n1p1   : not--sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1nvme0n1p2   : maybesepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, nvme0n1fdisk -l (filtered): ___________________________________________________________Disk nvme0n1: 953.87 GiB, 1024209543168 bytes, 2000409264 sectorsDisk identifier: AB89D775-E664-41FF-B828-582939E378FF           Start        End    Sectors   Size Typenvme0n1p1    2048    1050623    1048576   512M EFI Systemnvme0n1p2 1050624    5244927    4194304     2G Solaris swapnvme0n1p3 5244928    9439231    4194304     2G Solaris bootnvme0n1p4 9439232 2000409230 1990969999 949.4G Solaris rootDisk sda: 57.3 GiB, 61524148224 bytes, 120164352 sectorsDisk identifier: 0xaac6b7a9     Boot     Start       End   Sectors  Size Id Typesda1  *         2048 120098815 120096768 57.3G  7 HPFS/NTFS/exFATsda2       120098816 120164351     65536   32M ef EFI (FAT-12/16/32)Disk dm-0: 2.45 GiB, 2630877184 bytes, 5138432 sectorsDisk identifier: 0x14eb2669      Boot Start     End Sectors  Size Id Typedm-0p1 *        0 5138431 5138432  2.5G  0 Emptydm-0p2        572    9067    8496  4.1M ef EFI (FAT-12/16/32)Disk zd0: 500 MiB, 524288000 bytes, 1024000 sectorsparted -lm (filtered): _________________________________________________________sda:61.5GB:scsi:512:512:msdos: USB  SanDisk 3.2Gen1:;1:1049kB:61.5GB:61.5GB:::boot;2:61.5GB:61.5GB:33.6MB:fat16::esp;nvme0n1:1024GB:nvme:512:512:gpt:NX-1TB 2280:;1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;2:538MB:2685MB:2147MB:::hidden;3:2685MB:4833MB:2147MB:zfs::;4:4833MB:1024GB:1019GB:zfs::;zd0:524MB:unknown:512:16384:unknown:Unknown:;blkid (filtered): ______________________________________________________________NAME        FSTYPE      UUID                                 PARTUUID                             LABEL                  PARTLABELsda                                                                                                                      ├─sda1      exfat       4E21-0000                            aac6b7a9-01                          Ventoy                 └─sda2      iso9660     2023-12-23-05-05-55-00                                                    Boot-Repair-Disk 64bit zd0         crypto_LUKS a7c637d3-53d9-4365-8ec6-c6c88efaf21a                                                             nvme0n1                                                                                                                  ├─nvme0n1p1 vfat        A3D7-8D09                            884f96c4-9c7f-407a-9686-e3bf1792111f                        EFI System Partition├─nvme0n1p2                                                  3643c071-f4b0-47f2-ab19-37cc980be101                        ├─nvme0n1p3 zfs_member  14739978989490802067                 eac0c3a4-845b-3748-afb8-229ec35801dd bpool                  └─nvme0n1p4 zfs_member  10984011652066660914                 1d716615-5175-5047-b6ab-6437f7324312 rpool                  Mount points (filtered): _______________________________________________________                          Avail Use% Mounted on/dev/mapper/ventoy            0 100% /cdrom/dev/nvme0n1p1           496.7M   3% /mnt/boot-sav/nvme0n1p1bpool/BOOT/ubuntu_d66735   1.3G  28% /mnt/boot-sav/zfs/bootMount options (filtered): ______________________________________________________/dev/mapper/ventoy       iso9660         ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8/dev/nvme0n1p1           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-robpool/BOOT/ubuntu_d66735 zfs             rw,nodev,relatime,xattr,posixacl====================== nvme0n1p1/grub/grub.cfg (filtered) ======================Revert system only   gnulinux-${root_dataset}-${kversion}Ubuntu 22.04.5 LTS   gnulinux-rpool/ROOT/ubuntu_d66735-6.8.0-50-genericUbuntu 22.04.5 LTS, with Linux 5.15.0-1076-realtime   gnulinux-rpool/ROOT/ubuntu_d66735-5.15.0-1076-realtime### END /etc/grub.d/30_os-prober ###UEFI Firmware Settings   uefi-firmware### END /etc/grub.d/30_uefi-firmware ###=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================search.fs_uuid A3D7-8D09 root set prefix=($root)'/grub'configfile $prefix/grub.cfg================= nvme0n1p1: Location of files loaded by Grub ==================           GiB - GB             File                                 Fragment(s)            ?? = ??             grub/grub.cfg                                  1================= nvme0n1p3: Location of files loaded by Grub ==================           GiB - GB             File                                 Fragment(s)            ?? = ??             vmlinuz            ?? = ??             vmlinuz-5.15.0-1076-realtime            ?? = ??             vmlinuz-6.8.0-40-generic            ?? = ??             vmlinuz-6.8.0-50-generic            ?? = ??             vmlinuz.old            ?? = ??             initrd.img            ?? = ??             initrd.img-5.15.0-1076-realtime            ?? = ??             initrd.img-6.8.0-40-generic            ?? = ??             initrd.img-6.8.0-50-generic            ?? = ??             initrd.img.old================= nvme0n1p4: Location of files loaded by Grub ==================           GiB - GB             File                                 Fragment(s)            ?? = ??             boot/vmlinuz            ?? = ??             boot/vmlinuz-5.15.0-1076-realtime            ?? = ??             boot/vmlinuz-6.8.0-40-generic            ?? = ??             boot/vmlinuz-6.8.0-50-generic            ?? = ??             boot/vmlinuz.old            ?? = ??             boot/initrd.img            ?? = ??             boot/initrd.img-5.15.0-1076-realtime            ?? = ??             boot/initrd.img-6.8.0-40-generic            ?? = ??             boot/initrd.img-6.8.0-50-generic            ?? = ??             boot/initrd.img.old====================== sda2/boot/grub/grub.cfg (filtered) ======================Start Boot-Repair-Disk 64-bitStart Boot-Repair-Disk 64-bit (compatibility mode)UEFI Firmware SettingsTest memory==================== sda2: Location of files loaded by Grub ====================           GiB - GB             File                                 Fragment(s)            ?? = ??             boot/grub/grub.cfg                             1======================== Unknown MBRs/Boot Sectors/etc =========================Unknown BootLoader on nvme0n1p2Unknown BootLoader on sda2================================ ZFS activation ================================dpkg-query -W -f=${Version} zfsutils-linux : 2.1.5-1ubuntu6~22.04.1zpool export -f -a zpool import -N -R /mnt rpool zpool import -N -R /mnt bpool zpool import -N -f -R /mnt/boot-sav/zfs bpool zpool import -N -f -R /mnt/boot-sav/zfs rpool cryptsetup -v open /dev/zvol/rpool/keystore zfskey No usable token is available.Command failed with code -1 (wrong or missing parameters).zfs load-key -a 0 / 1 key(s) successfully loadedzfs mount rpool/ROOT/ubuntu_d66735 zfs mount -a Error: could not activate ZFS. Please report this message to boot.repair@gmail.comzpool list after activationNAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOTbpool  1.88G   500M  1.39G        -         -     0%    26%  1.00x    ONLINE  /mnt/boot-sav/zfsrpool   944G   217G   727G        -         -     1%    23%  1.00x    ONLINE  /mnt/boot-sav/zfszfs listNAME                                               USED  AVAIL     REFER  MOUNTPOINTbpool                                              500M  1.26G       96K  /mnt/boot-sav/zfs/bootbpool/BOOT                                         499M  1.26G       96K  nonebpool/BOOT/ubuntu_d66735                           499M  1.26G      499M  /mnt/boot-sav/zfs/bootrpool                                              218G   697G      192K  /mnt/boot-sav/zfsrpool/ROOT                                         217G   697G      192K  nonerpool/ROOT/ubuntu_d66735                           217G   697G      209G  /mnt/boot-sav/zfsrpool/ROOT/ubuntu_d66735/srv                       192K   697G      192K  /mnt/boot-sav/zfs/srvrpool/ROOT/ubuntu_d66735/usr                       640K   697G      192K  /mnt/boot-sav/zfs/usrrpool/ROOT/ubuntu_d66735/usr/local                 448K   697G      448K  /mnt/boot-sav/zfs/usr/localrpool/ROOT/ubuntu_d66735/var                      8.11G   697G      192K  /mnt/boot-sav/zfs/varrpool/ROOT/ubuntu_d66735/var/games                 192K   697G      192K  /mnt/boot-sav/zfs/var/gamesrpool/ROOT/ubuntu_d66735/var/lib                  8.10G   697G     6.83G  /mnt/boot-sav/zfs/var/librpool/ROOT/ubuntu_d66735/var/lib/AccountsService   264K   697G      264K  /mnt/boot-sav/zfs/var/lib/AccountsServicerpool/ROOT/ubuntu_d66735/var/lib/NetworkManager    532K   697G      532K  /mnt/boot-sav/zfs/var/lib/NetworkManagerrpool/ROOT/ubuntu_d66735/var/lib/apt              1.20G   697G     1.20G  /mnt/boot-sav/zfs/var/lib/aptrpool/ROOT/ubuntu_d66735/var/lib/dpkg             68.3M   697G     68.3M  /mnt/boot-sav/zfs/var/lib/dpkgrpool/ROOT/ubuntu_d66735/var/log                   252K   697G      252K  /mnt/boot-sav/zfs/var/logrpool/ROOT/ubuntu_d66735/var/mail                  192K   697G      192K  /mnt/boot-sav/zfs/var/mailrpool/ROOT/ubuntu_d66735/var/snap                 8.61M   697G     8.61M  /mnt/boot-sav/zfs/var/snaprpool/ROOT/ubuntu_d66735/var/spool                 260K   697G      260K  /mnt/boot-sav/zfs/var/spoolrpool/ROOT/ubuntu_d66735/var/www                   192K   697G      192K  /mnt/boot-sav/zfs/var/wwwrpool/USERDATA                                     373M   697G      192K  /mnt/boot-sav/zfsrpool/USERDATA/alpha_3pcwb6                        371M   697G      371M  /mnt/boot-sav/zfs/home/alpharpool/USERDATA/root_3pcwb6                        2.43M   697G     2.43M  /mnt/boot-sav/zfs/rootrpool/keystore                                     518M   697G     63.0M  -=================== findmnt (filtered) after ZFS activation ====================SOURCE                   FSTYPE    SIZE   USED AVAIL USE% TARGET/dev/mapper/ventoy       iso9660   2.5G   2.5G     0 100% /cdrombpool/BOOT/ubuntu_d66735 zfs       1.7G 499.1M  1.3G  28% /mnt/boot-sav/zfs/bootSuggested repair: ______________________________________________________________The default repair of the Boot-Repair utility would not act on the boot.Confirmation request before suggested repair: __________________________________Warning: ZFS not activated correctly. Repair will fail unless you mount the pools on /mnt/boot-sav/zfs before continuing. Please report this message to boot.repair@gmail.comAre you sure you want to continue anyway?sprunge.us ko ()paste.ubuntu.com ko ()

Viewing all articles
Browse latest Browse all 4644

Trending Articles