Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Discussions about using Linux guests in VirtualBox.

Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby JeZ-l-Lee » 19. Apr 2019, 22:10

Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Hi,

I am running current VirtualBox on a Windows 10 Pro 64Bit host (fully updated) with an Ubuntu 18.04 LTS 64Bit Linux guest (fully updated).

I have a Linux LVM encrypted hard disk drive attached internally in the desktop.
How would I access the Linux LVM encrypted hard disk drive in the Ubuntu 18.04 LTS 64Bit guest?
(Windows 10/Ubuntu VirtualBox guest are installed to a different HDD attached internally)

Thanks!

Jesse
JeZ-l-Lee
 
Posts: 68
Joined: 22. Jun 2009, 23:46
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows(R) XP Pro SP3 32bit

Re: Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby socratis » 20. Apr 2019, 01:27

JeZ-l-Lee wrote:I have a Linux LVM encrypted hard disk drive attached internally in the desktop.
What desktop? What does "internally" mean?

Can you explain the setup better? I have a feeling that you're talking about an external hard drive, but you need to give us more details. A lot more details...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25828
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby JeZ-l-Lee » 20. Apr 2019, 01:34

Sorry...
when I say "desktop", I mean computer tower (physical computer)
"internally" means HDD installed inside computer tower (physical computer)
It's not an "external hard drive".
Hope that clears some things up.

Jesse
Last edited by socratis on 20. Apr 2019, 01:39, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
JeZ-l-Lee
 
Posts: 68
Joined: 22. Jun 2009, 23:46
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows(R) XP Pro SP3 32bit

Re: Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby socratis » 20. Apr 2019, 01:42

So, we're talking about an internal (SATA) hard drive on your host? A partition on the drive that you boot from? Or a second hard drive? What exactly are we talking about?

And what does that mean?
JeZ-l-Lee wrote:Windows 10/Ubuntu VirtualBox guest are installed to a different HDD attached internally


socratis wrote:but you need to give us more details. A lot more details...
Describe the physical layout; how many HDs, how are they partitioned, what's running on what, what's using what...

I hope that clears up the questions...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25828
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby JeZ-l-Lee » 20. Apr 2019, 01:48

The Linux LVM encrypted hard drive is a separate data HDD attached to the motherboard.
The computer has two hard drives: one HDD with Windows 10 native and then the second HDD with the Linux LVM encrypted data.

Just trying to access LVM encrypted HDD inside an Ubuntu Virtual Machine running on Windows 10 host.
The data accessed above would be shared between Windows 10 host and Ubuntu guest via "Shared Folder".

Jesse
Last edited by socratis on 20. Apr 2019, 02:07, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
JeZ-l-Lee
 
Posts: 68
Joined: 22. Jun 2009, 23:46
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows(R) XP Pro SP3 32bit

Re: Win10HOST/Ubuntu18.04GUEST-Access Linux LVM Encrypted HDD In Linux Guest?

Postby socratis » 20. Apr 2019, 02:19

Before I forget, please read the notes at the bottom of your messages, plus the 2nd sentence of my signature... ;)

JeZ-l-Lee wrote:Just trying to access LVM encrypted HDD inside an Ubuntu Virtual Machine running on Windows 10 host.
What you're looking at is called "Raw Disk Access", and it's an advanced feature. And because of the inherit danger of data loss, users are reluctant to give you advice. If you can't figure it out on your own, most probably nobody will help you with it.

For detailed information, see ch. 9.8.1 Using a Raw Host Hard Disk From a Guest from the User Manual.

JeZ-l-Lee wrote:The data accessed above would be shared between Windows 10 host and Ubuntu guest via "Shared Folder".
That can't happen. The VirtualBox Shared Folders (VBoxSF) share a Host's directory, not a Guest's directory. Unless you plan to copy over the data from the Ubuntu guest into a Host's VBoxSF, the only other option would be to install the SMB server in your Ubuntu guest, and then map that SMB share from your Windows host. Doable...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25828
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 19 guests