Note: The same post has been posted on Gentoo Forums few days back.
Is it possible to split one primary partition in two (or more) partitions, without destroying the data on the entire hd? What I'd like to do is split the root (/dev/hda1) partition in two and have a separate /boot partition. All the data on /home (/dev/hda3) and /stuff (/dev/hda5) should be left intact
, but the contents of the root (and swap) partition are useless so destroying them won't do any harm. /home I guess should be moved on the extended partition... Can this be achieved by merely modifying the partition table, or would it require moving the data around as well?
Here's my current partitioning scheme (all filesystems are reiserfs):
Disk /dev/hda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2490 20000893+ 83 Linux
/dev/hda2 2491 2552 498015 82 Linux swap
/dev/hda3 2553 5043 20008957+ 83 Linux
/dev/hda4 5044 30515 204603840 5 Extended
/dev/hda5 5044 30515 204603808+ 83 Linux