Git Product home page Git Product logo

Comments (5)

hakuna-m avatar hakuna-m commented on July 26, 2024

Currently, I'm running Windows 10 alongside Ubuntu.

"Windows alongside Ubuntu" indicates that you do not use a Wubi installed Ubuntu. On the one hand this is good news for you because you don't have to pay attention because of Wubi, on the other hand it's bad news because you cannot get any additional help from the Wubiuefi project.

For Ubuntu without Wubi see e.g.

from wubiuefi.

med1coo avatar med1coo commented on July 26, 2024

Hey, I probably expressed myself incorrectly. I definitely installed Ubuntu over Windows (with the WubiUefi Installer) and also have a host system folder and Wubi files.

from wubiuefi.

hakuna-m avatar hakuna-m commented on July 26, 2024

Sorry, I missunderstood your question because the term "Ubuntu alongside Windows" is also used for Dual Boot in standard Ubuntu installer.

To your question:

If you use the standard upgrade procedure of Ubuntu...

.... it should only upgrade the files on Wubi disks in folder /ubuntu/disks. It is like every update.

It is not necessary to upgrade or update also Wubiuefi on Windows which only runs two times. One time for install Ubuntu and one time to uninstall Ubuntu. For installation, some configurations depend on the installed Ubuntu release (e.g. ISO file), but installation was in the past. For uninstall, it does not matter, because it is a stupid deletion of the whole Ubuntu folder on Windows and some Windows entries which have never been changed from Ubuntu.

So theoretically, it should be no problem, if you ensure that you have sufficient free space (see e.g. Live Resize, and consider backing up the \ubuntu\disks directory (from Windows) in case there are any errors, or you prefer to revert to the old release.

Unfortunately, some upgrades especially from LTS to LTS, try to replace a lot of packages and configurations which can cause more issues than standard updates. e.g. it is not a good idea to remove package lupin-support in 22.04 if you need Grub menu entries and the boot loader for Wubi disks. see #337 (comment)

So sometimes it is better to uninstall Wubiuefi (be careful, Windows folder /ubuntu will be deleted, you need a back up!) and install a new release and then copy files from a saved Wubi disk to your new install. e.g. my saved Wubi disk is in Windows folder /ubuntu_1804. I can attach the Wubi disk for 18.04 with:
sudo losetup -f /host/ubuntu_1804/disks/root.disk

from wubiuefi.

med1coo avatar med1coo commented on July 26, 2024

Alright. I believe I now have a better understanding. If I'm correct, the root.disk files contain pictures, music, documents, and everything I've saved on Ubuntu (/), is that right?

I've also had some negative experiences with do-release-upgrade; most of the time, it causes a lot of issues that take me hours to fix. I think the second option is the best. What happens when I run losetup on a freshly installed Ubuntu? Is it similar to a harddrive that I can find under "On This Computer"? If not how do I access these files? Is the way also the same, when I install instead of 20.04, 22.04?

from wubiuefi.

med1coo avatar med1coo commented on July 26, 2024

@hakuna-m also the swap.disk contains just memory, which is not important?

from wubiuefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.