N
N
Nertsan -2021-04-10 06:26:46
linux
Nertsan -, 2021-04-10 06:26:46

How to format a disk if it has a Linux password?

I decided to switch to Linux, that is, I tried it on a virtual machine back and forth and moved. But immediately problems began with sound, drivers for the video card.
I spent 4 days and decided to go to Windows, but when formatting the disk, Windows writes that it needs MBR, not GPT.

I tried to format it in the Windows installer, but I don’t want to, it throws errors, including that there is no MBR. Now when I boot into Linux it won't boot anymore because I formatted it there. But Grub didn't leave and goes into rescue.

I decided to format it via a Live CD, I have a flash drive with Tails, but when creating a new partition with NTFS, it requires an administrator password, although it does not seem to be on the flash drive. That is, on Tails, the password from the Linux that was installed is not suitable.

What should I do now to format the SSD to NTFS?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
H
hint000, 2021-04-10
@Nertsan

sat for 4 days and decided to leave
Don't worry so much about trifles.
need MBR not GPT
Run fdisk, it allows you to create a new partition table - MBR or GPT of your choice.
Also, Windows will agree to use GPT if you boot in UEFI mode.

Z
Zettabyte, 2021-04-10
@Zettabyte

Connect the SSD to a working Windows computer, download the free R.tester and run a write test. You can not entirely, but by 10-15%.
Write test overwrites the contents of the disk irrevocably, in your case (no important data) it can be run fearlessly.
You can also put the program on that bootable USB flash drive that you made earlier and try to do the same without removing the disk.

S
SOTVM, 2021-04-10
@sotvm

boot from a flash drive
, and delete
it if you are not right = then you will not copy / read,
but demolish it = easily
format (+ a couple of parameters, I think it’s enough to specify only the format
block size = it will pick it up automatically = you don’t need to change it if you don’t understand about it
man format= and you don’t need an Internet, there are helps even in the most stripped-down version of Linux

O
Oleg Volkov, 2021-04-10
@voleg4u

wipefs
Boot from RescueCD and use wipefs -a /dev/XXX <- here you have to guess the correct name of your drive.

D
Denshestir, 2021-04-10
@Denshestir

There will be a welcome window in the tiles when loading, there you click on + and select administrator password
.
Congratulations, you have become an admin.
Now you can execute sudo commands, you can still go to local drives in the menu other places, which are located in the sidebar at the very bottom in the 'files' application in any folder in short, in the side menu of the folder: documents, downloads, images, tor browser computer etc. all sorts of flash drives down there "+" "other places, and, accordingly, other functions that require root rights,
They are all now available to you just enter the password that you created and confirmed on the initial welcome screen, where when creating a password the 'Administrator password' item should have switched from [ off ] to [ on ] before pressing [ start tails ]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question