How to resize my root partition?

From: 0 (stacko23_at_my-deja.com)
Date: 12/22/03


Date: 22 Dec 2003 03:43:26 -0800

Hi NG!
I've badly partitionned my hard disk and I suddenly have no more than
2 GB free space on /home whereas there are 18 GB available on / . Both
partitions are reiserfs and they are contiguous.
What's a simple way to resize the root partition? I thought of parted
but I'd then need some floppy distro to boot from, with parted on it,
as / can't obviously be mounted while resizing it. What would you
suggest?

Thanks in advance,
Bernd Haller

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb3 25G 8.0G 18G 32% /
/dev/hdb4 14G 11G 2.6G 81% /home
none 189M 0 189M 0% /dev/shm

# fdisk -l /dev/hdb (with comments)

Disk /dev/hdb: 41.1 GB, 41174138880 bytes
16 heads, 63 sectors/track, 79780 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot Start End Blocks Id System
/dev/hdb1 * 1 25 12568+ 83 Linux (/boot:
ext2fs)
/dev/hdb2 26 127 51408 82 Linux swap
/dev/hdb3 128 52140 26214552 83 Linux (/ :
reiserfs)
/dev/hdb4 52141 79780 13930560 83 Linux (/home:
reiserfs)



Relevant Pages

  • Which partitioning scheme gives best performance?
    ... I wish to optimize performance of a desktop machine with a single hard ... I will be using Suse 9.1, which by default uses ReiserFS which I ... Thus, I will be using ext3 for most partitions except for /tmp, as seen ... All partitions except /tmp are ext3 because I trust it, ...
    (comp.os.linux.setup)
  • Which partitioning scheme gives best performance?
    ... I wish to optimize performance of a desktop machine with a single hard ... I will be using Suse 9.1, which by default uses ReiserFS which I ... Thus, I will be using ext3 for most partitions except for /tmp, as seen ... All partitions except /tmp are ext3 because I trust it, ...
    (comp.os.linux.misc)
  • Cant mount crypt filesystem OR its backups
    ... another unencrypted RAID partition (ReiserFS) on that same diskpack ... two such backup drives which I alternate). ... ReiserFS: loop0: journal params: device loop0, size 8192, journal first ... The crypt partitions were working fine until I rebooted. ...
    (alt.os.linux.suse)
  • Re: [opensuse] broken HD, data recovery possible?
    ... ReiserFS) of my moms old laptop is broken and I ... The trouble seems to be that not even partitions are recognised. ... Is the hdd still visible in your notebook Bios? ... You don't get any automatic rescue options, ...
    (SuSE)
  • Re: installation opinions
    ... that would still allow for future growth. ... "partitions" and the filesystem to meet chaning needs. ... you'll later on make the filesystems larger, ... /var 500m reiserfs ...
    (Ubuntu)