I have a desktop PC dual booting Kubuntu 22.04 and Windows 10. I bought the PC with Windows installed on a SSD. I installed a hard disk on which I installed Kubuntu. I left the SSD connected while I did the Kubuntu install. Grub grabbed Windows as well as Kubuntu, and now Grub controls the booting of both OS's. My intent was to install the two OS's as separate devices and select the boot device through the BIOS. Is there a way I can safely separate the two OS's so that Grub will handle only Kubunbu, and let Windows handle itself? I would like to do this without re-installing everything. Thanks for any help.
Announcement
Collapse
No announcement yet.
revert dual boot
Collapse
X
-
Add GRUB_DISABLE_OS_PROBER=true to /etc/default/grub (you can use Kate for that - or of course Konsole and the CLI text editor of your choice like nano or vim).
Save it and sudo update-grub in Konsole afterwards.
GRUB does not touch the Windows boot loader, btw (at least not with UEFI) - even if Windows (or other systems) are listed in the GRUB boot menu you can still use your UEFI boot menu (or legacy BIOS setting if they are on different drives) to boot the systems independently.Last edited by Schwarzer Kater; Dec 07, 2023, 02:07 AM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
-
In most cases it should - but it can also depend on your UEFI (or legacy BIOS - you did not tell us which one your computer uses) and its settings.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
-
Originally posted by monon View PostMy intent was to ... select the boot device through the BIOS. Is there a way I can safely separate the two OS's so that Grub will handle only Kubunbu, and let Windows handle itself?Regards, John Little
- Top
- Bottom
Comment
-
Thank you, Schwarzer Kater, that fixed my issue. While I have you on the line, I have a laptop with Windows and Linux on the same disk. Would this Grub fix work on that, too?
To jlittle: I was having a problem in that if I even looked at the BIOS, the boot order would get changed to Windows first. Too picky, maybe, but I wanted to, as much as possible, separate Linux and Windows. The only reason I have Windows at all, is to use Turbo Tax.
- Top
- Bottom
Comment
-
Originally posted by monon View PostThank you, Schwarzer Kater, that fixed my issue. While I have you on the line, I have a laptop with Windows and Linux on the same disk. Would this Grub fix work on that, too?
To jlittle: I was having a problem in that if I even looked at the BIOS, the boot order would get changed to Windows first. Too picky, maybe, but I wanted to, as much as possible, separate Linux and Windows. The only reason I have Windows at all, is to use Turbo Tax.
Frankly, if you really only use Windows for Turbo Tax why have it installed to bare metal at all? This is a perfect case for using a Virtual Machine, Then not only is Windows isolated it's also much more easily backed up and you would have snapshot capability of the Windows install.
- Top
- Bottom
Comment
-
Originally posted by monon View PostThank you, Schwarzer Kater, that fixed my issue. While I have you on the line, I have a laptop with Windows and Linux on the same disk. Would this Grub fix work on that, too? […]
But do consider what oshunluvr wrote.Last edited by Schwarzer Kater; Dec 07, 2023, 11:49 AM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
-
Hello, oshunluvr. Maybe you can teach an old dog new tricks. I have had the following problem at least twice, maybe more, with dual booting Linux and Windows: dual booting worked okay until it was necessary to do something in the system BIOS. After exiting the BIOS I was unable to boot Linux and had to resort to boot-repair to fix the problem. So I have been leery of making any changes or examinations of the BIOS. I am a good deal more comfortable with having to use the UEFI to load Windows, especially since I seldom use windows.
Your suggestion to use a Virtual Machine is a good one, but wouldn't I have to buy Windows to do that? If you know a way that I can obtain Windows or somehow use the Windows that is installed on my PC's, I am willing to listen. In any event thank you for ideas and input.
- Top
- Bottom
Comment
-
Originally posted by monon View PostI have to buy Windows to do that?
https://windowsreport.com/windows-10...ut-activation/
I have a license that seems tied to one of my outlook email accounts that I have so far used across three different machines over a number of years, and even upgraded to Win 11 - without any issues activating it. I don't know how I managed that one, but it might be worth checking out:
https://www.makeuseof.com/link-windows-product-key-microsoft-account/
But I'd go with the unactivated Windows install in a VM for your purposes, myself. Or find any way to avoid using Turd-o tax.Last edited by claydoh; Dec 07, 2023, 01:51 PM.
- Top
- Bottom
Comment
-
Originally posted by monon View Post[…] but wouldn't I have to buy Windows to do that? […]
Worst case: you will have to phone the Microsoft robot to validate/activate the licence for the VM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
-
Originally posted by Schwarzer Kater View PostJust use the Windows licence that came with the computer for the VM (but only if you use it in the VM and don't have to install it additionally in a separate partition/drive on the same computer) - at least this is what I had done at work for more than a dozen desktop installations ...
I used qemu/kvm, again following some procedure google found. It was sufficiently simple and straightforward that I soon forgot the details (I wish I had documented it). Windows ran faster in the VM than it had done previously, once I gave it enough memory (6 GiB); I think this was because Windows on that laptop was long overdue for a reinstall. It was handy being able to move the VM around just by copying the files and a quick change to /etc/fstab. I moved it from the laptop's small NVMe drive to a SATA SSD and it still performed well.
After resisting valiantly for several years my work went all in with the Microsoft suite. (The web-based versions of Office were execrable, and Onedrive couldn't be trusted.) Suddenly I had to run several MS softwares in the VM and I had no trouble, though I didn't try anything using the laptop camera.Regards, John Little
- Top
- Bottom
Comment
-
First, to Scwarzer Kater: It appears that I have an EFI partition on the Windows disk, but not on the Linux disk. I am not sure what the implications of this are.
Also, it is not at all clear to me how I would find the microsoft license, or how I would use the software. The Windows software that I have came with the computers. I do not have any CD's or other type of media that contains software.
- Top
- Bottom
Comment
-
Originally posted by monon View Post[…] Also, it is not at all clear to me how I would find the microsoft license, or how I would use the software. […]
To install Wíndows in a VM you can freely download an official ISO from Microsoft and use it with QEMU/KVM, VirtualBox or VMware Player.Last edited by Schwarzer Kater; Dec 08, 2023, 09:07 AM.Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others
get rid of Snap script (20.04 +) • reinstall Snap for release-upgrade script (20.04 +)
install traditional Firefox script (22.04 +) • install traditional Thunderbird script (24.04)
- Top
- Bottom
Comment
Comment