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

Thread: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

  1. #1
    Join Date
    Apr 2010
    Beans
    78

    Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    I need some advice on upgrading from 10.04 LTS Lucid Lynx to 12.04 LTS Precise Pangolin. Lucid support ends in 3 days on 2013-05-09, so I've kind of left it to the last minute.

    Many people seem to have had problems upgrading directly from 10.04 to 12.04 using a "dist-upgrade", so I was thinking of burning a Precise install DVD and doing a clean install. However I do not want to overwrite my '/home/' directory tree and lose all my application settings. Can I keep '/home/' and just install the 12.04 LTS Precise Pangolin OS? Can I have advise on how best to do this please?

    I will, of course, backup the whole of '/home/user/' but within my home directory tree I have >750 GB of data - restoring this via my USB external HDD would take days! - so I don't want to overwrite '/home/user/' when doing the 12.04 OS install.

    Many thanks.

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,570
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    If /home is not a separate partition, you can't save it. Because best is to format the / partition when installing the new version, and if home is only a folder in / it will get formatted too.
    If /home is a separate partition, you can format / but not format /home and reuse it as /home again.

    Also, I don't think you upgrade to a new release with dist-upgrade, that it only to upgrade all packages to the most recent version. To upgrade the ubuntu release you use do-release-upgrade.

    In any case it's best to have a full backup, which ever choice you make.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

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

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Just for the record and because you are not the first person to get this wrong, "dist-upgrade" does not upgrade to the next release of Ubuntu. It is a way of upgrading the existing install of Ubuntu. It is similar to "upgrade."

    In my opinion a sensible way of upgrading from 10.04 to 12.04 is to use Update Manager. Run

    Code:
    update-manager -d -c
    That should prompt the Update Manager to give a button inviting you to upgrade to 12.04. At least it did as far as I can remember from a year ago when I was testing upgrades from 10.04 to 12.04. Revert your 10.04 to as basic an install as possible. Remove PPAs.

    Official advice

    https://help.ubuntu.com/community/PreciseUpgrades
    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. #4
    Join Date
    Apr 2010
    Beans
    78

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Thanks for the advice. Sorry to take a week to get back to you I had to unexpectedly go abroad for this last week.

    "/home" is in fact in a separate partition, so I'll do a 12.04 LTS Precise Pangolin clean install of "/" but not of "/home".

    Cheers.

  5. #5
    Join Date
    Jun 2007
    Location
    Hikkaduwa, Sri Lanka
    Beans
    3,449
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    You may need change permissions to get access to the home partition.

  6. #6
    Join Date
    Apr 2010
    Beans
    78

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Quote Originally Posted by C.S.Cameron View Post
    You may need change permissions to get access to the home partition.
    Can you say when this would need to be done, what would need to be changed, and why this would be necessary?

    Thanks.

  7. #7
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,570
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    If you want to keep using your /home partition, which you do, you need to "use it" during the install, just not to format it.

    So, you reuse the root partition as ext4 with mount point / and tick the format box. You reuse /home as ext4 (or different filesystem if you had a different one, it has to match the existing filesystem, that's very important), with mount point /home and NOT ticking the format box.
    When the partitions list shows, make sure /home does NOT have the format column selected.

    If you use the same first user as in the previous installation, all should be well and you don't need to change any ownership or permissions. You should always create the same first user when using existing /home.

    You can create other users later.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  8. #8
    Join Date
    Apr 2010
    Beans
    78

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Okay got it. Thanks very much.

    All clear and ready to go for the big move from Lucid to Precise this weekend. Kinda exciting.

  9. #9
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Quote Originally Posted by darkod View Post
    To upgrade the ubuntu release you use do-release-upgrade.

    In any case it's best to have a full backup, which ever choice you make.
    ^^^ This.

    +1 to Backup: there is always a risk of breakage when going down this path, so having a backup of important stuff.
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

  10. #10
    Join Date
    Apr 2010
    Beans
    78

    Re: Advice needed on 10.04 LTS to 12.04 LTS upgrade.

    Okay got it. Thanks very much.

    All clear and ready to go for the big move from Lucid to Precise this weekend. Kinda exciting.

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
  •