How do I access a raw disk partition without booting from it?
If I go through the instructions to create a .vmdk file that
references an existing hard drive partition, and then add it to my
existing virtual machine using the GUI, the virtual machine then
tries (unsuccessfully) to boot from the hard drive partition instead
of the .vdi virtual disk. I see no way to boot from the .vdi when
the .vmdk is present. Is there a way to override this behavior?
4.0.10, Windows 7 host, Linux guest.
How to access a raw disk partition without booting from it?
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to access a raw disk partition without booting from it?
Ever thought about adding the VMDK as secondary hard drive instead?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
richw42
- Posts: 3
- Joined: 3. Jul 2011, 19:32
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Linux: OpenSUSE
Re: How to access a raw disk partition without booting from it?
You mean like making it an "IDE Secondary Slave"?Ever thought about adding the VMDK as secondary hard drive instead?
It still boots from it.
If you mean something else, please elaborate!
The desired boot disk is under the SATA Controller.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to access a raw disk partition without booting from it?
Let's assume you're hooking it up to an existing VM with an OS installed on it. Then it would be very illogical that the VM would boot from the RAW disk instead of the VDI. If you want to force it, then dump the VMDK on SATA port 5 or further. Only the first 4 ports can be used to boot from, the rest will fail.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
richw42
- Posts: 3
- Joined: 3. Jul 2011, 19:32
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Linux: OpenSUSE
Re: How to access a raw disk partition without booting from it?
I just found an answer to my own question.
By adding the hard disk .vmdk as a SATA drive instead of an IDE
drive, it now boots from the first SATA drive, which is the desired disk.
By adding the hard disk .vmdk as a SATA drive instead of an IDE
drive, it now boots from the first SATA drive, which is the desired disk.