LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having 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


Reply
  Search this Thread
Old 01-16-2016, 11:43 AM   #1
abhishek_naik
LQ Newbie
 
Registered: Jan 2016
Location: Mumbai, India
Distribution: Ubuntu
Posts: 5

Rep: Reputation: Disabled
Unhappy 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.

Thanks!
 
Old 01-16-2016, 12:18 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,499

Rep: Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721
Quote:
Originally Posted by abhishek_naik View Post
Hi team,
We're not on your 'team'
Quote:
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.
 
Old 01-16-2016, 12:28 PM   #3
abhishek_naik
LQ Newbie
 
Registered: Jan 2016
Location: Mumbai, India
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-17-2016, 11:45 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,499

Rep: Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721Reputation: 6721
Quote:
Originally Posted by abhishek_naik View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Next steps in increasing existing disk size? ocga Linux - Server 3 01-13-2015 11:28 AM
partition layout , hard disk name and hard disk size in single output ?? jheengut Linux - Software 1 11-03-2013 06:13 AM
[SOLVED] Trouble increasing container disk size in OpenVZ tekhead2 Linux - Virtualization and Cloud 1 11-29-2012 10:35 AM
How to extend the Ubuntu Linux hard disk size to use full capacity ? albertwt Linux - Newbie 9 12-24-2010 02:22 AM
Increasing disk size after dd'ing a small image dezert_fox Linux - Hardware 2 05-03-2007 01:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration