LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2016, 10:32 PM   #1
jumpuos
LQ Newbie
 
Registered: Mar 2016
Posts: 2

Rep: Reputation: Disabled
Repair windows 8.1 boot through Debian


I screwed up my Windows 8.1 boot with Easybcd. I checked some box that said count down from 5 seconds in the edit boot section now if I boot in UEFI boot it says windows cannot boot insert repair disk and if you don't have the repair disk contact manufacturer. If I boot in CSM boot mode I can get to Debian 8 grub menu but windows is not on it. I want to use Grub customizer to be able to boot windows and maybe have windows show up on the Debian grub menu if it is not to risky. I cant even see window with the grub customizer program.
 
Old 03-29-2016, 01:58 AM   #2
robertbas
Member
 
Registered: Sep 2006
Posts: 82

Rep: Reputation: 20
boot into debian, open a terminal, su, update-grub
 
Old 03-29-2016, 08:00 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,492

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
Quote:
If I boot in CSM boot mode I can get to Debian 8 grub menu but windows is not on it
That sounds like windows is installed UEFI and Debian is not. Read the first part of the page at the link below through the General Principles section which explains why mixing MBR and UEFI won't work. It is an Ubuntu doc page but the first part applies to UEFI in general. If that's not the case, post more details. Get the bootinfoscript and run it and post the output.

https://help.ubuntu.com/community/UEFI

https://github.com/arvidjaar/bootinfoscript
 
Old 03-29-2016, 07:37 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
Did it ever work correctly?

Did it boot to grub then chain to windows?

When you boot to a live media do you see windows partitions?
 
Old 03-30-2016, 03:34 AM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 881

Rep: Reputation: 130Reputation: 130
Lightbulb

I struggled with this problem for a long time when I recently tried to install Ubuntu alongside Windows 10, on an EFI BIOS. The solution I found is as follows--but it's entirely from memory, so YMMV.


Reboot into a live USB or DVD.

Open a command prompt.

Type the following:

Code:
sudo blkid
(Note the device nodes of your Linux boot and system partitions. It will be something like "/dev/sdXY", where "X" is a letter, and "Y" is a number.)
sudo mount [Linux system partition] /mnt
sudo mount [Linux boot partition] /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo mount --bind /proc /mnt/proc
sudo mount --bind /var /mnt/var
sudo mount --bind /tmp/mnt/tmp
sudo chroot /mnt
sudo grub-install [Linux boot partition]
sudo update-grub
exit
Reboot.

Go into EFI BIOS and ensure that it's booting from your Linux hard drive.

Please note that GRUB must be installed into the Ubuntu Linux boot partition, when using EFI. If you install to the drive root (/dev/sdX rather than /dev/sdXY), you'll have problems.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After Grub Repair windows ask me press any key to boot. hack3rcon Linux - Desktop 5 09-01-2015 12:37 AM
Grub not showing after Windows update to 8.1. Boot Repair won't fix it. youbunto0 Linux - Newbie 3 11-07-2014 02:42 AM
acer c720 running debian will not boot after warranty repair to LCD aal Linux - Laptop and Netbook 4 08-14-2014 01:11 PM
Running OpenSuse 11.4...dual boot...with Winxp...if I try-run Windows Repair... cbjhawks SUSE / openSUSE 1 05-06-2013 02:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration