Hi,
I run debian testing at work, and I'd like to give kubuntu LTS a try. Here's my partition table:
Code:
s00016:/home/yanik# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/hda2 1021 6018 40146435 5 Extended
/dev/hda5 1021 1142 979933+ 82 Linux swap / Solaris
/dev/hda6 * 1143 1154 96358+ 83 Linux
/dev/hda7 1155 3586 19535008+ 83 Linux
/dev/hda8 3587 6018 19535008+ 83 Linux
and filesystems:
Code:
s00016:/home/yanik# df -h
Sys. de fich. Type Tail. Occ. Disp. %Occ. Monté sur
/dev/hda7 xfs 19G 3,2G 16G 18% /
/dev/hda6 ext2 89M 19M 66M 22% /boot
/dev/hda8 ext3 19G 5,2G 13G 30% /home
Now what I'd like to do is to move my /home dir to / and use the 20GB freed for Kubuntu. How would I do that without loosing anything?
I think I would have to boot with a livecd, mount my 2 partitions, say /mnt/home and /mnt/root/, then copy my /mnt/home to /mnt/root/ (and editing fstab) and then it should work, would it?
Thanks
Yanik