Livecd ~ # fdisk /dev/sda Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (15-10443, default 15): 1 Last cylinder, +cylinders or +size{K,M,G} (15-10443, default 10443):+100M Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (15-10443, default 15): 15 Last cylinder, +cylinders or +size{K,M,G} (15-10443, default 10443): +1G Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 3 First cylinder (15-10443, default 15): 147 Last cylinder, +cylinders or +size{K,M,G} (15-10443, default 10443): 10443
Command (m for help): t Partition number (1-4): 2 Hex code (type L to list codes): 82 Changed system type of partition 2 to 82 (Linux swap / Solaris)
Command (m for help): p Disk /dev/sda: 85.8GB, 85899345920 bytes 255 heads, 63 sectors/track, 10443 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x52a68f74 Device Boot Start End Blocks Id System /dev/sda1 1 14 112423+ 83 Linux /dev/sda2 15 146 1060290 82 Linux swap / Solaris /dev/sda3 147 10443 82710652+ 83 Linux