Unix/Linux Go Back    


Virtualization and Cloud Computing Xen, VMWare, hypervisors, Amazon Elastic Computing Cloud, EC2, virtual storage, Amazon S3 and other cloud computing topics.

Creating VirtualBox-Image as "harddisk" by shell-script

Virtualization and Cloud Computing


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-10-2010   -   Original Discussion by Sebi0815
Sebi0815 Sebi0815 is offline
Registered User
 
Join Date: Jan 2010
Last Activity: 13 January 2011, 5:40 AM EST
Location: .de
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Creating VirtualBox-Image as "harddisk" by shell-script

Hello,

I'm trying to create a VirtualBox "harddisk" and put an dd-image into it. This image shoudn't work as a virtual maschine, I just want to be able to mount it to an folder. How can I do this with an shell script?


Sebi

---------- Post updated at 10:36 AM ---------- Previous update was at 09:36 AM ----------

Okay, I found a way to create it with the following command :


Code:
VBoxManage createvdi -filename NameImage.vdi -size 2048 -static -type writethrough -register

But I still don't know, how to add a file into this vdi? Can someone help?
LinuxLinuxLinux
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Command Character size limit in the "sh" and "bourne" shell Roshan1286 Shell Programming and Scripting 1 10-29-2009 08:38 AM
Command Character size limit in the "sh" and "bourne" shell Roshan1286 UNIX for Advanced & Expert Users 1 10-29-2009 08:01 AM
Command Character size limit in the "sh" and "bourne" shell Roshan1286 UNIX for Dummies Questions & Answers 1 10-29-2009 08:01 AM
"too big" and "not enough memory" errors in shell script jerardfjay AIX 11 03-17-2009 12:09 AM
No utpmx entry: you must exec "login" from lowest level "shell" peterpan UNIX for Dummies Questions & Answers 0 01-18-2006 04:15 AM



All times are GMT -4. The time now is 11:56 PM.