Wednesday 27 Nov 2013

Wednesday 27 Nov 2013

Retry/Cancel? \^C user@hdp:/etc/init.d\$ sudo parted /dev/sda unit s p sudo: unable to resolve host hdp Model: VMware, VMware Virtual S (scsi) Disk /dev/sda: 125829120s Sector size (logical/physical): 512B/512B Partition Table: gpt

Number Start End Size File system Name Flags 2 34s 2047s 2014s Linux filesystem 1 2048s 125829086s 125827039s ext4 Linux swap

parted -ms /dev/sda unit s print BYT; /dev/sda:52428800s:scsi:512:512:gpt:VMware, VMware Virtual S;1955839 1:34s:2097185s:2097152s::Linux swap:; 2:2097186s:52428766s:50331581s::Linux filesystem:;

sudo parted -s /dev/sda mklabel gpt sudo parted -s /dev/sda mkpart primary linux-swap 2048s 1955839s sudo parted -s /dev/sda mkpart primary 1955840s 100%

Comments