How to increase the root partition size

Hi,

I don’t know if I am posting this to the correct section, but I would like to increase the size of my root partition on OpenSuse 11.3.
Currently, I have 11.3 installed on a dual boot laptop with Windows 7. My partitions look as follows:-

ash@linux-up5o:~> df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda8             5.7G  3.8G  1.7G  70% /
devtmpfs              1.4G  260K  1.4G   1% /dev
tmpfs                 1.4G  4.0K  1.4G   1% /dev/shm
/dev/sda9             4.5G  481M  3.8G  12% /home
/dev/sda1             100M   25M   76M  25% /windows/C
/dev/sda2              59G   44G   15G  75% /windows/D
/dev/sda3             137G   31G  106G  23% /windows/E
/dev/sda5             9.2G  2.4G  6.8G  26% /windows/F
/dev/sda6             6.1G   87M  6.0G   2% /windows/G

As can be observed above, I have used almost 70% of the available partition space with only 1.7 GB remaining.
I have plans to install Microsoft Office 2007 on Wine and I know that 1.7 GB is not enough for the installation. I don’t mind reducing the size of my Windows partitions in order to increase the size of the root.

Therefore I would appreciate if somebody helps me out with the resizing process without damaging my Linux or Windows data…

Thanks in advance!

Could you post this as well:

fdisk -l

Hi,

Thanks for replying… Here is the output of fdisk -l :-

ash@linux-up5o:~> fdisk -l
Absolute path to 'fdisk' is '/sbin/fdisk', so running it may require superuser privileges (eg. root).
ash@linux-up5o:~> su
Password: 
linux-up5o:/home/ash # fdisk -l

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0x8e20bbda

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        7650    61337600    7  HPFS/NTFS
/dev/sda3            7650       25926   146801970    7  HPFS/NTFS
/dev/sda4   *       26772       30402    29156352    f  W95 Ext'd (LBA)
/dev/sda5           26772       27990     9783585    7  HPFS/NTFS
/dev/sda6           27990       28802     6522390    7  HPFS/NTFS
/dev/sda7           28802       29064     2099789+  82  Linux swap / Solaris
/dev/sda8           29064       29811     5999616   83  Linux
/dev/sda9           29811       30401     4738048   83  Linux
linux-up5o:/home/ash # 

Thanks!

star scream wrote:
> Therefore I would appreciate if somebody helps me out with the resizing
> process without damaging my Linux or Windows data…

others will need to help fill in step following mine:

  1. Make a full system backup of all partitions to off machine media
  2. Check each partition’s backup to make certain you can restore from
    the archived images
  3. dd the mbr to an off machine media
  4. defrag all windows partitions
  5. TBD
  6. etc


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

caf4926 wrote:

Just as a side note:
An installation of office 2007 in wine does not go on to the root partition
here but ends up in the .wine directory in the home folder of the user who
installs it.


openSUSE 11.2 64 bit | Intel Core2 Quad Q8300@2.50GHz | Gnome 2.28 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | Gnome 2.30 | Quadro
FX 3600M | 4GB Ram

What happened between the end of sda3 and the start of the extended sda4?
It’s not pretty either is it. Not sure I want to recommend anything but start over.

As pointed out quite correctly by Martin, application installed in wine go in your /home partition.

OK… I will not take any risk since I am working on my dissertation now and I don’t want to lose my data.

However, at some later date, I may format my laptop and reinstall Windows7 as well as OpenSuse 11.3. Could you suggest to me some reading material in order to get my partitions spot on? I have previously used the partitioning utility that runs during OpenSuse installation process, but I am still not confident with it.

Thanks you all once again… :slight_smile:

You need to split the HD in half. At the moment you have too much given over to windows and other ntfs partitions, that should not be needed.
If you give windows just one ntfs partition to install to, it will not create a boot partition either.
I use Parted Magic to do my partitioning,but you still have use the partitioner in SUSE to do the mount points.
As a suggestion look at one of mine win 7 and SUSE + sda7 testing partition

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 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: 0xdbdf45b8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        7600    61046968+   7  HPFS/NTFS
/dev/sda2            7601        7982     3068415   82  Linux swap / Solaris
/dev/sda3   *        7983       30401   180080587    5  Extended
/dev/sda5            7983       10532    20482843+  83  Linux
/dev/sda6           10533       19456    71681998+  83  Linux
/dev/sda7           19457       30401    87915681   83  Linux

star scream wrote:
> OK… I will not take any risk since I am working on my dissertation
> now and I don’t want to lose my data.

even if you do not repartition (good decision, btw) you should
immediately take steps to backup your dissertation and supporting
materials to an off machine media…

laptops get dropped/stolen, hard drives die, yadda yadda yadda…


DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]