I accidentally locked my hard drive

I tried to install Manjaro with unetbootin without any usb or dvd so I choosed my drive (C drive) and I tried to run live Manjaro and it worked but when I tried to complete the installing , I choose drive C (windows main drive) as sda2 and installed manjaro on it .
It completely installed without error but when I restarted , The windows broke and the repair program said drive is locked.
I tried to boot with grub to Manjaro but it wasn’t successful and it raised error.
I even tried to reinstall windows with dvd but it doesn’t recognize the hdd and partitions like there is not hdd in my PC
My hdd was healthy before this .
I tried to repair windows with dvd of it but have the same problem. It doesn’t recognize my hdd .

This is a very vage description and it will be virtually impossible to reconstruct what happened based on that. If you did not record the exact errors and logs, the only thing you can do now is to boot from a live usb and start collecting and posting info (like inxi and lsblk) and maybe someone could deduct what once was based on the current state. From your first sentence i would say the partitions are messed up, but it does not make sense with your next sentence…

1 Like

No, Manjaro did not do anything. You did things apparently without understanding.

No, you’re not dying. Yes, I understand anxiety and panic attacks.

Please edit your topic title and first post to be clear and concise about the problem, otherwise no one can help.

Please see:

:information_source: Please note that your topic will be hidden from the public until you make the requested edits.

I did the edits bro.

1 Like

Thank you. :+1:

Your topic is no longer hidden.

You mean you overwrote your C drive?
Tough luck.
If the data on there is super important then you might be able to get some of it back using recover tools like photorec, or using a specialized service (a pro costing 100s of US$).

You tried to format and overwrite this partition multiple times. Your data is not likely easily recoverable.

If this was an OEM windoze machine you might have a backup drive to ‘restore’ windoze (really just a reinstall using the dedicated backup drive as the bootable media).

There isnt going to be a repair here.

You need to completely reformat the partition to do do a clean install.

If windoze utilities somehow cant manage that then use another live system - various purpose media is out there like SystemRescue, Hirens, etc. You could also use a live manjaro usb/dvd.

I still think you are not properly explaining and contradicting yourself

So you reformated the windows partition deleting everything on it? With what file system?

There should have been no windows anymore. Maybe the bootloader is left, but the manjaro installer should have taken care of it if

Is it encrypted? Or was it? The windows repair program could not have repaired anything at this stage, except breaking the manjaro bootloader

What error? Did you disable secure boot? Or did you try to reboot after “repairing” with windows which break the manjaro (guide to restore here)

This should not have happened either. The win installer had to show you the drive as unknown, or unformatted, or broken and asked to reformat (because it does not recognize the linux filesystem…assuming you formatted the windows partition which we are still not sure about)

The possibility of hardware breakage with any os install is virtually 0. It is still healthy, but probably with messed up filesystem and partitions and probably have to be reformatted for a clean start.

Once again, if the assumption is right - there is no repairing windows here, it is gone. You either repair manjaro bootloader or reinstall windows from scratch, if i understand correctly the situation.

1 Like

I think I did . I think I overwrote C drive an this caused problem.
But I don’t understand the locking of my drive.
I didn’t use encrypted option while installing Manjaro but I don’t know why it became like this.
So my PC is not booting how to reformat the disk?

The problem is I’m begginer with Linux and I don’t know what happened when I installed manjaro .
I choosed replacing Manjaro option while installing and it choosed my drive C as sda2 but It didn’t format it . Which means the OS still is there but something prevent it from booting.
I didn’t even use bitlocker or any encrypteing software .
I didn’t have any important data.
The only thing matters to me now is that windows must booting.

Manjaro forum is better than Microsoft one.
Because people in here are experiented users unlike Microsoft.

If you don’t have any important data in the drive and you’re not looking to recover anything than all you can do now is to just get a bootable usb (use ventoy or refus) and put manjaro on it and boot to it and then delete all partitions and install manjaro, and if you wanna dual boot it with windows then you would better need to install windows first then follow this guide :

1 Like

You trying to make the switch from Windows to Linux?

Everything what you need is in my Guide:

Sry, we don’t give Windows support here.

Maybe its worth to inform first before you blindly install another OS without background informations.

1 Like

If that is true, then unfortunately Manjaro is not the right distribution for you. Manjaro is a very technical distribution that requires periodic maintenance — and I’m not just talking of updating your system — and due to the nature of a rolling-release distribution, often also a hands-on approach in order to fix any potential problems.

Please read the following short essay… :point_down:

1 Like

So you have written the ISO to you disk - that explains a lot.

That explains why windows sees it as locked.

The filesystem is ISO9660 which is immutable - thus windows cannot install.

There is no easy way around this - you will have wipe the disk.

You can do this if you can manage to boot your Windows DVD into safe mode.

From safe mode you can use the Windows diskpart utility to wipe the disk.

How to reach safe mode - with the Windows installer - I cannot remember - you will have to find a Windows forum for that.

I only vaguely remember the diskpart commands - so you will have to research that yourself as well.

1 Like

That only makes partial sense: he would have been able to boot windows if that was the case.

I don’t know. Without knowing what he did or what is the current situation we’re just guessing. I would ask a friend with more experience to reinstall winboze if i was him.

I dont know.

Unetbootin would first ask “are you sure?” and then format the disk to fat32 before writing the image.
I dont think there would still be a windoze to have.

The problem is that windows installer doesn’t recognize the hdd.
I’m able to boot the dvd of windows but when I want to choose the partition, there isn’t my disk.
I’m a windows user for over 8 years but now I lm confused because my stupidity.

Even after installing Manjaro with unetbootin, still there was windows working normal , but when I choose my windows drive to be my sda2 , it became like this now.

I have an idea I don’t know it will work or not .
My plan is to bring the hdd to a guy that fixes other computers and tell him to format my hdd completely.

I suppose you have Windows 10. Your DVD may be an old edition without the last disk drivers. It’s better downloading the last Windows 10 image from here:

https://www.microsoft.com/es-es/software-download/windows10ISO

And write to an USB disk using Rufus Portable:

Boot with this USB drive and perhaps you may be able to install it.