LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I assign back my hard drive partition? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-assign-back-my-hard-drive-partition-817261/)

rajvy 06-30-2010 06:56 PM

How can I assign back my hard drive partition?
 
Hi all,
I am using Asus eee PC model 1001P and I am running ubuntu netbook remix on it. I have a 160 GB hard drive. When I was installing ubuntu I assigned only 50 GB for it, thinking that I will use the remaining partition for windows.

But right now after using UNR, I don't want to use windows at all. Is it possible that I can assign the remaining 100 GB unassigned partition back to Ubuntu without reinstalling the whole operating system again?

onebuck 06-30-2010 07:16 PM

Hi,

Welcome to LQ!

Sure you can create additional partitions as 'root' to use on the system. As root use 'cfdisk' or 'fdisk' to create the partitions. 'qtparted' is another way of managing partitions.

:hattip:

rajvy 06-30-2010 07:35 PM

Thanks for your reply. But the thing is I am still not getting a hang about the partition. The unassigned partition is not detected by the ubuntu file system. Can you please give me a step by step procedure for it. Thank you again.

yancek 06-30-2010 08:17 PM

It would be helpful if we could see your partition structure to know where your different partitions are. Log in to a terminal and run the command: sudo fdisk -l (lower case Letter L), enter your user password, hit enter, post the output here.

rajvy 06-30-2010 08:22 PM

Hi Yancek,

Thanks for the reply. Here is the output I got.


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9f1192b6

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7295 58592256 83 Linux
/dev/sda2 18150 19455 10485760 83 Linux
/dev/sda3 19455 19457 17760+ 82 Linux swap / Solaris
/dev/sda4 17830 18149 2570400 5 Extended
/dev/sda5 17830 18149 2570368+ 82 Linux swap / Solaris

Partition table entries are not in disk order


All times are GMT -5. The time now is 03:52 PM.