You are not logged in.
Hi all.
I decided to wipe out my Windows installation, as I haven't boot it for several months and don't really need it.
My current partition schema on sda disk
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/disk/by-uuid/798d5bc2-dd07-4d08-b25e-dfcdb2b70af8
18577596 14553268 3080512 83% /
/dev/sda6 4134900 3051412 873440 78% /home
/dev/sda8 3613056 2388016 1041544 70% /var
/dev/sda9 4664632 3689272 738404 84% /usr/local/matlab
/dev/sda1 34603976 32459128 2144848 94% /media/sys
/dev/sda5 88084360 61574208 26510152 70% /media/install
Layout is approximately the following
[sda1] [sda2 [ntfs partition] [home] [/] [var] [matlab] ]
Windows is on sda1.
So, as I said I want to remove windows, and then occupy that free space.
I want to increase my / and /home and leave some space unoccupied (about 4 gigs) for future weblogic dedicated partition.
Also sda5 can be shrinked a little.
How would you suggest to reorganise my partitions?
edit:
Haven't mention the most importatnt! I would like to keep my current Arch installation alive if it is possible (I believe it is).
P.S. I have free space on another harddrive sdb, so I can move my data to that hdd while modifying sda, but would like to avoid this.
Thanks in advance
Last edited by eDio (2010-11-13 06:27:31)
Offline
SystemRescueCD -> Gparted -> Resize.
I used it to decrease home and increase roota little. Great stuff.
Offline
gparted from a live cd, delete win partition, resize the rest... double check grub menu.lst
it's slow and tedious waiting for it, but you'll have the livecd to play with
Offline
I want to note, that here will be one issue, after deleting win
[free space] [ntfs partition] [my linux partitions]
So I will have to move one of the partitions. But which one is better to move? Is it safe to move root partition? How to do this?
Offline
you can move it with gparted, sorry, I skipped that in my post, that's what takes up the time that I was referring to, not resizing
Offline
I've done Copy-Paste in Gparted to move my / and /home partition to free unallocated space over ntfs partition.
There seems to be no problems with /home, but / has grown in size. Actually after moving / from 18GB to 33GB partition, it has the same amount of free space
Does anyone know how to fix this?
P.S. btw, I've also fixed grub and fstab, and all boots just fine. There is the only issue with partition size
Offline
Problem solved.
The problem was in the new partition uuid.
ls'ing /dev/disks/by-uuid said, that my new sda1 has the same uuid as sda7, and sda some has no one.
To solve the problem I've generated new uuid with uuidgen, binded this uuid to my sda1 with tune2fs and changed uuid in grub. And now all is ok.
Offline