Fixing a 1TB HDD Bricked Due to Reboot Formatting on Fedora Linux
If you have a 1TB hard drive that has been bricked due to reboot formatting done using Windows File Explorer, you can try fixing it using Fedora Linux. This article will guide you through the process, providing detailed context and covering key concepts related to the topic.
Understanding the Problem
Formatting a hard drive using Windows File Explorer can sometimes result in the drive becoming bricked, meaning it is no longer recognized by the operating system. This can be frustrating, but it is often possible to recover the drive using a different operating system, such as Fedora Linux.
Preparing to Fix the Bricked Drive
Before you begin, make sure you have the following tools and materials:
- A computer with Fedora Linux installed
- The bricked 1TB hard drive
- A SATA cable and power connector
Connecting the Bricked Drive to the Computer
Connect the bricked hard drive to your computer using the SATA cable and power connector. Once the drive is connected, boot up your computer and open a terminal window.
Identifying the Bricked Drive
To identify the bricked drive, use the lsblk command in the terminal window. This will display a list of all the block devices connected to your computer, including the bricked hard drive.
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 500M 0 part /boot/efi
├─sda2 8:2 0 16G 0 part [SWAP]
└─sda3 8:3 0 915G 0 part /
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part
sde 8:64 1 14.7G 0 disk
└─sde1 8:65 1 14.7G 0 part /run/media/user/1TB\ DISK
In this example, the bricked drive is identified as /dev/sde.
Formatting the Bricked Drive
To format the bricked drive, use the mkfs.ext4 command followed by the device name. For example, to format the bricked drive identified as /dev/sde, use the following command:
# mkfs.ext4 /dev/sde
mke2fs 1.45.6 (20-Mar-2020)
Discarding device blocks: done
Creating filesystem with 244191232 4k blocks and 61053952 inodes
Filesystem UUID: 9d6a5f6e-6a3c-4a4e-a5f5-6a1a5e4d6a3c
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
This will format the bricked drive as an ext4 filesystem.
Mounting the Formatted Drive
Once the drive is formatted, you can mount it to a directory on your computer. First, create a directory where you will mount the drive:
# mkdir /mnt/bricked\_drive
Then, use the mount command to mount the drive to the directory:
# mount /dev/sde /mnt/bricked\_drive
You should now be able to access the formatted drive at /mnt/bricked\_drive.
References
-
Type: Online Resource
Title: mkfs.ext4 man page
-
Type: Online Resource
Title: lsblk man page
End of Article