Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

  1. #1
    Join Date
    Aug 2023
    Beans
    18

    Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    This morning I could not get into my Ubuntu when starting my laptop, it complained about a missing boot drive (iirc)
    I used a USB drive with Ubuntu live to get access to the system and be able to run Boot Repair

    Boot Repair info: https://pastebin.ubuntu.com/p/Q9jcfxcR9G/

    I was able to mount my LUKS volume by running
    Code:
    sudo cryptsetup luksOpen /dev/nvme0n1p3 myvolume
    which mounted it to
    Code:
    /media/mint/41843ba2-{long hash here}
    I copied out my home folder using rsync to my separate desktop, so that data is back-upped for now. If I can't fix the boot disk I can always install 24.04 and go from there.
    But I rather restore my system somehow.

    What is my next step to possible restore my system?

  2. #2
    Join Date
    Aug 2023
    Beans
    18

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Btw, a while back I switched to Liquorix Kernel (6.8.7-2-liquorix-amd64 I think) to solve some graphics driver issues I had.
    No idea if that plays any role here though, had no complains about it so far.
    Last edited by sitethief; July 2nd, 2024 at 12:04 PM.

  3. #3
    currentshaft is offline Oops! My Coffee Cup is empty.
    Join Date
    May 2024
    Beans
    Hidden!

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Quote Originally Posted by sitethief View Post

    What is my next step to possible restore my system?
    Probably posting what the problem actually is. A vague "complaint about a missing boot drive" is a mystery and we're not detectives. How about the actual error message, for a start?

  4. #4
    Join Date
    Aug 2023
    Beans
    18

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    I managed to get to the `grub-install` step for the empty boot drive and afterwards a successful `update-grub`
    even then did not manage to fix it into a bootable installation.
    I'm gonna install 24.04

  5. #5
    Join Date
    Aug 2023
    Beans
    18

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Quote Originally Posted by currentshaft View Post
    Probably posting what the problem actually is. A vague "complaint about a missing boot drive" is a mystery and we're not detectives. How about the actual error message, for a start?
    All I had was "Default Boot Device Missing or Boot Failed"
    Looked exactly like this picture
    https://i.redd.it/by6g23i3n0cc1.jpeg
    Last edited by sitethief; July 2nd, 2024 at 02:59 PM.

  6. #6
    currentshaft is offline Oops! My Coffee Cup is empty.
    Join Date
    May 2024
    Beans
    Hidden!

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    At what boot stage? Do you see the GRUB menu? Can you select a previous kernel version from it?

    The boot repair output shows data partitions are intact, so it may be as simple as booting to the last known working configuration.

  7. #7
    Join Date
    May 2008
    Beans
    4,347
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Line 131 - nvme0n1p1 ext4 a1d41f74-6d9f-4434-a197-6fe6e4c9266d 52eb99d3-d854-4dae-b852-151a250097a7 Michel VL Backup EFI System Partition

    Your ESP has ext4 filesystem, it should FAT32
    Did it somehow change?

    You could try to copy the contents, reformat to FAT32 and restore the contents.

  8. #8
    Join Date
    Aug 2023
    Beans
    18

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Quote Originally Posted by currentshaft View Post
    At what boot stage? Do you see the GRUB menu? Can you select a previous kernel version from it?

    The boot repair output shows data partitions are intact, so it may be as simple as booting to the last known working configuration.
    I have no boot options for the current installation at all, it's not recognized as a bootable drive at all by the bios, so I can't boot from it.
    I don't get to the grub menu at all.
    What I determined that somehow during my day yesterday I formatted the wrong partition containing my boot drive. Instead one of the external drives I was setting up. And in all the chaos of yesterday I did not notice my boot drive was basically empty for all intents and purposes
    The solution would obviously be to get it to a proper state with grub-install etc.
    However that failed to make my system bootable.

    So now I'm installing 24.04, or if that is a disappointment back to a new 22.04

  9. #9
    Join Date
    Aug 2023
    Beans
    18

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Quote Originally Posted by tea for one View Post
    Line 131 - nvme0n1p1 ext4 a1d41f74-6d9f-4434-a197-6fe6e4c9266d 52eb99d3-d854-4dae-b852-151a250097a7 Michel VL Backup EFI System Partition

    Your ESP has ext4 filesystem, it should FAT32
    Did it somehow change?

    You could try to copy the contents, reformat to FAT32 and restore the contents.
    Yeah, I determined I accidentally formatted it .

  10. #10
    Join Date
    May 2008
    Beans
    4,347
    Distro
    Ubuntu 24.04 Noble Numbat

    Re: Trying to fix my bootdisk on my Ubuntu 22.04 laptop

    Then, you now realise why your PC doesn't boot.
    It would have been helpful if you mentioned this in your original post.

    Do you have a backup of your original ESP?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •