this post was submitted on 05 Mar 2026
21 points (92.0% liked)

Linux

16524 readers
154 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

So, I need to dual boot my computer into windows. I have been using only zorin for a while but now I need to dual boot for school. I purchased a new drive, so I don't have to partition my current drive but it is larger than my current drive. Is there an easy way to move zorin onto the new drive and have windows on my current one? Or will I just have to flash zorin onto the new one and then reimage windows onto my current one?

top 14 comments
sorted by: hot top controversial new old
[–] one_knight_scripting@lemmy.world 1 points 7 hours ago* (last edited 6 hours ago)

If you need to dual boot, you can. I think people have already pointed out clonezilla which is a tool that I love. But I'm in school programming assembly using MASM. I found multiple options for this.

A container running msvc via wine utilizes msvc compilers and works with cmake. See here

Or using winapps. Technically, it runs a VM within a container. The part that is cool about winapps is that it uses FreeRDP to basically accomplish what Microsoft RemoteApp used to, it makes it appear as if the program is just running on Linux without any major changes.

[–] xyguy@startrek.website 2 points 10 hours ago

Clonezilla can do that for you. Very easy, very reliable.

[–] drkt@scribe.disroot.org 11 points 1 day ago* (last edited 1 day ago)

boot any distro from a USB

dd if=/dev/(SMALL DISK) of=/dev/(BIG DISK) status=progress

Do not target partitions, ie /dev/sda1, but target the disk itself, so all partitions are copied over, ie /dev/sda

wait for it to finish

use any partitioning tool to expand the Zorin partition to fill out the remaining space. I like to use gparted.

Fuck cloning software, just do it yourself. It's easier.

[–] _Nico198X_@piefed.europe.pub 5 points 1 day ago (1 children)

can't run windows in a vm?

[–] StrongHorseWeakNeigh@piefed.social 6 points 1 day ago (1 children)

I haven't had any success doing that at the very least. I'm sure I could make it work but I need it for programming in visual studio and I might as well just have a dedicated drive.

[–] MunkyNutts@lemmy.world 1 points 1 day ago* (last edited 1 day ago) (2 children)

~~That can be had in Linux too.~~

My bad, I'm new to all this.

[–] StrongHorseWeakNeigh@piefed.social 5 points 1 day ago (1 children)

Visual Studio and Visual Studio Code are not the same thing

[–] cenzorrll@piefed.ca 3 points 1 day ago

Kind of like how outlook and outlook aren't the same thing, and copilot and copilot and copilot 365 aren't the same?

Visual studio and visual studio code are two different things.

[–] brickfrog@lemmy.dbzer0.com 2 points 1 day ago (1 children)

Like others said dd should work.

If for whatever reason you prefer cloning software I'm pretty sure Clonezilla will easily do a disk-to-disk clone, just double-check if you still need to expand the partition on the new drive after cloning (I don't remember if Clonezilla does that for you).

[–] s38b35M5@lemmy.world 2 points 12 hours ago

Clonezilla is great, and simplifies the use of dd

[–] BigTrout75@lemmy.world 1 points 22 hours ago

Just wanted to say, sometimes it's easier having two drives. If you have an extra slot I would do that. You could try vm too. I prefer KVM, but virtualbox is fine and easier.

Use dd! It's a tool that allows you to copy the contents of anything bit-for-bit to anywhere else. First, you'll need to boot into a live USB of any distro. Then, after plugging in both drives, you'll want to run something like dd if=/path/to/source/drive of=/path/to/output/drive bs=4M. You can get the paths of each drive by running lsblk, and they'll look something like /dev/sda1 or /dev/nvme0n1. (Be very careful with dd, as whatever you put as the output drive will be irreversibly overwritten with whatever you put the input drive as.)

What you want is cloning software. You can use proprietary software like Acronis. I have used it for years but it costs.

Or you can choose free software like Clonezilla that you will flash and then boot into on a computer with the old drive and the new drive attached via an adapter. I don’t think it works if the drive is in the computer. Last time I did this a month ago, it didn’t detect the internal drive, only the drives we had attached via USB adapters.

You’ll be able to clone the old drive to the new one and even customize if you want the sizing to remain the same, relatively speaking, or let it consume the new drive naturally, which I prefer.

Once you do that, then you can move on to doing dual boot.

Be careful doing it this way though. Because dual booting by installing Windows after Linux usually requires you to reconfigure your Linux bootloader (GRUB, systemd, etc.) because Windows will override it with its own bootloader that doesn’t recognize any other OS. It’s not impossible, just annoying so most people opt to install Windows then install Linux for dual booting in that order. If you can, you might choose to install Windows on the new drive and then install Zorin afterwards and then bring over your old files and settings after the fact. That might be an easier method here than cloning.