You are not logged in.

#1 2014-10-16 17:07:44

rh1n0
Member
Registered: 2014-10-03
Posts: 6

[SOLVED] Resizing root partition

I recently deleted windows from my dual-boot setup. I deleted the partition table, and made a new root.

[rh1n0@arch ~]$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       688G  413G  240G  64% /
dev             1.9G     0  1.9G   0% /dev
run             1.9G  492K  1.9G   1% /run
tmpfs           1.9G  140K  1.9G   1% /dev/shm
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs           1.9G   36K  1.9G   1% /tmp
tmpfs           387M   12K  387M   1% /run/user/1000
[rh1n0@arch ~]$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 931.5G  0 disk 
└─sda1   8:1    0 931.5G  0 part /
sr0     11:0    1  1024M  0 rom

Why isn't the entire partition available? How do I fix this?

Last edited by rh1n0 (2014-10-16 20:56:31)

Offline

#2 2014-10-16 17:21:18

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [SOLVED] Resizing root partition

The filesystem on /dev/sda1 does not span the entire partition. You can fix this by resizing the filesystem. See "resize2fs" for ext filesystems.
That said, are you sure that you have deleted the partition table? Doing so makes the filesystems invisible as well. I think you didn't delete the partition table, you only deleted a single partition, and extended the first partition.

Last edited by teateawhy (2014-10-16 17:21:54)

Offline

#3 2014-10-16 17:30:47

rh1n0
Member
Registered: 2014-10-03
Posts: 6

Re: [SOLVED] Resizing root partition

teateawhy wrote:

The filesystem on /dev/sda1 does not span the entire partition. You can fix this by resizing the filesystem. See "resize2fs" for ext filesystems.
That said, are you sure that you have deleted the partition table? Doing so makes the filesystems invisible as well. I think you didn't delete the partition table, you only deleted a single partition, and extended the first partition.

Thanks, that worked great. smile

Offline

#4 2014-10-16 19:30:34

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: [SOLVED] Resizing root partition

You can mark this thread as solved by editing your first post; it marks the topic as resolved smile

Offline

Board footer

Powered by FluxBB