Jump to content

Can't format HDD (Ubuntu)

Go to solution Solved by Varpin,

@Light-Yagami Actually, I found an HDD from my old laptop, I will use that one.. Problem solved. lol

Hello!

 

I have a PC with one HDD with Ubuntu installed on the HDD and I'm now trying to format the HDD to NTFS to support Windows. Everytime I try to format the HDD, the following error messages comes: 

 

Error unmounting /dev/sda1: Command-Line ' unmount "/dev/sda1""exited with non-zero exit status 32:unmount: /:target is busy

(In some cases useful info about process that use device is found by lsof(8) or fuser(1).

(undisks-errorquark, 14)

 

Thank you! :)

 

 

Link to comment
https://linustechtips.com/topic/750666-cant-format-hdd-ubuntu/
Share on other sites

Link to post
Share on other sites

2 minutes ago, Varpin said:

Hello!

 

I have a PC with one HDD with Ubuntu installed on the HDD and I'm now trying to format the HDD to NTFS to support Windows. Everytime I try to format the HDD, the following error messages comes: 

 

Error unmounting /dev/sda1: Command-Line ' unmount "/dev/sda1""exited with non-zero exit status 32:unmount: /:target is busy

(In some cases useful info about process that use device is found by lsof(8) or fuser(1).

(undisks-errorquark, 14)

 

Thank you! :)

 

 

You're trying to format the same HDD that the system is running on?

Link to comment
https://linustechtips.com/topic/750666-cant-format-hdd-ubuntu/#findComment-9501461
Share on other sites

Link to post
Share on other sites

Just now, Varpin said:

Well, as far as I know, you can't format a drive when there's a system running on it at the same time (lmfao).

 

I don't know if that stands for partitions as well. For example if you had a System partition of 500gb and an empty 500gb partition that you wanted to wipe. You can only format a drive (erasing everything on it) with an OS being elsewhere.. You can't format a drive that has an OS running on it, it would also erase the OS, it just doesn't calculate.

Link to comment
https://linustechtips.com/topic/750666-cant-format-hdd-ubuntu/#findComment-9501469
Share on other sites

Link to post
Share on other sites

1 minute ago, Varpin said:

@Light-Yagami Aaw looks like I have to buy another HDD then... Okay, well thank you anyway! :P

Yeah. Pretty much. I'm laughing out laud man but on a serious note.. If you have a system running on a HDD that you're trying to format, you can't do that. Either you do a clean install and format the disc in the process or you get another drive, install an OS there and format your original HDD with that new system.

Link to comment
https://linustechtips.com/topic/750666-cant-format-hdd-ubuntu/#findComment-9501478
Share on other sites

Link to post
Share on other sites

You can not format the partition, that the operating system is running from. If you have other partitions on the drive, you can change and format them.

 

You don't need to format the disk prior to installing Windows. Start the Windows installation media and you have the option to delete existing partitions and create new ones, that have NTFS file system on them.

HAL9000: AMD Ryzen 9 3900x | Noctua NH-D15 chromax.black | 32 GB Corsair Vengeance LPX DDR4 3200 MHz | Asus X570 Prime Pro | ASUS TUF 3080 Ti | 1 TB Samsung 970 Evo Plus + 1 TB Crucial MX500 + 6 TB WD RED | Corsair HX1000 | be quiet Pure Base 500DX | LG 34UM95 34" 3440x1440

Hydrogen server: Intel i3-10100 | Cryorig M9i | 64 GB Crucial Ballistix 3200MHz DDR4 | Gigabyte B560M-DS3H | 33 TB of storage | Fractal Design Define R5 | unRAID 6.9.2

Carbon server: Fujitsu PRIMERGY RX100 S7p | Xeon E3-1230 v2 | 16 GB DDR3 ECC | 60 GB Corsair SSD & 250 GB Samsung 850 Pro | Intel i340-T4 | ESXi 6.5.1

Big Mac cluster: 2x Raspberry Pi 2 Model B | 1x Raspberry Pi 3 Model B | 2x Raspberry Pi 3 Model B+

Link to comment
https://linustechtips.com/topic/750666-cant-format-hdd-ubuntu/#findComment-9501559
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×