How to resize a swap partition in suse linux at the beginning of the drive and create new partition?
Posted on 2006-06-27
To the point: My suse linux-installed drive has these partitions..
sda1 : 2gb, type 82, linux swap
sda2 : 78gb, type 83, linux native, mounted as /.
I want to resize sda1 to 1gb, ensure it continues to act as a swap drive (does this mean recreating the swap format on that drive?) and then create a new partition sda3 to be the /boot partition.
problems I can see with this:
i) putting a new partition in might label the new partition between the first partition (swap) and third partition (data) will mean the new partition (/boot) will be labelled sda2 and the data partition will be referenced as sda3. this will mean changing the fstab file from the rescue disk?
ii) not too sure how to recreate (if neccessary) the swap partition
Any ideas please, people?
thanks for any and all help.