I tried replacing the Windows 10 HDD with a smaller SSD

Replace Windows 10 internal disk with SSD

The CPU is Core i5, MEM 6GB, but can the disk speed up the HDD PC? I was consulted. After all, if it is an old HDD in Windows 10, it is slow overall.

So, since the amount of HDD used was small, I decided to move to SSD, which has less capacity than HDD, in order to make it cheaper. After the replacement, it will be a very comfortable computer.

Make a note of that time.

Things to prepare

HDD data organization (delete unnecessary files)

Delete unnecessary files from the last partition of the disk to be copied (usually the last drive), or save it to another drive or USB memory to free up space. Make sure that the capacity to be secured is equal to or greater than the difference between the HDD capacity and the SSD capacity.

HDD partition capacity change

Use Kali Linux Gparted booted from a USB stick to reduce partition capacity.

Make sure that the reduced HDD capacity is smaller than the SSD capacity. Unused area is not wasted because it is incorporated into the system after replacement. So, please take the plunge and reduce it without aiming for the last minute. If the usage is larger than SSD, ** file system repair ** will be required after copying.

  1. Select partition
  2. Click Resize / Move
  3. Move the bar or specify a number to secure FreeSpaceFollowing
  4. Click Resize / Move
  5. Click Apply

At this time, ** Free space preceding ** should never be ** tampered with **.

HDD to SSD data copy

Use the dd command to copy the data from HDD to SSD.

Check the copy target disk

Use the fdisk command to identify the disk to copy. Judge from the disk manufacturer / model / capacity / partition configuration.

In the case of the following execution example Copy source: / dev / sda Copy destination: / dev / sdc Will be.

kali@kali:~$ sudo /sbin/fdisk -l
Disk /dev/sda: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: TOSHIBA MK2576GS
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6b6fd128

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1            2048  25167871  25165824    12G 27 Hidden NTFS WinRE
/dev/sda2  *     25167872  25577471    409600   200M  7 HPFS/NTFS/exFAT
/dev/sda3        25577472 256985087 231407616 110.4G  7 HPFS/NTFS/exFAT
/dev/sda4       256985088 420825087 163840000  78.1G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 59.49 GiB, 63864307712 bytes, 124734976 sectors
Disk model: Flash Drive     
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2259da88

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *         64 5625087 5625024  2.7G 17 Hidden HPFS/NTFS
/dev/sdb2       5625088 5626559    1472  736K  1 FAT12


Disk /dev/loop0: 2.4 GiB, 2565337088 bytes, 5010424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdc: 223.58 GiB, 240057409536 bytes, 468862128 sectors
Disk model: 00SSD1          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
kali@kali:~$

Copy execution

bs and count are decided like this. bs = 16000000: Copy unit (copy performance improves when it is large to some extent) count = 15000: Copy capacity / bs (240GB / 16MB = 15000)

kali@kali:~$ sudo dd if=/dev/sda of=/dev/sdc bs=16000000 count=15000

The copy at this time took about 2 hours.

Confirmation of copy progress (optional)

You can check the progress of dd by opening another terminal and sending a USR1 signal to dd.

kali@kali:~$ sudo bash
root@kali:/home/kali# watch -n 60 pkill -USR1 dd

Replacing discs

After copying the disc, replace the disc on your computer.

Start your computer with the replaced disk

Expand partition capacity

Incorporate the Free Space secured on the copy source HDD into the file system. Expand the capacity of the last partition in Computer Management> Storage> Disk Management.

Done!

Caution: Since I forgot to take a screenshot while working, I am using the image that reproduces the operation on the SSD after replacement for the operation image on the HDD.

Recommended Posts

I tried replacing the Windows 10 HDD with a smaller SSD
I replaced the Windows PowerShell cookbook with a python script.
I tried the super-resolution algorithm "PULSE" in a Windows environment
I tried a functional language with Python
I tried playing with the image with Pillow
I tried object detection with YOLO v3 (TensorFlow 2.0) on a windows CPU!
I tried "smoothing" the image with Python + OpenCV
I tried "differentiating" the image with Python + OpenCV
I tried to save the data with discord
I tried "binarizing" the image with Python + OpenCV
I tried using a database (sqlite3) with kivy
I tried playing with the calculator on tkinter
I tried object detection with YOLO v3 (TensorFlow 2.1) on the GPU of windows!
I tried to create a model with the sample of Amazon SageMaker Autopilot
I tried to learn the sin function with chainer
I tried to create a table only with Django
I tried to touch the CSV file with Python
I tried to draw a route map with Python
I tried to solve the soma cube with python
I tried to automatically generate a password with Python3
A memo that I touched the Datastore with python
I tried collecting data from a website with Scrapy
I tried to solve the problem with Python Vol.1
I tried a simple RPA for login with selenium
I tried to implement SSD with PyTorch now (Dataset)
I tried hitting the API with echonest's python client
I tried to make something like a chatbot with the Seq2Seq model of TensorFlow
I tried to implement a volume moving average with Quantx
I tried fp-growth with python
I tried scraping with Python
I tried "gamma correction" of the image with Python + OpenCV
I tried to analyze the whole novel "Weathering with You" ☔️
I tried using the Python library from Ruby with PyCall
I tried to find the average of the sequence with TensorFlow
I tried to automatically create a report with Markov chain
I tried to notify the train delay information with LINE Notify
I tried Learning-to-Rank with Elasticsearch!
I tried running PIFuHD on Windows for the time being
I tried to solve a combination optimization problem with Qiskit
I tried to get started with Hy ・ Define a class
I tried the changefinder library!
I tried using the DS18B20 temperature sensor with Raspberry Pi
I tried saving the DRF API request history with django-request
I tried a little bit of the behavior of the zip function
[Shell startup] I tried to display the shell on the TV with a cheap Linux board G-cluster
I also tried to imitate the function monad and State monad with a generator in Python
I tried to sort a random FizzBuzz column with bubble sort.
I tried gRPC with Python
I tried scraping with python
I wrote a doctest in "I tried to simulate the probability of a bingo game with Python"
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
I tried a stochastic simulation of a bingo game with Python
I tried to divide the file into folders with Python
I tried to divide with a deep learning language model
I tried to implement SSD with PyTorch now (model edition)
I tried to unlock the entrance 2 lock sesame with a single push of the AWS IoT button
I tried hitting the Google API with Ruby and Python-Make the database a Spreadsheet and manage it with Google Drive
I tried to predict the number of domestically infected people of the new corona with a mathematical model
I tried using "Asciichart Py" which can draw a beautiful graph on the console with Python.
A story that didn't work when I tried to log in with the Python requests module
I tried to create a server environment that runs on Windows 10