Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2127  / 2 Years ago, thu, march 3, 2022, 12:38:34

So I installed ubuntu. And a little time it continues - i could to load windows from grub, and all was right.



But something happened and now when I choose Windows 7 x64 on my grub list It says that cant find my Windows bus i see my Windows folders on my hard disk (that is all right).



I have updated my grub, Windows string disappeared.



As I understand, i need to find the way to windows loader, and write it to any config file in my grub configuration. But it is only theory. Help me please. How to recover Windows in my GRUB.



Ubuntu is installed to other disk than windows, so it is separated. Also I had checked file system status in my ubuntu disk utility - it says that my file system (where 7 installed) is damaged. I don't know how to care it.



UPD: output of sudo fdisk -l:



Диск /dev/sda: 320.1 Гб, 320072933376 байт
255 головок, 63 секторов/треков, 38913 цилиндров, всего 625142448 секторов
Units = секторы of 1 * 512 = 512 bytes
Sec size (log/phys): 512 байт / 512 байт
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk id: 0xf2efcaf5

Load dev. Beg End Блоки Id Система
/dev/sda2 206848 599878722 299835937+ 7 HPFS/NTFS/exFAT
/dev/sda4 599879678 625141759 12631041 5 Расширенный
/dev/sda5 621045760 625141759 2048000 82 Linux своп / Solaris
/dev/sda6 599879680 621043711 10582016 83 Linux


Boot Repair logs:




  1. Initial.

  2. After doing Custom Repair.



UPD: Executed bootrec /fixboot in system repair. Windows string appeared again. But can't load: error of type 000000xc000000000 end to 428


More From » boot

 Answers
5

You should boot from your Windows installation media (either DVD or USB) and select System Recovery. Then select Command Prompt.





In the window, you have to run



chkdsk /F C:
bootrec /fixboot
bcdboot C:Windows /s C:


You should now make the partition active.



diskpart

DISKPART> select disk 0

selected disk 0

DISKPART> select partition 1

selected partition 1

DISKPART> active

partition 1 marked as active


Your partition number may differ from mine so run list partition before you select it. And if you select wrong partition, you can destroy Ubuntu, so be careful.



Then return to System Recovery Options and select Startup Repair. Then you can boot Windows from it's disk, but it's not the goal. You should now reboot to Ubuntu and run in the Terminal:



sudo update-grub


This should find Windows and place it's entry inside GRUB menu.


[#26222] Saturday, March 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
berlorful

Total Points: 346
Total Questions: 90
Total Answers: 99

Location: Monaco
Member since Tue, Nov 30, 2021
2 Years ago
berlorful questions
Thu, Sep 2, 21, 10:12, 3 Years ago
Sun, May 9, 21, 20:55, 3 Years ago
Mon, Jan 16, 23, 23:19, 1 Year ago
Mon, Aug 29, 22, 05:43, 2 Years ago
;