|
It is not a simple process to retro-fit partitions for dual booting.
Use SystemRescueCD-1-3.2 from distrowatch
# boot systemrescue dolvm
Windows disk
1. disk clean up.
2. Turn off and back on the the checkpoint process (turning it off removes many old files)
3. run ckfs on the windows disk (it will say it will do it the next reboot as it needs exclusive usage.)
Reboot and let it run.
4. Run disk defrag.
5. resize with a windows tool.
Linux. (On the new free diskspace.) All the commands have a man page.
1. fdisk /dev/sda
create the next partition on the frespace. A partition can not be in segments.
It will be out of order (sda1-windows, sda4- freespace,sda2 -/boot,sda3 -LVM PV
2. create a PV on the new partition.
lvm pvcreate /dev/sda4
3. Extend the Volume Group to the new PV.
lvm vgextend vg_name /dev/sda4
4. Extend the LV
lvm lvextend /dev/VG_name/LV_name /dev/sda4
(no --size means use all the space, same as "-l +100%PVS")
5. resize2fs /dev/VG_name/LV_name
no size means use all VG freespace.
SJ
__________________
Do the Math
Last edited by SlowJet; 5th December 2009 at 01:46 PM.
|