On 2019-08-28 11:21, Ralph Corderoy wrote:
Hi Tim,

To clone or dd

Is there a difference?  :-)

The ssd will be smaller than the current harddisk (current hard disk
is 500gb - formating etc.) and I am looking at fitting a 250gb ssd.

Assuming the rust is /dev/sda, what's the output of

    sudo -i parted /dev/sda unit B print
    df -k /dev/sda?*

--
Cheers, Ralph.

Hi Ralph

Details as follows:

sudo -i parted /dev/sda unit B print
[sudo] password for mit:

Model: ATA HGST HTS725050A7 (scsi)
Disk /dev/sda: 500107862016B
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
 1      1048576B       49217011711B   49215963136B   primary  ext4
 2      49217011712B   468647411711B  419430400000B  primary  ext4
3 468647411712B 500105249279B 31457837568B primary linux-swap(v1)


df -k /dev/sda?*
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda1       47045404  5712048  38913852  13% /
/dev/sda2      402123024 23220796 358405844   7% /home
udev             3890100        0   3890100   0% /dev

Regards

Tim H

--
 Next meeting: BEC, Bournemouth, Tuesday, 2019-09-03 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to