unmount iso image after live cd install

Discussions related to using VirtualBox on Linux hosts.

unmount iso image after live cd install

Postby karlh626 » 3. Dec 2009, 19:03

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
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

Postby Sasquatch » 3. Dec 2009, 20:59

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

Re: unmount iso image after live cd install

Postby karlh626 » 4. Dec 2009, 02:44

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


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 29 guests