Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Upgrading Ubuntu

  1. Jul 27, 2018 #1
    A while ago I installed Ubuntu 17.10, and now LTS 18.04.1 is out, I want to upgrade to it. I tried to upgrade from Ubuntu 17.10 by typing update-manager -c as the command after I pressed ALT+F2, and while it said that there is LTS 18.04 version available, and asked it I wanted to upgrade, but when I tried to upgrade it gave me an error. Not sure what it was. I am thinking to delete the current version of Ubuntu from the dual boot, and install a fresh version of LST 18.04.1. How safe is it to delete an OS from a dual boot system, and how to do it without missing up the Windows OS? I heard that deleting the occupied part by Ubuntu will miss the Windows OS, and I need the Windows OS CD/DVD and boot in repair Window. But I don't have this CD/DVD. The recovery is part of the Hard Disk.

    So, basically I am asking:
    • How safe is it to delete an OS from a dual boot system?
    • What is the best way to do it that minimizes the risks of missing the other OS?
     
  2. jcsd
  3. Jul 27, 2018 #2

    jedishrfu

    Staff: Mentor

    The best way is to not do it unless you’ve backed up all your key files. In the past, I’ve had trouble with this and usually tracked it back to Windows not being a team player.

    I would suggest getting a second computer for your Ubuntu and don’t use dual boot or to consider using docker on windows where you launch a docker session and work under a Linux environment. Alternatively you could use a usb stick boot to launch Ubuntu.
     
  4. Jul 28, 2018 #3
    By docker session you mean to use Linux from inside Windows? I am trying to switch to Linux eventually, and this won't help. Also, I think a native Linux version runs faster when it has all the hardware resources disposable. Currently, I cannot afford another computer for Ubuntu. To boot it from a USB stick won't save my progress in Ubuntu, will it? In this case, I think it is better to wait until I format Windows the next time, and then install a fresh copy of Ubuntu LTS 18.04.1.
     
  5. Aug 4, 2018 #4
    [emphasis added]

    There are multiple ways to set up a 'live' Ubuntu USB stick, with progress preservable, on the same boot stick or elsewhere.

    For example: if you have a 32gb boot stick, that you've flagged as entirely read-only, and you have, say, 8gb RAM on your machine, you can boot from the stick, and let the OS write to other devices that are accessible to the machine from which you've booted it, e.g. the local hard drive that contains a Win 7 or 10 installation. You could use a separate partition on that drive, or keep a 'nix filesystem in a file on that drive (the former is often easier).

    Alternatively, and quite conveniently, you could partition your 'live' flash device into 2 (or more) logical partitions, with the bootable system partition flagged as read-only, and a second partition flagged as writable, so that you can save your work.

    If you need rapid writes for your applications, you can allocate, say, a 2gb RAM drive, run your processes against files written to the RAM drive, and at end-of-session, clone-write your RAM drive to a disk image file, or write it as a logical volume, to a writable partition of your 32gb flash drive from which you booted.

    If you visualize computer technology implementations that are likely to be something like things that others have realistically wanted to do, I trust that you'll consistently find, if you scout about carefully, a great deal of useful insight that is readily shared by your fellow adventurers out there, especially if you articulate them at least as well as you have here.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted