You are not logged in.
Pages: 1
When I installed arch I set up a multi partition scheme as recommended by the wiki when I was new to arch. It's served me fine until now, because I'm running out of space on / .
I have 2 drives. The first is a 500GB split into C:(40GB) and D:(the rest) for windows, which is my main drive since I don't use linux much anymore (though that may change soon with steam coming to linux
).
The second is a several year old 250GB drive, which was originally just an extra space drive for windows until I started getting into linux. It's set up as follows:
/dev/sdb1 ext4 / 11.44GiB
/dev/sdb2 reiserfs /var 9.54GiB
/dev/sdb4 (extended partition)
/dev/sdb5 ext4 /home 11.44GiB
/dev/sdb3 ntfs /media/F 189.45GiB (positioned at the end of the drive)
I want to have one singular partition for linux now instead of the 3 separate ones.
In my head, this works:
Boot up to a live cd, chroot in, find another drive to transfer everything to. cp -r /var /path/to/drive && cp -r /home /path/to/drive.
Exit the chroot and use gparted to delete those two partitions and then resize /dev/sdb1 up to the ntfs partition.
Mkdir var and home on / and copy all the files back, edit /etc/fstab to reflect the changes.
Would this work? Or would I need to reinstall?
Offline
I've never done something like that either, but I think that should work.
Lenovo Thinkpad T420; Intel sandy bridge i7 2.7GHz; integrated graphics card; 4GB RAM; wifi; Arch; Xmonad WM
Offline
That should be perfectly possible, yes. You'll just have to update fstab (as you indicated) and possibly your bootloader config to point to the correct root partition.
Burninate!
Offline
Pages: 1