Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications > Virtualization and Cloud Computing
Search Forums:



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

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-10-2010
Registered User
 

Join Date: Jan 2010
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?
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 06:38 AM
Command Character size limit in the "sh" and "bourne" shell Roshan1286 UNIX for Advanced & Expert Users 1 10-29-2009 06:01 AM
Command Character size limit in the "sh" and "bourne" shell Roshan1286 UNIX for Dummies Questions & Answers 1 10-29-2009 06:01 AM
"too big" and "not enough memory" errors in shell script jerardfjay AIX 11 03-16-2009 10:09 PM
No utpmx entry: you must exec "login" from lowest level "shell" peterpan UNIX for Dummies Questions & Answers 0 01-18-2006 03:15 AM



All times are GMT -4. The time now is 04:19 AM.