Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

  1. #1
    Join Date
    Nov 2011
    Beans
    10

    Unhappy Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Hello,

    I have a dual-boot laptop that has 1 Ubuntu installation and 1 Windows installation in GRUB. Here is partition configuration:



    I tried to upgrade from 22 to 24 yesterday, and the upgrade worked without any errors. But, when I went to restart, I saw that this upgrade broke my fstab file (I think), and I can no longer load the OS. It looks like the fstab was improperly altered without it being restored during the installation.

    I get many errors, depending on how I configure fstab, and I don't know how to fix them. I can boot from a Live USB and view the fstab file. Here is the output from blkid:

    HTML Code:
    /dev/sda1: LABEL="windows" BLOCK_SIZE="512" UUID="7A7405AA70AE9E28" TYPE="ntfs" PARTUUID="dfed2d2c-01"
    /dev/sda3: LABEL="swap" UUID="152a0490-bd72-45e1-bf6c-f50be9711359" TYPE="swap" PARTUUID="dfed2d2c-03"
    /dev/sda5: UUID="9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1" BLOCK_SIZE="4096" TYPE="ext4" PTTYPE="dos" PARTUUID="dfed2d2c-05"
    /dev/sdc1: LABEL="UBUNTU 24_0" UUID="1A88-8002" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="059287c5-01"
    /dev/loop1: BLOCK_SIZE="131072" TYPE="squashfs"
    /dev/loop2: BLOCK_SIZE="131072" TYPE="squashfs"
    /dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs"
    And the table:
    HTML Code:
    UUID=7A7405AA70AE9E28 / ntfs defaults 0 1
    UUID=152a0490-bd72-45e1-bf6c-f50be9711359 none swap defaults 0 0
    UUID=9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1 /home ext4 defaults 0 1
    How do I fix my installation?
    Last edited by machinus; 3 Weeks Ago at 05:06 AM.

  2. #2
    Join Date
    Jun 2014
    Beans
    7,908

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    How did you do the update/upgrade? Terminal commands, GUI software manager? Not sure how you expect anyone to tell you if there is a problem with your fstab file since you did not post it. Also, you did not post which version of windows you are using which would be useful. You also don't indicate what happens when you try to boot Ubuntu or Windows, warning/error messages?

    UUID=7A7405AA70AE9E28 / ntfs defaults 0 1
    UUID=152a0490-bd72-45e1-bf6c-f50be9711359 none swap defaults 0 0
    UUID=9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1 /home ext4 defaults 0 1
    If the above is the contents of your fstab file, you don't have a / filesystem partition there but only a /home partition which I would certainly not expect to happen without user input.

  3. #3
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    I don't recognise that GParted dump. I have dual boot and my first partition is for Boot.

    Looking at my dual boot in GParted I have
    /dev/sda1 EFI system partition 100MB flags boot, esp
    /dev/sda2 Microsoft reserved partition 60 MB
    /dev/sda3 etc.
    /dev/sda4 etc.


    and I have installed reFind.

    I think you need a first boot FAT partition 500 MB or so.

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

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Because you only have one NTFS with boot flag and MBR(msdos) partitioning since you have extended partition, your Windows is installed in old BIOS/MBR configuration. New systems since 2012 are UEFI with gpt partitioning as Microsoft required vendors to install in UEFI/gpt mode.

    Often very old systems that are BIOS/MBR need a lightweight flavor to work well. Ubuntu works best on systems that also can run Windows 11.
    https://ubuntu.com/download/flavours
    Light weight flavors:
    Lubuntu, Xubuntu, Ubuntu MATE, Budgie
    Flavors of Ubuntu only come with three years of supported life (five years applies to Ubuntu Desktop, Ubuntu Server but not flavors)
    I use Kubuntu which is more mid-weight, but has worked on my very old 2006 laptop and is used on my newer systems.
    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.

  5. #5
    Join Date
    Nov 2011
    Beans
    10

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Quote Originally Posted by oldfred View Post
    Because you only have one NTFS with boot flag and MBR(msdos) partitioning since you have extended partition, your Windows is installed in old BIOS/MBR configuration. New systems since 2012 are UEFI with gpt partitioning as Microsoft required vendors to install in UEFI/gpt mode.
    Yes, I think you are correct. I need to fix this OS before I can make any changes to my setup, though. I was able to boot with 22, but not now with 24. Do you know how I can fix my fstab to make that work?

  6. #6
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Try installing 15 days free trial EasyUEFI in Windows to inspect your setup.

  7. #7
    Join Date
    Jun 2014
    Beans
    7,908

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    It's hard to make suggestions with the limited information you provide. First off, do you actually have some version of windows installed and if so, what is it? As indicated in an earlier post, you have the older style dos/Legacy/CSM install which is shown by the existence of an Extended partition (/dev/sda4) which would not exist on a GPT drive. You don't have an EFI partition which was also pointed out which also confirms a Legacy install.

    What you refer to in your initial post as 'the table' looks like part of an fstab file and shows /home, swap and ntfs partitions. If the line below is from your fstab file, it shows the / filesystem mounted with the UUID and a windows ntfs filesystem. Not sure how that would happen without some user intervention. Usually you will see this line just above the / partition: # / was on /dev/sda1 during installation so if that was your / partition, you've apparently formatted it ntfs and basically overwritten the / filesystem.

    UUID=7A7405AA70AE9E28 / ntfs defaults 0 1

  8. #8
    Join Date
    Nov 2011
    Beans
    10

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Quote Originally Posted by yancek View Post
    It's hard to make suggestions with the limited information you provide. First off, do you actually have some version of windows installed and if so, what is it? As indicated in an earlier post, you have the older style dos/Legacy/CSM install which is shown by the existence of an Extended partition (/dev/sda4) which would not exist on a GPT drive. You don't have an EFI partition which was also pointed out which also confirms a Legacy install.

    What you refer to in your initial post as 'the table' looks like part of an fstab file and shows /home, swap and ntfs partitions. If the line below is from your fstab file, it shows the / filesystem mounted with the UUID and a windows ntfs filesystem. Not sure how that would happen without some user intervention. Usually you will see this line just above the / partition: # / was on /dev/sda1 during installation so if that was your / partition, you've apparently formatted it ntfs and basically overwritten the / filesystem.

    This laptop has Windows 7 as the other installed OS. I can boot into that at the GRUB screen.


    The fstab file I showed above is my attempt to write one. It's all "user intervention." The old one was erased when I upgraded. I do not have a working fstab or any reference file. I need to know how to construct one that will allow me to boot into Ubuntu with the type of setup I have, which as you mentioned is the DOS/Legacy/CSM type.

    I included the blkid output to help figure out how to write a working fs table.

  9. #9
    Join Date
    Jun 2014
    Beans
    7,908

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Did you have a separate /home partition prior to the upgrade?
    Did you have only a / filesystem partitions?
    Do you know which partition was the / filesystem partition? Was it sda5?
    There is no reason for the old fstab file to be erased during an update/upgrade. Take a look at the link below which is an Ubuntu site explaining creating an fstab file, what you need and also some example files. I would first try editing the crrent fstab file below, replace /home with /.

    Code:
    UUID=9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1 /home ext4 defaults 0 1
    https://help.ubuntu.com/community/Fstab
    Last edited by ajgreeny; 3 Weeks Ago at 09:12 AM.

  10. #10
    Join Date
    Nov 2011
    Beans
    10

    Re: Upgrading to Ubuntu 24 on my dual-boot laptop broke my filesystem table. Help!

    Quote Originally Posted by yancek View Post
    Did you have a separate /home partition prior to the upgrade?
    Did you have only a / filesystem partitions?
    Do you know which partition was the / filesystem partition? Was it sda5?
    There is no reason for the old fstab file to be erased during an update/upgrade. Take a look at the link below which is an Ubuntu site explaining creating an fstab file, what you need and also some example files. I would first try editing the crrent fstab file below, replace /home with /.

    UUID=9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1 /home ext4 defaults 0 1
    https://help.ubuntu.com/community/Fstab
    I spent a lot of time trying different fstab configurations through a Live USB and then restarting. I have not been able to identify the correct lines yet.

    I tried the one you suggested. That gives this error,

    HTML Code:
    [ TIME ] Timed out waiting for device /dev/disk/by-uuid/9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1
    And then gives the Emergency Mode console. I was not able to accomplish much there.

    The partitions shown in the gparted console are unchanged from what they were before. So, there was no home partition and only the ones shown there existed before.

    So, I tried this instead

    HTML Code:
    UUID=9ce87bbe-ecfb-4856-96bc-2635c7d4a3b1    /    ext4    defaults    0    0
    This gives "Dependency for SSSD Failed" errors.

    Does this give any clues for what to do next?

Page 1 of 3 123 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
  •