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

Thread: Restoring Windows without ruining Ubuntu

  1. #1
    Join Date
    Jul 2020
    Beans
    7

    Restoring Windows without ruining Ubuntu

    Hi!

    During last update to Ubuntu 19.10 I've had some issues with nVidia driver that was included in the release, as a result my Ubuntu would not boot and I had to re-install it.
    Not sure how that happened but along the way I ruined my Windows also installed on the same machine.
    I did not need Windows on that machine so I did not care much back then but now I need again to do some tasks using Windows.

    So what I am trying to do is to re-install Windows but without ruining my current Ubuntu that I use as my primary OS.
    I know that reinstalling windows is easy but not ruining Ubuntu is the part that worries me the most.

    Need an advice or some guidance how I can go about it!

    This is what my disk currently looks like:




    laptop-disks.jpg

  2. #2
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Restoring Windows without ruining Ubuntu

    nvidia drivers are not part of Ubuntu and are not included. you should remove them before doing the upgrade.

    Install windows, then you need to reinstall grub. probably UEFI install, right? https://help.ubuntu.com/community/UEFI

    windows are not affected by Ubuntu upgrades /installs. What can get affected is grub that points to windows master boot record.
    on the other hand upgrading windows can ruin Ubuntu, but again i think only grub is then overwritten.

    also not sure what you need to do in windows, but using virtualbox for limited tasks is a more elegant solution (if you have the RAM for it). for more serious prolonged work, you do need dual boot.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Disk backup (works on newer PC): Clonezilla
    User friendly full disk backup Redobackup is now back as Rescuezilla

  3. #3
    Join Date
    Jul 2020
    Beans
    7

    Re: Restoring Windows without ruining Ubuntu

    Quote Originally Posted by mastablasta View Post
    nvidia drivers are not part of Ubuntu and are not included. you should remove them before doing the upgrade.

    Install windows, then you need to reinstall grub. probably UEFI install, right? https://help.ubuntu.com/community/UEFI

    windows are not affected by Ubuntu upgrades /installs. What can get affected is grub that points to windows master boot record.
    I believe nVidia driver is included starting 19.10 and, I believe, this is what caused me the issue. After the upgrade I've got error message, saying something about nvidia.
    https://www.omgubuntu.co.uk/2019/05/...ia-drivers-iso
    Since it was new release and new error related to this change - I could not even find error message like this on the internet by googling it.
    I was not able to figure out how to fix it quickly and since it is my work machine and I needed to have it running without researching the problems for days I just decided to re-install Ubuntu.
    I do not remember exactly what I did to ruin Windows, something on SSD partitioning step, I did not care much back then.



    Quote Originally Posted by mastablasta View Post
    on the other hand upgrading windows can ruin Ubuntu
    This is why I am here

    Quote Originally Posted by mastablasta View Post
    also not sure what you need to do in windows, but using virtualbox for limited tasks is a more elegant solution (if you have the RAM for it). for more serious prolonged work, you do need dual boot.
    I need to work with some graphics applications, performance in VB/VMWare is not great.

    Quote Originally Posted by mastablasta View Post
    but again i think only grub is then overwritten.
    I am afraid that I might screw it up on the partitioning stage

    I might need at least some help identifying the particions I can safely delete so I could maximize the available space.

    Does it look like only the last 3 partitions are belong to Linux and
    Can I safely delete all the partitions in the front in order to install windows there?

  4. #4
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    2,905
    Distro
    Ubuntu Development Release

    Re: Restoring Windows without ruining Ubuntu

    My primary PC is a desktop. I have a 512 GB. NVMe drive and 128 GB. SATA SSD. I have Windows on the SSD. It stays unplugged the vast majority of the time so when I plug it in there are all sorts of updates. I haven't had GRUB broken since keeping Windows on a separate drive. When I did have Windows and Ubuntu on the NVMe drive, Windows update did break GRUB but boot-repair fixed it.

  5. #5
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,294
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Restoring Windows without ruining Ubuntu

    Quote Originally Posted by jazz.fog View Post
    I believe nVidia driver is included starting 19.10 and, I believe, this is what caused me the issue. After the upgrade I've got error message, saying something about nvidia.
    Starting 19.10 (or 18.04.4), the AMD drivers are included on a fresh install, not the nvidia drivers. Those can be installed from the official repositories, section "restricted", what you probably did. That's all for license reasons. They may get occasional upgrades. I don't think you have to remove them before a release upgrade, but I've no nvidia graphics here, so I can't say for sure.

  6. #6
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Restoring Windows without ruining Ubuntu

    Quote Originally Posted by jazz.fog View Post
    I believe nVidia driver is included starting 19.10 and, I believe, this is what caused me the issue. After the upgrade I've got error message, saying something about nvidia.
    https://www.omgubuntu.co.uk/2019/05/...ia-drivers-iso
    Since it was new release and new error related to this change - I could not even find error message like this on the internet by googling it.
    I was not able to figure out how to fix it quickly and since it is my work machine and I needed to have it running without researching the problems for days I just decided to re-install Ubuntu.
    I do not remember exactly what I did to ruin Windows, something on SSD partitioning step, I did not care much back then.
    that's kind of like adding exe file to windows install disk. it's there but nothing happens unless you run it.


    otherwise hard to see from your photo. 2,3 and 4 are osme kind of windows partition, parittion 1 is boot partition. leave 6, 7 and 8 alone - they are ubuntu partitions.

    you can also do backup and full reinstall and rearrange partitions. but careful with the one using bitlocker - it's locked and you will need key or unlock it and backup the data.
    Read the easy to understand, lots of pics Ubuntu manual.
    Do i need antivirus/firewall in linux?
    Disk backup (works on newer PC): Clonezilla
    User friendly full disk backup Redobackup is now back as Rescuezilla

  7. #7
    Join Date
    Jul 2020
    Beans
    7

    Re: Restoring Windows without ruining Ubuntu

    Quote Originally Posted by kurt18947 View Post
    My primary PC is a desktop. I have a 512 GB. NVMe drive and 128 GB. SATA SSD. I have Windows on the SSD. It stays unplugged the vast majority of the time so when I plug it in there are all sorts of updates. I haven't had GRUB broken since keeping Windows on a separate drive. When I did have Windows and Ubuntu on the NVMe drive, Windows update did break GRUB but boot-repair fixed it.
    Yeah, I've had issues with erased grub after windows update and I've fixed it multiple times, this is not what bothers me.
    What I am trying to do is to delete unneeded partitions and re-install windows from scratch using maximum available space but not to ruing Ubuntu doing that.

    Quote Originally Posted by Impavidus View Post
    Starting 19.10 (or 18.04.4), the AMD drivers are included on a fresh install, not the nvidia drivers. Those can be installed from the official repositories, section "restricted", what you probably did. That's all for license reasons. They may get occasional upgrades. I don't think you have to remove them before a release upgrade, but I've no nvidia graphics here, so I can't say for sure.
    Hard to tell, but I did not do anything special during the upgrade.

    And yes, after the upgrade failed and I re-installed Ubuntu I've got newer nVidia driver that I had before.

  8. #8
    Join Date
    Jul 2020
    Beans
    7

    Re: Restoring Windows without ruining Ubuntu

    Quote Originally Posted by mastablasta View Post
    that's kind of like adding exe file to windows install disk. it's there but nothing happens unless you run it.
    Gotcha, maybe just a coincidence then that I've got nVidia driver-related issue during the upgrade.

    Quote Originally Posted by mastablasta View Post
    otherwise hard to see from your photo. 2,3 and 4 are osme kind of windows partition, parittion 1 is boot partition. leave 6, 7 and 8 alone - they are ubuntu partitions.
    Here is the screenshot of 1st partition details


    It looks like Windows related since it says FAT. Would you suggest to leave it alone or delete?
    To be clear, I do not care about that old Windows installation and I am OK with loosing everything related to it since I am going to re-install it.

    UPD: According to this
    https://help.ubuntu.com/community/UEFI and the icon indicators it looks like it is in use and I need it, so I will leave it alone.



    Quote Originally Posted by mastablasta View Post
    you can also do backup and full reinstall and rearrange partitions. but careful with the one using bitlocker - it's locked and you will need key or unlock it and backup the data.
    Yea, I do not worry about the data though backing up the entire disk with partitions sounds like a good idea,
    would you suggest any free software that help with that?
    Last edited by jazz.fog; July 3rd, 2020 at 11:34 PM.

  9. #9
    Join Date
    Jul 2020
    Beans
    7

    Re: Restoring Windows without ruining Ubuntu

    Screenshots of all partitions (Click to see bigger image)





    Last edited by jazz.fog; July 3rd, 2020 at 11:29 PM.

  10. #10
    Join Date
    Jul 2020
    Beans
    7

    Re: Restoring Windows without ruining Ubuntu





Page 1 of 2 12 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
  •