In a scenario where the PC will not boot or cannot be accessed, it may be necessary to still retrieve some files off of its hard drive (for instance, myCNC profile folders that contain all the custom settings for the myCNC software).
In that case, follow the steps below:
The PC should now boot into Ubuntu MATE from the USB that you have previously plugged in. In the example below, we will be retrieving the files for the myCNC profiles:
You now have access to the profiles. Copy the profiles over to a different USB stick that you can plug into the PC, or upload them to an online storage drive for further access.
Here, we will be using the terminal and the fsck
command to find out whether there are any problems or issues with the file system. Make sure that the specific drive you are diagnosing is UNMOUNTED (this can be done by heading to the file manager and clicking the triangle and rectangle button next to the volume name, or by right-clicking the drive and unmounting it):
sudo fdisk -l
into the terminal and press ENTER. This will show a list of drives with all the partitions/volumes on them./dev/sda2
and /dev/sda5
, as they are both Linux partitions on the SSD (rather than Linux Swap or Extended). sudo fsck -y /dev/sda2
and press ENTER. Let the system correct any errors that it locates. sudo fsck -y /dev/sda5
and press ENTER. Wait while the system corrects any errors.
If fixing the errors on /dev/sda2
and /dev/sda5
does not correct the issue, check the other drives that are connected.
fdisk -l /dev/sdb
sudo fsck -y /dev/sdb2
sudo fsck -y /dev/sdb5
Once the errors are fixed, shut down the computer and unplug the LiveUSB. Reboot the system.