Need help resizing / partition
I am on Kubuntu 8.04. The partition on which / is mounted has run out of space. In gparted, / is immediately preceed by /home and followed by extended, which has a huge size but no bytes available, It is followed by swap, then one smaller partition from which I could steal bytes. However, clicking on resize shows no space available before or after /. What can I do? Thanks.
|
Can you post the output of
fdisk -l mount and df -m in code tags? |
fdisk -l showed nothing. For the other 2 here it is.
Code:
albert@ALBERT:~$ mount |
For fdisk: try running as root (or using sudo).
|
here it is:
Code:
albert@ALBERT:~$ sudo fdisk -l |
I guess you could disable swap, resize sda7, move the swap partition,
then resize extended, then move extended to the back of the drive and increase root by what you gained. There's also the question what the purpose of sda6 might be, which is partitioned but not used anywhere. Cheers, Tink P.S.: Please, for posting output of command line tools, make use of the CODE tags ... it makes is so much easier to read. |
Could you spell this out in more detail. I am not very clear what happens to available resizing space for remaining partitions when eg other partitions are deleted or resized. As to sda6 I am not sure what is in it but think it could be deleted. It is not mounted.
|
Quote:
'Extended' is a container partition; in other words it just acts as a 'placeholder' in the partition table saying, in effect, 'there are other partitions here, we'll get around to the details later'. To see what that means in practice, look at the starting and ending block numbers: Code:
Device Boot Start End Blocks Id System In terms of 'quick fixes' from where you are now:
|
I booted into Parted Magic and used gparted to delete /sda6 and move swap so I ended up with following:
sda4 extended 410.1g unallocated 2.93g sda5 swap 1.95g unallocated 8.79g sda6 396.43g The / partition is /sda3 and I believe I can go back into gparted and enlarge /sda3 by the 2.93g of unallocated but I decided to stop and check with you. ANOTHER THING TO REPORT. When I got out of Parted Magic to resume boot. I got fsck error. The reported problem is: log of fsck -C -R -A -a Mon Feb 23 17:41:31 2009 fsck 1.40.8 (13-Mar-2008) WARNING: bad format on line 15 of /etc/fstab /dev/sda2: clean, 11771/1925120 files, 2404319/7679070 blocks /dev/sda6: clean, 22620/51970048 files, 2555258/103920460 blocks fsck.ext3: No such file or directory while trying to open /dev/sda7 /dev/sda7: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> fsck died with exit status 8 Mon Feb 23 17:41:32 2009 My fstab is as follows: # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/sda3 UUID=e38270b7-e9ca-4bb7-b939-fb97471395d1 / ext3 relatime,errors=remount-ro 0 1 # /dev/sda2 UUID=cd446e71-9e00-4582-baf0-bb1a3b17af37 /home ext3 relatime 0 2 # /dev/sda5 UUID=2af623e6-e190-4690-b2e5-e7fdf3564996 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda6 /mnt/sda6 ext3 defaults 1 2 /dev/sda7 /DATA ext3 defaults 1 2 I resumed boot with Control D and everything seems to be ok. Is there anything to worry about? |
All times are GMT -5. The time now is 04:56 PM. |