rescatux to restore windows (hibernated)

For what I read on the forum to restore windows I should use a thrid party windows utility. I was wondering if I can fix my old window partition(need few software sorry), using rescatux. would be that possible? I really want to restore window without using any window utility.

thanks

Are you saying you deleted your Windows partition and are now attempting data recovery? If Manjaro has been installed over the partition I don't think its possible, if this is a Windows partition that has just been deleted into unallocated space you might be able to get it back.

moved to #other-os from #newbies as the topic concerns Microsoft Windows. Added some tags to help clarify.

I am sorry for the misunderstanding not! I did not delete the window partition. wndows exists but the boot does nor recognize it anymore
I guess things are really messed up

fdisk -l 
Disk /dev/nvme0n1: 238,49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PM961 NVMe SAMSUNG 256GB                
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B03E0E64-DB72-43F2-A2D5-70A2D2848690

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048   1026047   1024000   500M EFI System
/dev/nvme0n1p2   1026048   1288191    262144   128M Microsoft reserved
/dev/nvme0n1p3   1288192 369770495 368482304 175,7G Microsoft basic data
/dev/nvme0n1p4 464975872 465995775   1019904   498M Windows recovery enviro
/dev/nvme0n1p5 465995776 497776639  31780864  15,2G Linux filesystem
/dev/nvme0n1p6 497778688 500117503   2338816   1,1G Windows recovery enviro
/dev/nvme0n1p7 378720256 462116863  83396608  39,8G Linux filesystem
/dev/nvme0n1p8 369770496 378720255   8949760   4,3G Linux swap

Partition table entries are not in disk order.

Oh. So the Windows Boot Manager is not there? As in GRUB does not recognize it? I suppose you could try rescatux, I take it you saw @Yochanan's recommendation? I recommend backing up your system with timeshift before doing so. That way if something goes wrong, you can just revert instead of having to re-install GRUB.

my main problem is that if I try to chroot window from my linux box( not from the live) I get a strange hibernated system message


Disk /dev/nvme0n1: 238,49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PM961 NVMe SAMSUNG 256GB                
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: B03E0E64-DB72-43F2-A2D5-70A2D2848690

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048   1026047   1024000   500M EFI System
/dev/nvme0n1p2   1026048   1288191    262144   128M Microsoft reserved     
/dev/nvme0n1p3   1288192 369770495 368482304 175,7G Microsoft basic data   
/dev/nvme0n1p4 464975872 465995775   1019904   498M Windows recovery environment
/dev/nvme0n1p5 465995776 497776639  31780864  15,2G Linux filesystem       
/dev/nvme0n1p6 497778688 500117503   2338816   1,1G Windows recovery environment
/dev/nvme0n1p7 378720256 462116863  83396608  39,8G Linux filesystem       
/dev/nvme0n1p8 369770496 378720255   8949760   4,3G Linux swap             
                                                                           
Partition table entries are not in disk order.                             
[billy-xps139360 manjaro]# mount /dev/nvme0                                
nvme0      nvme0n1    nvme0n1p1  nvme0n1p2  nvme0n1p3  nvme0n1p4  nvme0n1p5  nvme0n1p6  nvme0n1p7  nvme0n1p8  
[billy-xps139360 manjaro]# mount /dev/nvme0n1                              
nvme0n1    nvme0n1p1  nvme0n1p2  nvme0n1p3  nvme0n1p4  nvme0n1p5  nvme0n1p6  nvme0n1p7  nvme0n1p8  
[billy-xps139360 manjaro]# mount /dev/nvme0n1p3 /mnt/windows/
Windows is hibernated, refused to mount.                                   
The disk contains an unclean file system (0, 0).                           
Metadata kept in Windows cache, refused to mount.                          
Falling back to read-only mount because the NTFS partition is in an        
unsafe state. Please resume and shutdown Windows fully (no hibernation     
or fast restarting.)

I passed this comand now I have chroot access to windows
ntfs-3g -o -ro /nvme0n1p3 /mnt/windows

Oh. Its in hibernation. This means Windows has saved important files to the disk and is waiting on resume. Windows is not fully shutdown, it has instead cached your session. You may have to use Windows Live Media to save your Windows, as you need to get Windows out of hibernation, Linux tools cannot do this. Windows will automatically hibernate after a period of time, most likely it did this and you did not notice, and then booted Manjaro. Happened to me once.

I feel like you are trying to avoid having to reinstall GRUB due to Windows Live Media overwriting it. I know its a pain, but Manjaro makes it fairly simple, just follow the UEFI guide here.
https://wiki.manjaro.org/index.php/Restore_the_GRUB_Bootloader

I did it, with the command I gave as describer above, I have access to windows directory.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by