Possible to Boot Off A Windows Ultimate Boot CD?

This is for discussing general topics about how to use VirtualBox.
Post Reply
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

I would like to use Virtual Box to test Malware removal techniques.
Specifically, I have created a XP PRO sp3 client which I would like to infect.
Then, I would like to boot off a Windows Ultimate Boot CD and clean-up the infections.
Is this possible?
Thank you in advance.
Etepetete
Posts: 400
Joined: 7. Oct 2009, 10:19
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Slackware 14.2
Location: Berlin

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by Etepetete »

Shouldn't be a problem. You can either place the CD in your normal CD/DVD drive or just attach the .iso file to the VM. Then make sure the boot order for your VM is set accordingly. I would suggest isolating your guest, i.e. no networking allowed.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

Etepetete wrote:Shouldn't be a problem. You can either place the CD in your normal CD/DVD drive or just attach the .iso file to the VM. Then make sure the boot order for your VM is set accordingly. I would suggest isolating your guest, i.e. no networking allowed.
I moved the CD/DVD to the top of the boot order but it still booted off the hard drive.
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by MarkCranness »

allanc, sorry for a stupid question: did you also:
Etepetete wrote:...either place the CD in your normal CD/DVD drive or just attach the .iso file to the VM...
?
Settings>CD/DVD-ROM>'Mount CD/DVD Drive' check on>Either 'Host CD/DVD Drive' and insert the UBCD in the host's drive, or 'ISO Image File' and select/add the ubcd image.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

MarkCranness wrote:allanc, sorry for a stupid question: did you also:
Etepetete wrote:...either place the CD in your normal CD/DVD drive or just attach the .iso file to the VM...
?
Settings>CD/DVD-ROM>'Mount CD/DVD Drive' check on>Either 'Host CD/DVD Drive' and insert the UBCD in the host's drive, or 'ISO Image File' and select/add the ubcd image.
Not a stupid question at all - especially since I have only been using Virtual Box for a short time.
When I followed your instructions the Ultimate Boot CD *did* boot but the Virtual Box client drive was not visible when I ran MS Explore from the UBCD.
Here is my configuration:
1.) Dell Inspiron 1501, SATA HD, Vista Home, 2Gb of RAM.
2.) Virtual Box 3.0.8 installed
3.) Secondary SATA HD connected via USB to a NexStar Hard Drive Dock (the Virtual Box client for XP PRO sp3 is stored here).

In Virtual Box -> Settings -> CD/DVD-ROM I have 'Mount CD/DVD Drive' checked and 'Host CD/DVD Drive' is selected with drive 'E:' in the drive selector.
The System -> Boot Order is 'CD/DVD, Hard Drive, Floppy'.

The Virtual Box Client boots of the Ultimate Boot CD. The only hard drive that is visible in MS Explore (within the UBCD environment) is the internal hard drive and not the SATA HD that is connected via USB.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

Etepetete wrote:Shouldn't be a problem. You can either place the CD in your normal CD/DVD drive or just attach the .iso file to the VM. Then make sure the boot order for your VM is set accordingly. I would suggest isolating your guest, i.e. no networking allowed.
RE: networking:
If I run 'IpConfig /all' on my Virtual Box Client....
I get an IP of 10.0.2.15, gateway 10.0.2.2 and a subnet mask of 255.255.255.0
The Vista host and all of the other network devices (routers, PCs) are in the 192.168.x.x range.
Am I safe in terms of the networking aspect?
Etepetete
Posts: 400
Joined: 7. Oct 2009, 10:19
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Slackware 14.2
Location: Berlin

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by Etepetete »

I would just detach the "virtual cable" to the virtual NIC. http://www.virtualbox.org/manual/UserMa ... #id2513282. I don't know what kind of malware you want to test. In my opinion the best thing to do is to not allow any networking at all.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

