6 # You can uncomment the following to see the
7 # geometry (CHS), which is needed to repartition.
8 #sfdisk-disk-geometry /dev/sda
9 sfdisk /dev/sda 0 0 0 ,
18 truncate --size=260M test.img
20 guestfish -a test.img <<EOF
22 # Turn off the VGs before we can repartition.
24 sfdisk-N /dev/sda 1 32 255 63 0,31
29 # The following command would fail if the
30 # partition or PV hadn't been resized: