Increasing the size of virtual hard disk running Linux (Ubuntu).
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
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.
Increasing the size of virtual hard disk running Linux (Ubuntu).
Hi team,
I am running Ubuntu on a virtual machine (my laptop is used by others at home). Currently, it has been allocated 20 GB. I want to increase this disk space. I have taken the necessary steps on the host OS (Windows). Also, I have edited the partition tables in Linux. My precise question is :
What kind of hard drive should I create:
1. A Linux Swap partition (Id 82);
2. A Linux LVM partition (Id 8e);
3. A Linux partition (Id 83)?
etc.? My aim is to use it just as a normal hard disk space for the end user applications. And pointer to understand the above partitions would be helpful.
I am running Ubuntu on a virtual machine (my laptop is used by others at home). Currently, it has been allocated 20 GB. I want to increase this disk space. I have taken the necessary steps on the host OS (Windows). Also, I have edited the partition tables in Linux. My precise question is :
What kind of hard drive should I create:
1. A Linux Swap partition (Id 82);
2. A Linux LVM partition (Id 8e);
3. A Linux partition (Id 83)?
etc.? My aim is to use it just as a normal hard disk space for the end user applications. And pointer to understand the above partitions would be helpful.
You said you already edited things....so if you've already done it, why ask what you SHOULD do??? And since swap can't be used for end-user storage, and an LVM partition would need other volumes added to it, that leaves you with ONE option...a regular Linux partition. A far better solution would be to back up your data, and spin up another machine with the right sized volumes, and start clean. Less chance for error, and since it's a VM, copying your data from the VM machine to the Windows drive should be very fast.
Or even better, just spin up another VM, do your fresh install there, then copy your data from one to the other, and delete the first one. You probably have more than enough hard drive space.
I am asking what should be done, because I am unable to 'see' this space via the Disk Usage Analyser tools. The tool still reports the old storage space of 20 GBs. So, I have created a new partition (Linux LVM) but it is not visible. Are there any steps that I need to take, so as to render this space usable? Sorry, I am new to Linux and hence this naive question.
Also, creating a new VM would be my last option, since I have made too many changes to the existing one. It would be very difficult for me to re-create those changes in the new VM that I would create.
Last edited by abhishek_naik; 01-16-2016 at 12:30 PM.
I am asking what should be done, because I am unable to 'see' this space via the Disk Usage Analyser tools. The tool still reports the old storage space of 20 GBs. So, I have created a new partition (Linux LVM) but it is not visible. Are there any steps that I need to take, so as to render this space usable? Sorry, I am new to Linux and hence this naive question.
Not naive, but confusing...saying you've already done it, then asking HOW to do it, is the confusing bit. And since you're using a VM, have you added that new, free space as a disk to the VM??? If the system can't see it, it obviously can't use it.
Quote:
Also, creating a new VM would be my last option, since I have made too many changes to the existing one. It would be very difficult for me to re-create those changes in the new VM that I would create.
No, it needs to be your FIRST option. Unless you know how to backup and restore your systems, you're asking for trouble later on. What, exactly, are you going to do if someone else who shares that laptop, accidentally deletes the VM file? Or the disk crashes? Your machine WILL fail at some point.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.