Page 1 of 1

unmount iso image after live cd install

PostPosted: 3. Dec 2009, 19:03
by karlh626
Host: Ubuntu 9.10 server (headless)
VM: Vyatta 5.02 Live CD (installed)

This is my first attempt at installing Virtual Box on a headless host. I have installed vyatta from a live cd iso image successfully however I am unable to find what steps are needed to umount the live cd image so it will boot from the HD next boot.

I have gone through the user manual looking for information and I found storageattach, however I must not be using correctly because even after I run this the showvminfo shows the image mounted and the vm is still booting from the iso image.

Any assistance or direction to the correct resources is appreciated.

Karl

Re: unmount iso image after live cd install

PostPosted: 3. Dec 2009, 20:59
by Sasquatch
You can change the boot order first so that won't be a problem any more (set the hdd first, then the CD). Next, what command did you use to try to unmount it? What did you use to mount the ISO in the first place. From what I've seen as example posted by another user, it's something like this:
Code: Select all   Expand viewCollapse view
VBoxManage storageattach <vmname> --storagectl "IDE Controller" --device 0 --port 2 --type dvddrive --medium empty

I hope that works, I haven't used the command line like that because I don't run a headless server.

Re: unmount iso image after live cd install

PostPosted: 4. Dec 2009, 02:44
by karlh626
Thank you.

I set the hard drive as the first boot device and that worked for now until I can figure out how to unmount the image.