Windows 8.1 Dual Boot - boot repair doing nothing

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Kevinfallas01

Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

My first post, im going to try to keep this simple, bought a HP laptop about a year ago, windows 8.1 came preinstalled, i went ahead and installed Elementary OS on another partition, (it was a pain in the ass because of UEFI and it being the first time i ever used linux, i managed to get grub to work and was able to use windows 8 for school.
fast foward a few months, im out of school, decide to install Linux Mint 17.2 over Elementary, grub gets damaged, not showing windows 8 anymore, decide to rainbows it because i berely ever used windows 8, however, now i need to use windows 8, i tried running boot repair (https://help.ubuntu.com/community/Boot-Repair) it did nothing, got a windows 8 live USB and ran boot repair, it damaged grub, i got grub running again, booted linux mint and ran grub update and now i have a entry in grub that says MS-DOS 5.x/6.x/Win3.1 (on /dev/sda6), if i try to boot from it, it goes onto the windows boot manager telling me the boot files are missing.
how do i proceed? i need to get windows 8 to boot up again

sorry if this is a noob question, im only starting to learn linux
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Reorx »

Please get a Gparted screenshot of the HD and post it here.
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

its a mess, im not even sure why theres all that unallocated space
Screenshot.png
Last edited by Kevinfallas01 on Wed Sep 21, 2016 4:44 pm, edited 1 time in total.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by austin.texas »

Please post the results of the Boot Repair, or the Boot Repair url, preferably.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

austin.texas wrote:Please post the results of the Boot Repair, or the Boot Repair url, preferably.
forgot to mention, after i used the windows boot repair, if i try to open the ubuntu boot repair it gets stuck at "scanning systems. this might take a few minutes"
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by austin.texas »

Kevinfallas01 wrote: now i have a entry in grub that says MS-DOS 5.x/6.x/Win3.1 (on /dev/sda6), if i try to boot from it, it goes onto the windows boot manager telling me the boot files are missing.
According to your screenshot, sda6 is not the right one - at least it does not have the boot flag. The boot flag is on sda4
Please post the result of

Code: Select all

sudo os-prober
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

austin.texas wrote: According to your screenshot, sda6 is not the right one - at least it does not have the boot flag. The boot flag is on sda4
Please post the result of

Code: Select all

sudo os-prober
kevin@kevin-Mint:~$ sudo os-prober
No volume groups found
/dev/sda6:MS-DOS 5.x/6.x/Win3.1:MS-DOS:chain
/dev/sda9:Windows Recovery Environment (loader):Windows:chain
kevin@kevin-Mint:~$
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Reorx »

Kevinfallas01 wrote:its a mess...
You are correct sir!!! And because of the long and winding road to where everything is now, it's difficult to know the status of many different aspects of this situation. As a result, my best recommendation would be to salvage the data from both Win and Linux - do what you have to do to accomplish this before doing anything to the HD that could alter partitions.

Next, that recovery partition might be accessible at boot time via a special key sequence and if you are lucky, you will be able to restore the machine to day 0 status. If you can accomplish this, the next step will be to boot the Mint Live medium and evaluate the HD architecture. Make plans to adjust the partitioning and then install Mint in the space that you create for it. After that, all you have to do is restore your data and you're off to the races.

That's my $0.02 worth...

Best!
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

Reorx wrote:best recommendation would be to salvage the data
how would i go about doing this? all my important files are in /sda7

is there a way i can use that recovery on /sda9 to basically restore my system to only windows 8.1 but keeping /sda7?
i say this so that i can later make a proper install of linux mint in a new partition and get my dual boot suited out
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Reorx »

Kevinfallas01 wrote:
Reorx wrote: my best recommendation would be to salvage the data from both Win and Linux - do what you have to do to accomplish this before doing anything to the HD that could alter partitions.
how would i go about doing this? all my important files are in /sda7

is there a way i can use that recovery on /sda9 to basically restore my system to only windows 8.1 but keeping /sda7?
i say this so that i can later make a proper install of linux mint in a new partition and get my dual boot suited out
I redid my quote and have provided some additional emphasis. If there is no important data on the Windows side BE SURE that you back up all the data on SDA7 BEFORE attempting anything that COULD change the partitioning in any way. Clear?

In addition, be thankful that you did not encrypt your /home partition as that would have added another level of complexity to the project...

I believe you CAN use that recovery partition but I don't know exactly what the result will be. If you have documentation that came with the computer, that might be helpful to consult. Failing that, I would call the manufacturer to ask how to access the recovery feature and what it will likely do to the partitioning. Free advice - DO NOT RELY on their statement that SDA7 will not be touched (if they make such a statement).
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

Reorx wrote:If there is no important data on the Windows side BE SURE that you back up all the data on SDA7 BEFORE attempting anything that COULD change the partitioning in any way. Clear?

I believe you CAN use that recovery partition but I don't know exactly what the result will be. If you have documentation that came with the computer, that might be helpful to consult. Failing that, I would call the manufacturer to ask how to access the recovery feature and what it will likely do to the partitioning. Free advice - DO NOT RELY on their statement that SDA7 will not be touched (if they make such a statement).
I do not have the documentation with me, and since this computer was bought in the USA and sent to me here in Costa Rica, it would be a pain to call HP

how ever, i decided to dig out an old HDD from a broken laptop and use it to back up all my files from SDA7 and any other files that i consider important

now my focus will be to rainbows everything and try to get the computer to a day 0 point, i dont care if i lose my mint install or anything anymore, i just want to get this nightmare over with. so that then i can do a proper Mint install
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Reorx »

1) HP doesn't have any local support in Costa Rica?... Google to the rescue >>>
hpcr.png
2) If you don't care about Windows, it would be a simple matter to wipe the drive (except for SDA7) and install Mint and them migrate the data if you wanted to.

3) Back up first = universally good idea! :mrgreen:
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by trytip »

boot to your mint and then run

Code: Select all

sudo grub-install /dev/sda
sudo update-grub
if windows doesn't start because of some kernel botmgr fail it's because your drive is PUBAR (partitioned beyond all recognition :mrgreen: meaning you have more than one microsoft bootmgr) and you need to boot from your windows 8 disc thingie to get the advanced startup options restored
Image
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by austin.texas »

Please post the complete menuentry you have for Windows.
To do that, open /boot/grub/grub.cfg in a text editor. Post everything that is in the 30_os-prober section (near the end of the file).
That section goes from:
### BEGIN /etc/grub.d/30_os-prober ###
To:
### END /etc/grub.d/30_os-prober ###

Also, post the result of the command:

Code: Select all

inxi -pou
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Kevinfallas01

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Kevinfallas01 »

decided to wipe everything, installed windows 10 for school and now i have a fresh install on mint 18 running nicely and dual boot working perfectly.

thanks for the help
New install.png
User avatar
Reorx
Level 12
Level 12
Posts: 4044
Joined: Tue Jul 07, 2009 7:14 pm
Location: SE Florida, USA

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by Reorx »

That Gparted screenshot of SDA is a "Thing of Beauty". Nicely done!!! Enjoy the Mint! :mrgreen:
Full time Linux Mint user since 2011 - Currently running LM21C on multiple Dell laptops - mostly Vostro models.

Image Image Image
kukamuumuka

Re: Windows 8.1 Dual Boot - boot repair doing nothing

Post by kukamuumuka »

The solution with HP -> viewtopic.php?f=42&t=230390

PS. This solution works if you have Windows 8 pre-installed and the GPT-partition table with EFI is used.
Locked

Return to “Installation & Boot”