Etepetete wrote:I would just detach the "virtual cable" to the virtual NIC. http://www.virtualbox.org/manual/UserMa ... #id2513282. I don't know what kind of malware you want to test. In my opinion the best thing to do is to not allow any networking at all.
Do you have any suggestions as to why the external SATA drive (on USB) is not visible to the UBCD?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by mpack »

Calling it an "external SATA drive (on USB)" is confusing. I assume you are talking about a USB drive (the fact that it uses SATA "under the hood" doesn't matter).

So, assuming you do mean a USB drive, then I imagine you are encountering the usual problems people have getting USB drives to work reliably with a VBox VM. It would be better to wrap whatever files you need access to inside a VDI, and mount the VDI as a second drive. A network shared folder (mapped to a shared folder on the USB drive) is also a possibility, but I don't yet know how to set up a network share when I've booted off a recovery CD.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

mpack wrote:Calling it an "external SATA drive (on USB)" is confusing. I assume you are talking about a USB drive (the fact that it uses SATA "under the hood" doesn't matter).

So, assuming you do mean a USB drive, then I imagine you are encountering the usual problems people have getting USB drives to work reliably with a VBox VM. It would be better to wrap whatever files you need access to inside a VDI, and mount the VDI as a second drive. A network shared folder (mapped to a shared folder on the USB drive) is also a possibility, but I don't yet know how to set up a network share when I've booted off a recovery CD.
Sorry, I am new at this but willing to learn.
Can you point me to what VDI means (in terms of Virtual Box) and how to use it?
Thanks in advance.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

mpack wrote:Calling it an "external SATA drive (on USB)" is confusing. I assume you are talking about a USB drive (the fact that it uses SATA "under the hood" doesn't matter).

So, assuming you do mean a USB drive, then I imagine you are encountering the usual problems people have getting USB drives to work reliably with a VBox VM. It would be better to wrap whatever files you need access to inside a VDI, and mount the VDI as a second drive. A network shared folder (mapped to a shared folder on the USB drive) is also a possibility, but I don't yet know how to set up a network share when I've booted off a recovery CD.
I would like to clarify....
Due to space restrictions on my internal drive - the Virtual Box client image resides on the external USB drive.
I can already successfully boot off that Virtual Box client.
What I am trying to do is boot off the UBCD and access the XP PRO sp3 Virtual Box client which resides on that USB drive.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by mpack »

allanc wrote:Can you point me to what VDI means (in terms of Virtual Box) and how to use it?
See the All About VDIs sticky in this very forum. Basically, a VDI (Virtual Disk Image) is a file on your host which represents a fixed disk drive in your guest. "File|Virtual Media Manager" can be used to create additional disk drives (VDIs), VM settings can be used to associate these with VMs. The new disk drive will start off uninitialized. You need to use Windows Disk Manager inside the guest to initialize the drive and format it with a filesystem such as NTFS.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by mpack »

allanc wrote:What I am trying to do is boot off the UBCD and access the XP PRO sp3 Virtual Box client which resides on that USB drive.
I'm afraid that doesn't make much sense. If you can "successfully boot off that XP client" then you are already accessing it, there is nothing else you need to do. If you have booted up from a CD mounted in the same VM to which the XP image is mounted then the XP image will be visible as a fixed disk drive C.
allanc
Posts: 14
Joined: 5. Nov 2009, 02:48
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: XP PRO

Re: Possible to Boot Off A Windows Ultimate Boot CD?

Post by allanc »

mpack wrote:
allanc wrote:What I am trying to do is boot off the UBCD and access the XP PRO sp3 Virtual Box client which resides on that USB drive.
I'm afraid that doesn't make much sense. If you can "successfully boot off that XP client" then you are already accessing it, there is nothing else you need to do. If you have booted up from a CD mounted in the same VM to which the XP image is mounted then the XP image will be visible as a fixed disk drive C.
I apologize and stand (or sit) corrected.
The 'C:' drive the UBCD sees is indeed the XP PRO sp3 Virtual Box client.
Post Reply