I am stuck: On a dual-boot Windows/Linux PC, in order to enlarge the boot partition which was running out of space to update the kernel, I wanted to move a Windows partition that had the system 32 using 'kde partition manager'. After this, the partition is no longer NTFS and Windows is no longer able to read it and repair it. So Windows is no longer working and Grub is not detected by the BIOS (so Linux is no longer working either even if it has not been corrupted). Looking at the hexadecimal, the Windows partition starts with a large number of zeros (on a few hundred lines) before seeing file contents... Does anyone know what to do please?
-
2Best: Restore from your last disk image. This is by far fastest and safest. Alternative: Salvage files and then reinstall Windows and Linux.– DrMoishe PippikCommented Feb 12, 2023 at 23:28
-
Moving system partitions is a bad idea. Especially Linux tools like parted, gpared are extremely terrible at moving/resizing NTFS compared to solutions such as MiniTool Partition Wizard, AOMEI Partition Assistant, EaseUS Partition Master, Macrorit Partition Expert...– phuclvCommented Feb 13, 2023 at 1:45
-
@phuclv Linux tools like parted, gpared are extremely terrible at moving/resizing NTFS compared No, they aren't, they're as good as any other. The problem is always user error, including messing with an hibernated ("dirty") partition. What happens is some tools assume the users know what they're doing - not the case here - while others try to save users from themselves by not allowing certain operations. Other that that there's nothing wrong with the tools you mentioned for dealing with any supported file system.– ChanganAutoCommented Feb 13, 2023 at 12:46
-
@Fxfnet The best way to resize/move Windows partitions is doing it from Windows using Windows native tools. This however doesn't preclude knowing exactly what you're doing -and- having proper backups. Each and any operation HAS risks, ranging from very minimal to the situation you're in now.– ChanganAutoCommented Feb 13, 2023 at 18:51
-
@ChanganAuto no they're far worse. I've used all the above tools in so many PCs and ntfsresize (used by gparted) is the worst. gparted doesn't know to move only the non-overlapping regions and always move the entire partition. Other tools do that so not only they're significantly faster, they also greatly reduce the change of data loss/corruption. Of course users knowledge is required, but the tool is also important. In any case moving the system partition is a silly idea– phuclvCommented Feb 14, 2023 at 1:04
|
Show 3 more comments
1 Answer
Ok guys I finally reinstalled windows, hope I will be able to read data from the old partition image… thanks for all your contributions !
-
Good your problem's resolved :-) However, please note that answers are for providing answers only, not for thank-yous etc. You could maybe expand this to a proper answer following this https://superuser.com/help/how-to-answer). I'd suggest taking the [Tour and checking the Asking- and Answering -sections in the Help to learn how SE sites differ from discussion forums. Commented Feb 17, 2023 at 0:04