Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 43

Thread: Corrupted Boot partition after upgrade to 24.04

  1. #31
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Corrupted Boot partition after upgrade to 24.04

    In UEFI, you only get one Ubuntu entry.
    And then from its grub menu you get all the other systems that it can find, if you have os-prober on.
    It found two Ubuntu & one Windows.
    Default boot will be last installed or with grub reinstalled.
    Can you not boot second Ubuntu? Or
    Found Ubuntu 24.04.1 LTS (24.04) on /dev/sda5

    Little key icon in gparted shows you have that mounted or you have booted sda6's install.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #32
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Corrupted Boot partition after upgrade to 24.04

    I mis-typed Ubuntu 20.04 when I meant Ubuntu 24.04. I have since edited that post to correct the error. I am 76 years old. I get tired and stressed. I mangle my sentences.

    You have two installs of Ubuntu 24.04. I think that the "Ubuntu" at the top of the Grub boot menu is 24.04 on sda6. It seems that you can boot into that install without problems. Use that install of Ubuntu 24.04 and try to access your data files in Ubuntu 24.04 on sda5. To copy files from one Ubuntu to the other open another thread.

    I am going to suggest some useful but unrelated advice. Whatever install of Ubuntu 24.04 you are in open System Settings (cog icon) >System>Users. You should see a circle with your user initials in it. Click on the pencil icon on the bottom right corner and pick a picture. That picture will then appear on the login screen of the install of Ubuntu 24.04 that you are booting. I have more than one install of Ubuntu and I use this method to recognise which Ubuntu I am about to log into.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #33
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Corrupted Boot partition after upgrade to 24.04

    I also see an option to boot into Windows (which I don't want anymore). Use F2 to enter setup and modify the boot order? Is that on the right track? Please advise with as much obvious detail you can manage, I think you're on it!!
    One thing at a time. And different questions should be asked in different threads. Start a new thread for that question. Imagine having medical issues that you want to see a doctor about but you have to make an different appointment for each different medical issue. That is the way we like to do things on this forum.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  4. #34
    Join Date
    Oct 2024
    Beans
    55

    Re: Corrupted Boot partition after upgrade to 24.04

    This is great advice. I'll ask a few questions and do some more reading then feel like I can move ahead. Thanks

    In UEFI, you only get one Ubuntu entry.
    And then from its grub menu you get all the other systems that it can find, if you have os-prober on.
    Where do I find the os-prober option enable?

    Default boot will be last installed or with grub reinstalled.
    Can you not boot second Ubuntu? Or
    I did see that the warning on the boot partition went away after I ran the sudo update-grub command. progress

    Little key icon in gparted shows you have that mounted or you have booted sda6's install.
    I am only able to boot to sda6, so my question was about how to change the boot path, or is that the wrong idea?

    I am 76 years old. I get tired and stressed. I mangle my sentences.
    Graham, I'm 10 years behind you and sympathies completely!! But your insight is spot on

    Use that install of Ubuntu 24.04 and try to access your data files in Ubuntu 24.04 on sda5. To copy files from one Ubuntu to the other open another thread.
    I will do that, and hopefully you two will be there as well to help in the effort. Is there an easy way to "try to access your data files on sda5?"

    That's about enough questions for one reply, hopefully you can weed through it all. Thanks again for the help

  5. #35
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Corrupted Boot partition after upgrade to 24.04

    Your os-prober must be on as it found Windows & second Ubuntu install.
    cat /etc/default/grub

    From your grub menu are you not able to boot this entry in menu?
    Found Ubuntu 24.04.1 LTS (24.04) on /dev/sda5
    From file browser are you not able to click on the partition that is sda5?
    It probably is shown as a very long UUID as that is default.
    I always label partitions, particularly those I only mount sometimes, as I do not know my UUIDs. I am a bit older than you youngsters. So need labels. I add labels with gparted, disks, or with terminal. then default mount is by label.

    example from a lsblk -f in terminal:
    Code:
    fred@z170-noble:~$ lsblk -f 
    NAME FSTYPE FSVER LABEL      UUID                            FSAVAIL FSUSE% MOUNTPOINTS
    sda6    ext4   1.0   data-a     f9537995-8b44-4abb-b5fb-ec27023f57b2  164.8G    40% /media/fred/data-a
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #36
    Join Date
    Oct 2024
    Beans
    55

    Re: Corrupted Boot partition after upgrade to 24.04

    This is what I see after the lsblk command:

    Code:
    NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
    ├─sda1
    │    vfat   FAT32 ESP   EEDC-1691                                           
    ├─sda3
    │    ntfs         OS    2E38DFD638DF9B63                                    
    ├─sda5
    │    ext4   1.0         2e8a4205-058b-44bc-810a-910260e478f3                
    └─sda6
         ext4   1.0         1aceb469-c683-41a0-81e3-ede8fe0ff4b4  261.1G     4% /
    Last edited by oldfred; 3 Weeks Ago at 07:12 PM. Reason: Please use Code Tags.

  7. #37
    Join Date
    Oct 2024
    Beans
    55

    Re: Corrupted Boot partition after upgrade to 24.04

    I did some experimenting in an attempt to get a boot on sda5 by changing the boot flags, using boot repair to point to sda5 using Live and then reinstalling Grub .. no change. Will still boot to sda6, but the straight Ubuntu boot option (the repair I did) to sda5 takes me to the command line, so something might be broken in sda5.

    Maybe that's a clue about sda5?

  8. #38
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Corrupted Boot partition after upgrade to 24.04

    I have been looking at the picture of GParted. It shows /dev/sda5 as having 44.51 GiB used out of 96.08 GiB. I am guessing that that used space is where your data files are. How to access it?

    Try to boot into it from the Grub menu which should say something like

    Ubuntu 24.04.1 LTS (24.04) on /dev/sda5
    Tell us what happens. Lets us know if you have two working Ubuntu 24.04 installs and which one you want to be your main Ubuntu 24.04 installation.

    Regards
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  9. #39
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Corrupted Boot partition after upgrade to 24.04

    Edited your post to use Code Tags & remove loops which are just your snap apps.
    Please always use Code Tags, easy to add with Forum's Go Advanced editor and # icon or use quote & change to code.

    What happens when you try these?
    Both mount sda5 with file browser as your lsblk did not show sda5 mounted.
    And boot from grub menu of install in sda5.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #40
    Join Date
    Oct 2024
    Beans
    55

    Re: Corrupted Boot partition after upgrade to 24.04

    Try to boot into it from the Grub menu which should say something like
    I'm all for that idea ... can you give more specifics on how to "boot from the Grub menu"?

    Sorry for being so thick!!

Page 4 of 5 FirstFirst ... 2345 LastLast

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
  •