71
submitted 4 months ago* (last edited 4 months ago) by Tippon@lemmy.dbzer0.com to c/linux@lemmy.ml

This might sound daft, but something similar used to work with live discs.

I've got Windows 10 and Mint 21.1 dual booting on my computer at the moment. Every so often I'll realise that I've missed something from my Windows installation. If it's important, I then have to boot to Windows to get the information, or the settings etc.

Is there a way to virtualise my Mint installation so that I can run both the OSs at once to make sure that I've got everything?

VirtualBox had a tool to do this with a live USB, but that was back in the MBR days, so it probably won't work with modern hardware.

EDIT: Sorry, I should clarify, Mint and Windows are on the same physical disk, and the plan is to remove Windows once I'm done.

Update: I'm giving up. It looks like it is possible if you have separate disks with separate boot partitions, but getting it to work with a shared boot partition is harder work than I'm willing to do right now.

VMware Player can use a partition or disk, but might be in read only mode, I couldn't get far enough to check.

Thanks for all the replies :)

you are viewing a single comment's thread
view the rest of the comments
[-] BananaTrifleViolin@lemmy.world 2 points 4 months ago

What you're asking is if you can run the existing Linux Mint on your drive within Windows running on the same drive?

It may be feasible if VirtualBox or VMWare are able to access/mount the existing Linux partition as if its a virtual drive, and boot the OS but its likely to be difficult. The main issue is that windows does not easily mount Linux partitions. It is also an edge case use for most users so there will likely not be much guidance on how to achieve this easily.

It might work more easily the opposite way round - boot Linux and mount Windows within Virtualbox but is not likely to be straightforward. Windows may be less flexible about being booted into a virtual machine with totally different hardware.

All this may be overkill to the problems you're trying to solve. You can mount the existing NTFS Windows drive within Linux Mint to access all your windows files without any virtualization. But I'm not clear what "settings" you're looking at when you boot back in to windows? That seems to be the stumbling block. Is is specific software / tools you're trying to migrate settings for?

Another approach may be to launch windows, create a new linux Mint VM in Virtualbox, share a folder between Linux VM and Windows host, create whatever settings you're trying to migrate in your VM Linux Mint, and when happy copy the home folder / settings folders into the shared folder. Then boot your PC into linux, mount the windows drive and pick up the settings files from the shared folder to migrate into your main Mint system. But whether that is even worth doing depends on what you're trying to migrate.

[-] Tippon@lemmy.dbzer0.com 1 points 4 months ago

What you're asking is if you can run the existing Linux Mint on your drive within Windows running on the same drive?

Yes, exactly this. It used to be possible with live usb keys years ago, where you could boot the key normally and have a persistent live disc, but there was a Windows tool that would virtualise the key, letting you access the persistent disc from within Windows.

The reason I want to do it is for programs like Thunderbird, where you have to export your settings, email, etc. to be able to import them on the other OS. As far as I'm aware, this can't be done by just copying files, you have to export them first.

I have memory issues, so I often forget about a program until I need to use it, and if I'm already in Mint, it means that I have to stop what I'm doing and reboot, and then lose track of what I was doing in Mint. If I can access both OS at the same time, like with a virtual machine guest and host, I can just grab whatever I need until I've got everything transferred over.

this post was submitted on 20 Aug 2024
71 points (94.9% liked)

Linux

48700 readers
2192 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS