Hello,
I am trying to extract a windows 7 mbr from a vdi on which i ran the bootrec /fixmbr command from a mounted windows 7 iso. Where exactly is the mbr stored within the VDI file?
Extract mbr from VDI
-
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: Extract mbr from VDI
It's in the same place as on a normal hard drive. Something you can't easily extract by either mounting the VDI to your Host like you can with an ISO (see sticky), or view with a hex editor. It's best to approach this like a physical situation, where you start a tool to do the trick. Why do you need it?
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.
Re: Extract mbr from VDI
Boot a Live CD (= mounted ISO) of a Linux distrib of your choice (I would use Ubuntu) inside your VM
Then use dd with block count and block size argument. Not shure how big the MBR is though.
Use some google magic
Then use dd with block count and block size argument. Not shure how big the MBR is though.
Use some google magic