- HOW TO REFORMAT HARD DRIVE AND INSTALL UBUNTU HOW TO
- HOW TO REFORMAT HARD DRIVE AND INSTALL UBUNTU INSTALL
Open up a terminal and run dmesg | grep 'sector size'. You don’t want to do this if it’s not the correct solution. Verify that your drives have an incorrect block size I like to remove any drives that I don’t want to format before doing this. The rest of this guide has been designed to work with this version of Ubuntu, so pick this for best results.īoot up your system from this flash drive.
HOW TO REFORMAT HARD DRIVE AND INSTALL UBUNTU INSTALL
Grab a flash drive, download Ubuntu 18.04 LTS and install it to your flash drive with Rufus (or similar). Some RAID controllers will not allow you to do this, but others can be reflashed to enable this type of access. This is necessary because you’ll need to have direct access to the drive in order to reformat it. When you are installing Ubuntu, at the partitioning step, choose Use entire harddisk, and Ubuntu will format the entire harddisk for you, also creating a swap partition. Most importantly, you’ll need an HBA or RAID controller capable of IT mode to connect your drives.
HOW TO REFORMAT HARD DRIVE AND INSTALL UBUNTU HOW TO
Here’s how to get started fixing your own drives: Prerequisites I have a whole server full of these drives, so I made my own fork which is capable of reformatting more than one drive at once. The final installation of Ubuntu is guided step by step through a series of windows and is also described here. Click the ‘install now’ button on that window to start the process. Once the software copy is inserted into the drive, a dialogue window should pop up within 1 few seconds. If you double click on the icon, this will open a window (Erase disk and install Ubuntu) which will start the full installation process, shown in Fig 8. Unfortunatly, the tool only reformats one drive at a time. This is typically the first step of the installation process where we obtain a ubuntu server software copy in the form of a DVD or USB flash drive and read it through the DVD player or USB port. This tool has been reported to work on IBM, Hitachi, and Seagate disks.
![how to reformat hard drive and install ubuntu how to reformat hard drive and install ubuntu](https://i.stack.imgur.com/c6izX.png)
So, for example, to wipe the partition /dev/sda5, you can use. As I said before, I want to use shred on partitions and hard drives.
![how to reformat hard drive and install ubuntu how to reformat hard drive and install ubuntu](https://florisvanbreugel.files.wordpress.com/2018/03/v2_erase_drive.png)
User ahouston on GitHub has posted a fork of the great setblocksize tool which will send the correct commands to a SAS drive controller in order for it to reformat the drive to 512 block size. ) if it isnt you can install it as follows (Debian/Ubuntu/Knoppix): apt-get install coreutils. As it turns out, many drives out of enterprise storage arrays have been formatted with non-standard block sizes, for various reasons.įortunately, there’s a way to format them back to a standard 512 block size so they can be used in a typical server. You’re probably reading this page because you came across a great deal on some SAS drives, and you can’t get them to work.