Score:0

Unable to resize my hardrive in Ubuntu

in flag

I am using virtual box and my Host Device is : Windows 10 Guest Device is : Ubuntu 21.04

I am new to Ubuntu and i have recently installed oracle virtualbox and used Ubuntu as my guest device. At the start as i just wanted to test, I set the hard disk space 10 gb and just after the installation I saw that only 2 gigs of storage is left.

So in virtual box i increased my storage to to 20gb. Now after retarting when i go to disks application in Ubuntu, I see that the free space is partioned. So I tried to resize (increase) my primary hardrive which has 2 gigs left but it gives me an error.

To be more specific, these screen shots may help you :

Disk

Error

I request you all you please help me in this issue also i dont want to create a new virtual box machine. I am a beginner also this is my first ever question asked. 

Thankyou
Akshay

guiverc avatar
cn flag
The recommended size for a Ubuntu desktop install has been 25GB since 17.10 so the issue should have been expected. To increase size you boot a *live* system (so your disk is not being used, allowing easy re-size). This is possible even if using a VM
Akshay Malviya avatar
in flag
Thanks for the comment , but I dont know how to boot a live system in ubuntu / virtual box as i have recently switched from windows to linux
guiverc avatar
cn flag
The options to do that are done on your HOST OS (windows 10) in the settings for that VM.
Akshay Malviya avatar
in flag
oh ok thanks i will try it
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.