Score:0

ubuntu boot fail, error: Failed to start Remount Root and Kernel File Systems, Failed to activate swap/swapfile, Dependency failed for Swaps

ly flag
============================ Boot Info After Repair ============================

 => libparted MBR boot code is installed in the MBR of /dev/nvme0n1.
 => No boot loader is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi 
                       /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi 
                       /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi 
                       /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg

nvme0n1p2: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 22.04.1 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Unknown
    Boot sector info:  According to the info in the boot sector, sdb1 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb1 starts at sector 40.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       exfat
    Boot sector type:  Unknown
    Boot sector info: 
    Operating System:  
    Boot files:        

sdc: ___________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v1.99-2.00) is installed in the boot sector of 
                       sdc and looks at sector 0 of the same hard drive for 
                       core.img, but core.img can not be found at this 
                       location.
    Mounting failed:   mount: /mnt/BootInfo/FD/sdc: /dev/sdc already mounted or mount point busy.


================================ 1 OS detected =================================

OS#1:   Ubuntu 22.04.1 LTS on nvme0n1p2

================================ Host/Hardware =================================

CPU architecture: 64-bit
Video: CometLake-S GT2 [UHD Graphics 630] EFI VGA from Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.1 LTS, jammy, x86_64)

===================================== UEFI =====================================

BIOS/UEFI firmware: 0403(4.3) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0008
Timeout: 1 seconds
BootOrder: 0008,0000,0001,0007
Boot0000* ubuntu    HD(1,MBR,0xb94c1b59,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive    BBS(HD,,0x0)..GO..NO........s.K.I.N.G.S.T.O.N. .S.N.V.2.S.2.0.0.0.G....................A...........................&.xN........6..Gd-.;.A..MQ..L.5.0.0.2.6.B.7.7.8.4.E.9.1.F.0.A........BO..NO........o.S.T.4.0.0.0.D.M.0.0.4.-.2.U.9.1.0.4....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .W.W.0.6.H.6.5.T........BO
Boot0007* USB   BBS(HD,,0x0)..GO..NO........c.S.e.a.g.a.t.e. .E.x.p.a.n.s.i.o.n. .H.D.D. .1.9.0.1....................A.......................6..Gd-.;.A..MQ..L.0.0.0.0.0.0.0.0.N.A.C.H.T.7.S.M........BO..NO........[.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.1.2.0.G. .0....................A..........................Gd-.;.A..MQ..L.2.0.D.1.1.E.8.0.0.2.7.E........BO
Boot0008* UEFI OS   HD(2,GPT,9240a165-d190-4ab6-8a12-46dc207b42ee,0x71e8a0,0x2130)/File(\EFI\BOOT\BOOTX64.EFI)..BO

3795ef72a4ed0369ca44e711527904bf   nvme0n1p1/BOOT/bkpbootx64.efi
3795ef72a4ed0369ca44e711527904bf   nvme0n1p1/BOOT/bootx64.efi
c152ec201c37b6e97bbc2207e49d1271   nvme0n1p1/BOOT/fbx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/BOOT/mmx64.efi
3795ef72a4ed0369ca44e711527904bf   nvme0n1p1/ubuntu/grubx64.efi
fdafb5eece6caeccb788c946a28e6872   nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95   nvme0n1p1/ubuntu/shimx64.efi

============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

nvme0n1 : notGPT,   no-BIOSboot,    has---ESP,  not-usb,    not-mmc, has-os,    no-wind,    2048 sectors * 512 bytes
sda : is-GPT,   no-BIOSboot,    has-noESP,  not-usb,    not-mmc, no-os, no-wind,    2048 sectors * 512 bytes
sdb : is-GPT,   no-BIOSboot,    has---ESP,  liveusb,    not-mmc, no-os, no-wind,    40 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1   : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
nvme0n1p2   : is-os,    64, apt-get,    signed grub-efi ,   grub2,  grub-install,   grubenv-ng, update-grub,    farbios
sda1    : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   farbios
sdb1    : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   not-far
sdb2    : no-os,    64, nopakmgr,   no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,   farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p1   : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
nvme0n1p2   : isnotESP, fstab-has-goodEFI,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
sda1    : isnotESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
sdb1    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   no-bmgr,    notwinboot
sdb2    : isnotESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,   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, nvme0n1
nvme0n1p2   : not--sepboot, with-boot,  fstab-without-boot, not-sep-usr,    with--usr,  fstab-without-usr,  std-grub.d, nvme0n1
sda1    : maybesepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, sda
sdb1    : not--sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, sdb
sdb2    : maybesepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,   part-has-no-fstab,  no--grub.d, sdb

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk identifier: 0xb94c1b59
          Boot   Start        End    Sectors  Size Id Type
nvme0n1p1 *       2048    1050623    1048576  512M ef EFI (FAT-12/16/32)
nvme0n1p2      1050624 3907028991 3905978368  1.8T 83 Linux
Disk sda: 3.64 TiB, 4000787030016 bytes, 7814037168 sectors
Disk identifier: 02781BCD-A240-4550-BFFF-2D5DD10201B3
      Start        End    Sectors  Size Type
sda1   2048 7814035455 7814033408  3.6T Linux filesystem
Disk sdb: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors
Disk identifier: 01000000-0000-0000-4E41-43485437534D
       Start        End    Sectors  Size Type
sdb1      40     409639     409600  200M EFI System
sdb2  411648 9767540735 9767129088  4.5T Microsoft basic data
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 9240A165-D190-4AB6-8A10-46DC207B42EE
        Start       End   Sectors   Size Type
sdc1       64   7465119   7465056   3.6G Microsoft basic data
sdc2  7465120   7473615      8496   4.1M EFI System
sdc3  7473616   7474215       600   300K Microsoft basic data
sdc4  7475200 234441584 226966385 108.2G Linux filesystem

parted -lm (filtered): _________________________________________________________

sda:4001GB:scsi:512:4096:gpt:ATA ST4000DM004-2U91:;
1:1049kB:4001GB:4001GB:ext4::;
sdb:5001GB:scsi:512:4096:gpt:Seagate Expansion HDD:;
1:20.5kB:210MB:210MB:fat32:EFI System Partition:boot, esp;
2:211MB:5001GB:5001GB:::msftdata;
sdc:120GB:scsi:512:512:gpt:KINGSTON  SA400S37120G:;
1:32.8kB:3822MB:3822MB::ISO9660:hidden, msftdata;
2:3822MB:3826MB:4350kB::Appended2:boot, esp;
3:3826MB:3827MB:307kB::Gap1:hidden, msftdata;
4:3827MB:120GB:116GB:ext4::;
nvme0n1:2000GB:nvme:512:512:msdos:KINGSTON SNV2S2000G:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:2000GB:2000GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL                    PARTLABEL
sda                                                                                                                     
└─sda1      ext4     2f351efd-8683-45cd-ab65-e5e10fc0dcb0 34c6f5b6-fd8b-4d2a-9550-4654c82d6fa7                          
sdb                                                                                                                     
├─sdb1      vfat     67E3-17ED                            24c74420-d350-11ec-ad8f-8789a8c5ea66 EFI                      EFI System Partition
└─sdb2      exfat    627E-21D6                            24c74421-d350-11ec-ad8f-8789a8c5ea66 Expansion                
sdc         iso9660  2022-08-10-16-21-45-00                                                    Ubuntu 22.04.1 LTS amd64 
├─sdc1      iso9660  2022-08-10-16-21-45-00               9240a165-d190-4ab6-8a11-46dc207b42ee Ubuntu 22.04.1 LTS amd64 ISO9660
├─sdc2      vfat     8D6C-A9F8                            9240a165-d190-4ab6-8a12-46dc207b42ee ESP                      Appended2
├─sdc3                                                    9240a165-d190-4ab6-8a13-46dc207b42ee                          Gap1
└─sdc4      ext4     e8d77ce1-b50f-493b-996b-2bedcffe8887 74ec5bce-9761-8d42-8c1c-526cdc586333 writable                 
nvme0n1                                                                                                                 
├─nvme0n1p1 vfat     7709-78CD                            b94c1b59-01                                                   
└─nvme0n1p2 ext4     c8e3fc30-6346-407e-be80-87758ea0bc28 b94c1b59-02                                                   

Mount points (filtered): _______________________________________________________

                                                               Avail Use% Mounted on
/dev/disk/by-label/writable[/install-logs-2022-12-28.1/crash] 100.5G   0% /var/crash
/dev/disk/by-label/writable[/install-logs-2022-12-28.1/log]   100.5G   0% /var/log
/dev/nvme0n1p1                                                503.3M   1% /mnt/boot-sav/nvme0n1p1
/dev/nvme0n1p2                                                622.5G  61% /mnt/boot-sav/nvme0n1p2
/dev/sda1                                                       2.8T  17% /mnt/boot-sav/sda1
/dev/sdb1                                                     196.9M   0% /mnt/boot-sav/sdb1
/dev/sdb2                                                       4.3T   6% /media/ubuntu/Expansion
/dev/sdc1                                                          0 100% /cdrom

Mount options (filtered): ______________________________________________________


=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid c8e3fc30-6346-407e-be80-87758ea0bc28 root 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================

Ubuntu   c8e3fc30-6346-407e-be80-87758ea0bc28
Ubuntu, with Linux 5.15.0-56-generic   c8e3fc30-6346-407e-be80-87758ea0bc28
Ubuntu, with Linux 5.15.0-53-generic   c8e3fc30-6346-407e-be80-87758ea0bc28
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p2/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=4e8552b0-fcef-46a2-b304-8d261530aa35 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
UUID=7709-78CD  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0

==================== nvme0n1p2/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

================= nvme0n1p2: Location of files loaded by Grub ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1
  16.980484009 = 18.232655872   boot/vmlinuz                                   1
 881.165035248 = 946.143752192  boot/vmlinuz-5.15.0-53-generic                 2
  16.980484009 = 18.232655872   boot/vmlinuz-5.15.0-56-generic                 1
 881.165035248 = 946.143752192  boot/vmlinuz.old                               2
 528.075614929 = 567.016873984  boot/initrd.img                                2
 526.974044800 = 565.834072064  boot/initrd.img-5.15.0-53-generic              5
 528.075614929 = 567.016873984  boot/initrd.img-5.15.0-56-generic              2
 526.974044800 = 565.834072064  boot/initrd.img.old                            5

=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================

-rwxr-xr-x 1 root root 18683 Apr 15  2022 10_linux
-rwxr-xr-x 1 root root 43031 Apr 15  2022 10_linux_zfs
-rwxr-xr-x 1 root root 14180 Apr 15  2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Apr 15  2022 30_os-prober
-rwxr-xr-x 1 root root  1372 Apr 15  2022 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Apr 15  2022 40_custom
-rwxr-xr-x 1 root root   215 Apr 15  2022 41_custom
in flag
Welcome to AskUbuntu, a Q&A site. Could you [edit] your "question" to explain more about your situation? Was any software installed before the failure? Were any settings changed? Does your system have multiple operating systems installed or just one? How long ago did you install Ubuntu? Have there been any recent changes to the hardware? Help us help you by providing any details that might explain why you are seeing this issue.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.