unmount iso image after live cd install

Discussions related to using VirtualBox on Linux hosts.
Post Reply
karlh626
Posts: 2
Joined: 3. Dec 2009, 06:46
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu, Vyatta

unmount iso image after live cd install

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: unmount iso image after live cd install

Post 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

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.
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.
karlh626
Posts: 2
Joined: 3. Dec 2009, 06:46
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Ubuntu, Vyatta

Re: unmount iso image after live cd install

Post 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.
Post Reply