[opensuse] dual boot mounting and virtual machines
Is there a way to mount a linux partition in a linux virtual machine on a windows host? The idea is, sometimes I have to boot into windows on my laptop. Most of the time I am in linux, but occasionally I need a true windows environment, without the overhead of a windows virtual machine running in a linux host. When running windows, I have a program that allows me to see and read files on my ext4 partition on the laptop, but it is buggy and performs poorly. Instead, I would like to have a virtual machine running opensuse on my windows host and mount my ext4 partitions on that virtual machine, even though they don't mount in windows without special software. That way I could access my data files from my linux partition, use the applications I am used to that only run on linux, but still be able to use windows. It would not be my normal mode of operation, but it would give me a lot of flexibility. The barrier seems to be figuring out how to get a virtual machine to recognize the file system of the physical hard drive, rather than only recognizing virtual drives. Maybe I could trick it into thinking it is a network drive, or something like that? -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Op maandag 1 oktober 2018 14:16:32 CEST schreef George from the tribe:
Is there a way to mount a linux partition in a linux virtual machine on a windows host?
The idea is, sometimes I have to boot into windows on my laptop. Most of the time I am in linux, but occasionally I need a true windows environment, without the overhead of a windows virtual machine running in a linux host. When running windows, I have a program that allows me to see and read files on my ext4 partition on the laptop, but it is buggy and performs poorly.
Instead, I would like to have a virtual machine running opensuse on my windows host and mount my ext4 partitions on that virtual machine, even though they don't mount in windows without special software. That way I could access my data files from my linux partition, use the applications I am used to that only run on linux, but still be able to use windows. It would not be my normal mode of operation, but it would give me a lot of flexibility.
The barrier seems to be figuring out how to get a virtual machine to recognize the file system of the physical hard drive, rather than only recognizing virtual drives. Maybe I could trick it into thinking it is a network drive, or something like that? That can be done, provided the VM has access to the same network the laptop's on. On the laptop setup NFS server ( through YaST ), export f.e. /home/george/ Documents. In the VM, setup the NFS client, and mount the export f.e. on / home/george/LaptopDocs
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 01/10/2018 à 14:16, George from the tribe a écrit :
The barrier seems to be figuring out how to get a virtual machine to recognize the file system of the physical hard drive, rather than only recognizing virtual drives. Maybe I could trick it into thinking it is a network drive, or something like that?
http://www.virtualbox.org/manual/ch09.html#rawdisk jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/1/18 8:34 AM, jdd@dodin.org wrote:
Le 01/10/2018 à 14:16, George from the tribe a écrit :
The barrier seems to be figuring out how to get a virtual machine to recognize the file system of the physical hard drive, rather than only recognizing virtual drives. Maybe I could trick it into thinking it is a network drive, or something like that?
http://www.virtualbox.org/manual/ch09.html#rawdisk
jdd
That was perfect, thanks. I installed virtualbox in Windows, created an opensuse VM, and set it up to access my data partition which I normally use when I boot into opensuse tumbleweed. I am now sending this email using the same thunderbird api that I use when I am running my tumbleweed system, but because I set the virtual machine to boot up with the same partition for home that I normally use, it is a totally seemless changeover. All I had to do was install thunderbird in the virtual machine, and it runs just fine. Of course running everything in the vm is slower than running things directly, but this will enable me to do what I want to do when I have to be in windows. I may run into some problems with different versions of applications, in that I am running Leap 15 in the VM, but I am running tumbleweed when I boot direct into linux, but I will sort that out when I get to it. The main thing I need is to be able to use libreoffice for certain things in my VM. So it looks like it works, and I am good to go now. Thanks again. -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/04/2018 05:58 PM, George from the tribe wrote:
Of course running everything in the vm is slower than running things directly, but this will enable me to do what I want to do when I have to be in windows.
Move everything to SSD and as long as you aren't trying to run something like Plasma or Gnome3, you won't notice any difference at all. I have Win7 and 15 virtualized on a 42.3 install on SSD, and both boot within 12 seconds and the desktops are instantaneous. I wouldn't have believed it until I tried it. The 42.3 host will boot from cold-start to full KDE3 desktop in 11 seconds and change. Cost wise you pay a bit more for less storage, but I'll gladly give up my old 1T platters for 512G (or 256G) nand-3d SSD any day. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/05/2018 06:18 PM, David C. Rankin wrote:
On 10/04/2018 05:58 PM, George from the tribe wrote:
Of course running everything in the vm is slower than running things directly, but this will enable me to do what I want to do when I have to be in windows.
Move everything to SSD and as long as you aren't trying to run something like Plasma or Gnome3, you won't notice any difference at all. I have Win7 and 15 virtualized on a 42.3 install on SSD, and both boot within 12 seconds and the desktops are instantaneous. I wouldn't have believed it until I tried it. The 42.3 host will boot from cold-start to full KDE3 desktop in 11 seconds and change.
Cost wise you pay a bit more for less storage, but I'll gladly give up my old 1T platters for 512G (or 256G) nand-3d SSD any day.
That's a good idea. I have put in an SSD on my small laptop (that I labeled laptop 2 below) and had that experience until I installed Leap 15. Something about the install of Leap 15 made the startup and shutdown process much slower. It sort of hangs for awhile, but I haven't had time to troubleshoot it yet. I hope to get to that problem soon. I might also note that I just saw on Amazon that you can purchase a 1TB internal laptop SSD for around $150. So this looks like a really good option. It could be a complete game changer. I saw that the windows people are having trouble with the latest microsoft update - some people have had it erase all their data from anything that wasn't in onedrive. The only reason I ever boot into windows is only for this one program that I just can't get to run well on the linux side, out of slowness. If the SSD made the difference there, I could forego windows completely. -- George Box: 42.3 | KDE Plasma 5.8 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5.13 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: 15.0 | KDE Plasma 5.8 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/06/2018 07:04 AM, George from the tribe wrote:
On 10/05/2018 06:18 PM, David C. Rankin wrote:
On 10/04/2018 05:58 PM, George from the tribe wrote:
Of course running everything in the vm is slower than running things directly, but this will enable me to do what I want to do when I have to be in windows.
Move everything to SSD and as long as you aren't trying to run something like Plasma or Gnome3, you won't notice any difference at all. I have Win7 and 15 virtualized on a 42.3 install on SSD, and both boot within 12 seconds and the desktops are instantaneous. I wouldn't have believed it until I tried it. The 42.3 host will boot from cold-start to full KDE3 desktop in 11 seconds and change.
Cost wise you pay a bit more for less storage, but I'll gladly give up my old 1T platters for 512G (or 256G) nand-3d SSD any day.
That's a good idea. I have put in an SSD on my small laptop (that I labeled laptop 2 below) and had that experience until I installed Leap 15. Something about the install of Leap 15 made the startup and shutdown process much slower. It sort of hangs for awhile, but I haven't had time to troubleshoot it yet. I hope to get to that problem soon.
I know they moved things from /etc/sysconfig/network/config around, but in 42.3, setting: WAIT_FOR_INTERFACES="1" eliminated 30+ seconds from boot.
I might also note that I just saw on Amazon that you can purchase a 1TB internal laptop SSD for around $150. So this looks like a really good option. It could be a complete game changer. I saw that the windows people are having trouble with the latest microsoft update - some people have had it erase all their data from anything that wasn't in onedrive. The only reason I ever boot into windows is only for this one program that I just can't get to run well on the linux side, out of slowness. If the SSD made the difference there, I could forego windows completely.
Yes, I was laughing about the 1809 screw-up of Intel Audio drivers, every feature update release rains terror down on the normal computing public. Not to mention your computer is disabled and held hostage for 2-10 hours while the update tries to figure out how to install without bricking your system. Really makes you appreciate the Linux problems of worrying about shaving a few more seconds off boot, but knowing either way it will be your same old rock solid desktop when it comes up -- even if you have time for a few more sips of coffee in between. I learned long ago with win10 to stay on the corporate track, 1703 with updates set to "Windows Updates for Business" and feature updates deferred for 365 days (disabled). I've tried 1709 and 1803, but ended up rolling back the updates. Nothing new I wanted from them, but plenty of headache I didn't. Always glad to just get the updates done and then "Restart", set the hwclock to UTC in the BIOS, and press F9 to boot from Drive 2 and have Leap fire back up... so I cold go on with getting work done. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
01.10.2018 15:16, George from the tribe пишет:
Is there a way to mount a linux partition in a linux virtual machine on a windows host?
This obviously depends on your virtualization software which you managed to keep secret.
The idea is, sometimes I have to boot into windows on my laptop. Most of the time I am in linux, but occasionally I need a true windows environment, without the overhead of a windows virtual machine running in a linux host. When running windows, I have a program that allows me to see and read files on my ext4 partition on the laptop, but it is buggy and performs poorly.
Instead, I would like to have a virtual machine running opensuse on my windows host and mount my ext4 partitions on that virtual machine, even though they don't mount in windows without special software. That way I could access my data files from my linux partition, use the applications I am used to that only run on linux, but still be able to use windows. It would not be my normal mode of operation, but it would give me a lot of flexibility.
The barrier seems to be figuring out how to get a virtual machine to recognize the file system of the physical hard drive, rather than only recognizing virtual drives. Maybe I could trick it into thinking it is a network drive, or something like that?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
David C. Rankin
-
George from the tribe
-
jdd@dodin.org
-
Knurpht-openSUSE