Opensuse 13.2 x86_64 Fresh Install - Partition advice

Hi Guys,

I’ve got a DELL Latitude E6440 on which I’ve installed Opensuse 13.2. I’ve got 8GB RAM, 1TB HD space and I’d like some advice on how to partition it best. There is still an existing Windoze volume which I would like to get rid of so I can get more disk space (plus I prefer to use Virtual Box for my Windoze requirements). I’d like to use fdisk to re-partition if that’s okay.

fdisk -l



Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x3d92cd28

Device     Boot     Start        End   Sectors   Size Id Type
/dev/sda1            2048    1023999   1021952   499M  7 HPFS/NTFS/exFAT
/dev/sda2         1024000  366856179 365832180 174.5G  7 HPFS/NTFS/exFAT
/dev/sda3       977782784 1953519615 975736832 465.3G  7 HPFS/NTFS/exFAT
/dev/sda4  *    366856192  977782783 610926592 291.3G  f W95 Ext'd (LBA)
/dev/sda5       366858240  371052543   4194304     2G 82 Linux swap / Solaris
/dev/sda6       371054592  412999679  41945088    20G 83 Linux
/dev/sda7       413001728  977782783 564781056 269.3G 83 Linux

Partition table entries are not in disk order.


df -h


Filesystem      Size  Used Avail Use% Mounted on
/dev/sda6        21G  4.5G   14G  24% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G   76K  3.9G   1% /dev/shm
tmpfs           3.9G  1.6M  3.9G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda6        21G  4.5G   14G  24% /.snapshots
/dev/sda6        21G  4.5G   14G  24% /var/tmp
/dev/sda6        21G  4.5G   14G  24% /var/spool
/dev/sda6        21G  4.5G   14G  24% /var/opt
/dev/sda6        21G  4.5G   14G  24% /boot/grub2/x86_64-efi
/dev/sda6        21G  4.5G   14G  24% /var/log
/dev/sda6        21G  4.5G   14G  24% /var/lib/pgsql
/dev/sda6        21G  4.5G   14G  24% /tmp
/dev/sda6        21G  4.5G   14G  24% /var/lib/named
/dev/sda6        21G  4.5G   14G  24% /var/lib/mailman
/dev/sda6        21G  4.5G   14G  24% /srv
/dev/sda6        21G  4.5G   14G  24% /opt
/dev/sda6        21G  4.5G   14G  24% /usr/local
/dev/sda6        21G  4.5G   14G  24% /var/crash
/dev/sda6        21G  4.5G   14G  24% /boot/grub2/i386-pc
/dev/sda7       265G   73M  264G   1% /home
/dev/sda3       466G  101M  466G   1% /run/media/sharone/New Volume
/dev/sda1       499M   41M  459M   9% /run/media/sharone/System
/dev/sda2       171G   29G  142G  17% /run/media/sharone/OSDisk


Little confused on what you expect. This appears to be a MBR configured disk So you are restricted to 4 primary partitions which one can be an extend which can then contain many logical partitions.

There are many many ways this can be done. It depends some what on what you plan to use the extra space for and how much trouble you want to go to. You must keep sda4 the extended partition since it holds the 3 Linux partitions. If you remove the first 3 partitions this would free up about 600+ gig. You can simply make the space a partition and mount it somewhere in your file system. This is probably the easiest since you don’t have to move or resize the other partitions. But then You have a chunk of space mounted somewhere does it need to be integrated with the exiting partitions like home or root as a continuous file system ?? The new partition will exist as it’s own directory. fdisk is fine for this just delete the 3 Windows partitions and create a new and set a mount point. But easier if done in Yast-partition manager

Another option is to reformat the whole thing. If you use BTRFS file system (default on 13.2) then your root is a bit small I’d go at least 40 gig, if ext4 or snapper turned off 20 is fine for most things. Your swap is small also if you plan to hibernate (need min same size as RAM). is ok if you don’t. In this case because you have an extended it is best to wipe it all (backing up important data) and reinstall. You can’t do this from a running system you must use a live disk of some flavor. It can be done from the installer in expert mode.

In any case backup important data before trying even the first method above. You make a mistake or lose power in the middle and it is all gone.

My current situation

http://i42.photobucket.com/albums/e340/missakiiki/snapshot1_zpswyst8r6v.png

I decided to use GParted. I’m not able to extend my swap or home because they’re “locked”. Please advise on any alternatives or any other recommendations. I’m sorry, but partitioning for some reason has always been my Achilles heel during fresh installs.

Sorry, reposting…

Sorry, forgive me. Managed to figure it out. Going to reinstall because I’d like it to boot from /dev/sda1.

Well just to be sure you can not change things while running them you need to boot some form of Live media. Think about this do you change your tires when you drive down the road?? So you can’t change a partition while it is mounted and in use.

Yes thanks I figured as much later on. I wasn’t too familiar with GParted and it was rather careless of me to do it like that.