Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am using ubuntu 9.04(X64) and i want to create a VM using VirtualBox. The problem is finding the maximum size of the VM. I use 2 partitions , one root 36GB, and one /home 36Gb . I want to know what is the maximum size that VM can have, and , from where is taking the VM the allocated space.
My configuration is :
Intel Core 2 Quad 8200 2.33Ghz
Ram 4Gb 1333
2 of 37 and 2 of 82.
"God of war hates those who hesitate".
"For those with feellings life is a tragedy , for those without, a comedy".
Last edited by zeusthegod; 08-06-2009 at 07:06 AM.
I believe VirtualBox will allow a 2TB VM and to some extent that may be a limitation of the filesystem more than virtualbox.
Eitherway, your requirements will easily be met.
When you create a VM, you have the option to have it allocate all the disk space immediatley, or, allocate it as necessary.
If you allocate immediatley, the setup time will be a little longer because it creates a single file of the size of all the partitions you assign. If you allocate as needed, your VM will "think" it has all it's disk presented, but the actual VM will only be as big as the total amount of space the VM is using and will grow as more files are created within the VM.
No man , i mean that from where is taking the VM the memory size.
I want to create a VM with 60gb HDD. How do i know it will work?
Because i create another VM with dynamic size of 200gb and after a while it gave me an error saying that i do not have enough memory and if i want to resume the machine i must free some memory. That's my problem.
And i want to know how u cand configure the sata partitions, i have sata port 0 , port 1...etc. I want to know the utility of that. For the VM of course.
Last edited by zeusthegod; 08-06-2009 at 08:15 AM.
Reason: i forgot something
Using the virtualbox interface, you go into the "Virtual media manager" section. In that screen you add "virtual hdd's". The virtual hdd's are nothing more than files on your HDD - in whatever mount you put them (/home /mnt /root /opt ...wherever). When you create a new VM, you select what virtual HDD to use.
In your configuration you mentioned above, you said your computer has a 250GB HDD.
In your last response, you then said you created a dynamically sized VM of 200GB that eventually ran out of space.
If you created that virtual HDD in your home folder and your /home is only a 50GB partition (for example), then yes, I can see it would run out of space if you continued to add files to that VM or you continued to fill up your /home on the real server.
Also keep in mind, that creating dynamic virtual hdd's will allow you to create a HDD that is larger than available disk on the partition you selected to create it. For example, I often test kickstart scripts for servers on my laptop (<20GB available disk) where I create a 1.5TB dynamic disk so the kickstart script will work, but the OS install only ever actually uses 3GB of space.
If you want to be sure you have the disk, then create a fixed-sized storage virtual disk and not a dynamic disk. That way the disk will be allocated immediately and if you don't have the space, it will error out.