There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Blue_Morpho , in Can a Linux installation be run as a VM in Windows?

Windows has hyperV VM manager built in.

TheBigBrother , in Is Debian with automatic updates a good idea?

On desktop I usually do manual installation of updates(mostly cos I don’t want to get any important running program restarted), in servers I use automatic updates via cron job as part of the automation process, these two work for me.

walthervonstolzing , in Can a Linux installation be run as a VM in Windows?
@walthervonstolzing@lemmy.ml avatar

If you’re using the ‘Pro’ or ‘Education’ license for Windows 10, you can look into Hyper-V, which should allow you to boot a VM from a physical disk.

Hyper-V is built-in to Windows; & you just need to enable it in system settings.

Not sure if it works with partitions, if you’re dual booting the OSs from separate partitions on the same disk – it probably doesn’t; in which case you might need to migrate Mint to its dedicated disk first.

Tippon OP ,

Yeah, it’s partitions that I’m dealing with. My goal is to transfer everything over, give it a few weeks to make sure that I haven’t missed anything, then wipe Windows from the partition so that Mint has the full disc.

stardustsystem ,
@stardustsystem@lemmy.world avatar

Hyper-V will work with physical disk, but be warned - the wizard you run through when making a VM will make it look like you give the VM a VHD file for storage or nothing. Just attach no storage to the VM initially, then go into the VM settings after the wizard is complete to attach something besides a VHD.

Can’t entirely remember if it handles partitions but I know it can boot particular disks and if the setting exists, that’s where it would be

Tippon OP ,

This is what I’m trying at the moment. I found this question on Super User that suggests it can be done, but like you say, the wizard makes it look like you have to use a file first.

superuser.com/…/boot-physically-installed-linux-i…

osaerisxero ,

This is one area where Win11 (and maybe an updated win10?) might have a leg up: my hyper V has the option of adding a disk later in the wizard, which allows me to go into IDE controller 0 and mount a physical disk in the new vm's settings:

https://files.catbox.moe/ss8pwv.png

https://files.catbox.moe/nr9rdl.png

Tippon OP ,

I might have hit my limit :(

VMware is letting me do something similar, and I’ve attached the Mint partition, but because the boot partition is separate and in use, it’s not letting me go any further. There’s probably a way around it, but it’s beyond what I know how to do, and I don’t want to risk breaking my Mint installation.

namingthingsiseasy , in So what did it take for you to go to Linux?

It was always obvious to me that as long as I was using closed source software that any day could come when the vendor would screw me over. In fact, it could have been running it with bundles and bundles of spyware already and I had no way of knowing it. So I pledged to start using open source software only, to make sure that wouldn’t happen. First, I migrated all my desktop applications to open source alternatives. Then I finally made the switch.

thisisbutaname , in Can a Linux installation be run as a VM in Windows?

Yes, you can run Linux in a VM.

But also: you should be able to access your Windows partition from Linux, as it supports NTFS and FAT filesystems, and view the files there.

What I do is I have one partition with Windows, one with Linux, and a third one (with an NTFS file system) for the files I need to access from both.

Tippon OP ,

Sorry, I should have clarified, I’ve got a data disc, but I’m forgetting about things that need to be migrated, like Thunderbird profiles and Syncthing. As far as I can tell, I need to export them first, and then import them in Mint. If I set Mint as a VM, I should be able to do it all in one go and hopefully not forget anything else :)

xeekei , in So what did it take for you to go to Linux?

I was a curious 14yo. Tried out OpenSUSE 10.2 (10.3? Can’t fully remember) with KDE 3.5 and had a blast.

jjlinux , in So what did it take for you to go to Linux?
@jjlinux@lemmy.ml avatar

I’ve been playing with Linux distros for over 25 years now. I can’t recall what made me go exclusively to Linux,but it had to do with me wanting more control over my devices. I remember that I ended up killing Windows entirely after dual booting 7 (I did not want to move to Windows 10 and EOL for 7 was rapidly approaching) with Linux Mint in 2019 on an Alienware laptop. I started running as much software as I could on Mint, getting to learn LibreOffice pretty well, but I still had to keep a VM for work, as the in-house platform was Windows only.

About 3 years ago my company accepted to provide me with a Windows 365 cloud computer, and I’ve been solidly using Linux exclusively since then (except for work, but that’s going away too as the new platform is fully Web based).

Truth is that I never liked Windows because it’s and incredibly intrusive OS, so I have not missed it one bit.

corvus , in Is Debian with automatic updates a good idea?
@corvus@lemmy.ml avatar

Debian is the first choice if you look for stability and the last choice if you are looking for the latest versions of the software.

HouseWolf OP ,

That’s what I’ve heard just wanted to see if anyone on here had experience just letting it update in the background.

anindefinitearticle ,

It’s a low-maintenance distro.

kbal , in Is Debian with automatic updates a good idea?
@kbal@fedia.io avatar

Debian stable? It's probably about as safe as you can get for that. Problems are rare. Bookworm is supposed to get security updates until 2028. If they keep on being as stable as they have been in my experience the only one he's likely to notice is Firefox updating to a new major version once a year.

HouseWolf OP ,

I honestly forgot Debian had a none stable version.

He’s not too picky with web browsers as long as it…well browses the web.

I’ll give it a go and hopefully get 4 years away from being tech support. Thanks!

Elonkilledmymom , in So what did it take for you to go to Linux?

Been meaning to make the switch for years now. Was going to do it before Windows 11 either way. Second full screen popup telling me I should switch to Windows 11 I downloaded an ISO, put it on a USB and haven’t looked back. NVMe made it that much faster.

Mountaineer , in Can a Linux installation be run as a VM in Windows?
@Mountaineer@aussie.zone avatar

I think all the existing answers are on the basis of creating a new Linux VM.

And if I understand you correctly, you already have a bare metal Linux install that you want to run whilst Linux is up.

This is the best search result I could find: forums.virtualbox.org/viewtopic.php?t=93437

It sounds like Virtualbox will indeed create a pseudo vhdx that points to a real partition, but windows is going to give you permissions drama.

The above link is out of date though, so its best viewed as info rather than guide.

Good luck.

Tippon OP ,

Thanks for the link :)

Unfortunately, it doesn’t look like they got it working from a partition, but I’ve found this link for VMWare that might work:

superuser.com/…/boot-physically-installed-linux-i…

bigmclargehuge , in So what did it take for you to go to Linux?
@bigmclargehuge@lemmy.world avatar

Bought a Raspberry Pi back in 2019 or 2020 with the intention of making a little handheld emulation game console. I tried Ubuntu on it and thought it was neat enough to install on a secondary drive on my main computer to tinker with. At that point, I didn’t care so much about the FOSS/Unix philosophy, I was just fascinated by the technical aspect; my computer can run an entire other OS besides Windows, which was the only thing I knew for almost two decades.

Now I exclusively use Linux and would only use Windows if it was an absolute necessity.

fmstrat , in What vm software you use on linux

Replied to others with this but realized you won’t get those notifications. I finally got around to releasing this, which is Debian in your browser via Docker: nowsci.com/webbian

BananaTrifleViolin , in Can a Linux installation be run as a VM in Windows?

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 OP ,

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.

ozymandias117 , in So what did it take for you to go to Linux?

I’d used Linux a bit out of curiosity in the Windows XP era

Windows Vista came out and was completely unusable on the computers I or anyone around me owned. It was also harder to configure than Linux and the new UI looked worse than the Linux UIs at the time

So I switched and haven’t been back to Windows since

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines