Setup Manjaro Windows Dualboot

sudo fdisk -l

Disk /dev/nvme0n1: 476,96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SSDPEKKF512G8 NVMe INTEL 512GB          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E1A9CACF-453F-42C5-81EF-B40BB6752DAB

Device          Start        End   Sectors   Size Type
/dev/nvme0n1p1   4096     618495    614400   300M EFI System
/dev/nvme0n1p2 618496 1000206899 999588404 476,7G Linux filesystem

Only if Manjaro is on the external ssd. If you are going to put Windows on the external, it will not affect Manjaro from booting when it is missing.

But be sure to read the tutorials on this forum about dual-booting before doing anything. You may not be able to access Manjaro right after installing Windows.

I guess only Windows Enterprise Edition will run from an external disk, but I might be wrong.

I never tried. But if that is true, you could always force to BIOS to think the external is the only drive. Install Windows, then redo the bios normally and let GRUB handle the rest.

Actually, that might be the safest way.

EFI is tricky. Probably better to follow the tutorial.

You can install on a device connected via thunderbolt aka USB3.1.

I don't know if it is a good idea since the grub will be on your external device and if not done right you may be in a situation where you will always need the device connected at boot time.

You can use the firmware's boot selection and by that approach avoid the mentioned pitfall.

It seems your system should handle a VM well.

I have a VM with Win10 and Visual Studio on an i5 and I can run the VM with 4 cores and 8GB RAM on a 128GB virtual disk and it is running well despite being virtual.

You can also dedicate a partition and use the partition as a raw image in VB.

If I'm not mistaken then the article is for people with a running windows system whom want to install manjaro, in my case its the other way around.

I guess since it will be the fastest way and I dont have to buy new hardware I'd be reluctantly be okay with installing it on my build in SSD. I am downloading the windows 10 .iso as I type, so since I don't have a USB port anymore I have to plug a thunderbolt to usb adapter into my computer and make a bootstick out of it. But if I remember correctly windows bootsticks are not too happy with being installed as second choice which is why you normally install windows first and the get rid of its bootloader and replace it with grub. How do I proceed in my case?

I got my manjaro system with 100% partition used.
I got grub already installed.

My system doesnt handle the VM well by any means left clicking takes like 3 sec for a response...
You cant work with this.

You are correct - I did not understand your issue fully and the guide is not targeted your challenge. - Windows don't like being second :frowning:.

And I understand your reluctance to mess with Windows on your hardware. I wouldn't either :slight_smile:.

That can be a pain - did you enable virtual extensions in the firmware? (Vt-x or something)

This is why I wanted to install it on a external SSD in the hope to being able to plug and play it if needed as in my current situation. I could get an SSD from a local hardware store (probably) but I'm not sure. And time is kind of an issue since I have to take part in the lecture and actively use the software for projects. I'm kinda in a situation where I don't know whats my best option, and would be glad if someone who has some experience regarding my issue would show up :sweat_smile:.

So basically my options are

  • Get a external SSD with thunderbolt install windows (how?) and hope that grub will be fine (will it?)
  • Rezize my partition and install windows (after manjro is already isntalled) ... (how?)

Greetings dabard

I tried like 1000 things yesterday and I basically gave up since the software that I have to use for my project is rather high in need of computation power (STK a programm for satelite orbit calculations for example)

You will quickly get annoyed with that solution - I tried just recently - running a VM from a USB3 connected SSD - it was a pain.

The problem - as I remember - is that Windows don't like to be second.

I think your options boils down to

  • backup your homefolder
  • create a Windows stick (guide above)
  • install Windows (128GB partition)
  • install Manjaro (guide above)

This is what I would choose - based on what you tell.

Thats like the worst option ever. I dont even want a damn windows system, I just need this software to run... But I am afraid you are right... god I hate windows even more now since I can't install it second...

Would you assist me? In backing up.

Any chance pacman got a list of installed packages somewhere, so I can do something like

sudo pacman -uninstall/install so you end up with this list

I removed snap for example since it takes for ever to start and by default some programms are installed via snap but could also be installed via "not snap" and I'd basically would like to not reconfigure my whole system.

But I guess thats gonna be a unfullfillable wish hmmm?

Edit1: How do I copy my home folder and keep the ownder:group properties when I put it back?

Make yourself a list of apps you have added after you installed Manjaro.

This could be a relatively short list. Make it a simple text file with one package on a separate line.

Use a remote device some external storage to copy everything from your home folder (except .cache) including hidden files and folders.

When you have reinstalled Manjaro

  • install the package list
    copy your text file to your home folder
    sudo pacman -Syu - <packages.txt
  • copy all files back to your home folder

logoff -> login -> done

You can simply further by resizing your current partition - create a new partition and format with ext4.

Mount it temporarily

Copy your entire $USER folder from home to the new partition

cp /home/$USER /new/partition/mountpoint

When you install Windows choose to manually create the partition scheme and make sure you do not touch your backup partition.

When you install Manjaro - during the partitioning you can choose to mount the partition containing your $USER home as /home and you will - without much effort have all your settings and data readily available.

1 Like

This step is unclear to me.

Edit1: Sorry, I should explain this in more detail. What do you mean by "usa a remote device to copy".
I interpreted this as I use some external tool to help me keep my owner:group rights.
So after I gave it some thought I am guessing that you mean I should just use cp -r .
Google told me -p option keeps ower:group for me.
So I will go for cp -rp /home/myusername /externaldrivemountpoint/myusername?

1 Like

USB device / Cloud device / LAN device - just raw copy your files.

The folder in your home named .cache is not required to backup.

Depending on your file manager use Ctrlh or Ctrl. to show/hide hidden files/folders

1 Like

I did not see this edit, thats a nice idea!

I use a slightly different version but you got the idea.

The concept I am using is converted to a howto

Are you sure your VM is set up correctly? Which VM Manager is it?
Your CPU should be powerful enough to handle a Win7/10 VM.

"Oravle VM VirutalBox Manager" Win10 VM

Forum kindly sponsored by