LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 02-23-2019, 10:33 PM   #1
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Rep: Reputation: Disabled
restoring grub for dual boot with windows


I had this problem with 3 different distros each one says install complete & then won't boot from linux. Current & final favourite is debian. I followed directions from this site while using a live ubuntu:

boot-repair freezes along with the rest my system & my mouse on the last step so I generated this report this time

let me know if there is any other information that you need.
 
Old 02-24-2019, 03:13 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
hit one of the fkeys or esc key. to get into the bios when you first turn on you computer to change the boot order to your linux installation.
 
Old 02-24-2019, 05:14 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,145

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
No chance of that booting grub - regardless of what the message(s) said, grub is not installed properly. If the rest of the system is ok, you should be able to boot into the on-disk system and re-install grub from there. That way you'll get to see any errors along the way, rather than them getting lost during install.
Here is a link I just posted in another thread - if you don't get the option to boot into the on-disk system from the USB boot menu, you'll need to chroot (see link above for a link). Then you can do the re-install from a root terminal.
 
Old 02-25-2019, 07:28 AM   #4
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
Syg00 I'm trying to follow your directions with chroot but I get stuck at step 9 & 10.
it says folder doesn't exist
 
Old 02-25-2019, 08:14 AM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
what was the commands that you issued for for steps 7 & 8 and what was the ouput of 'sudo blkid'
 
Old 02-25-2019, 11:44 AM   #6
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
Where it started to go wrong

I took a picture before I left for workClick image for larger version

Name:	1551115895616864.jpg
Views:	50
Size:	22.8 KB
ID:	29922
This is the best that I can do right now. I have to get back to work

Thank you
Nick
 
Old 02-25-2019, 12:00 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
do this first:
Code:
sudo mount /dev/sdb4 /mnt
sudo mount /dev/sdb1 /mnt/boot/efi
then do the 'for i in /dev..' command

Last edited by colorpurple21859; 02-25-2019 at 12:11 PM.
 
Old 02-25-2019, 06:43 PM   #8
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
It worked until the last step again but this time I trust you. How long should I wait for my system to respond again?
Attached Thumbnails
Click image for larger version

Name:	1551140554816635.jpg
Views:	32
Size:	18.6 KB
ID:	29928  
 
Old 02-25-2019, 06:54 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
it shouldn't take long a few minutes at the most.
after the "chroot /mnt" what is the output of
Code:
lsblk
 
Old 02-25-2019, 10:44 PM   #10
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
It's still stuck. Should I reboot & try the same thing again?
 
Old 02-25-2019, 11:00 PM   #11
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Ai_Programmer View Post
It worked until the last step again but this time I trust you. How long should I wait for my system to respond again?
Your attachment shows you did not do exactly what colorpurple21859 told you to do, you mounted /dev/sdb1 (EFI partition) to /mnt.
Try again and mount /dev/sdb4 to /mnt, then mount /dev/sdb1 to /mnt/boot/efi
EDIT: Reboot and try again

Last edited by Brains; 02-25-2019 at 11:02 PM.
 
Old 02-25-2019, 11:19 PM   #12
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
FWIW:
Everything looks proper in the bootinfo script and Debian should boot just fine, you need to figure out which F key gives a boot menu. Most computers use F10 or F11. Google the make and model of computer with keywords: "Make model boot menu hotkey" to figure out which F key brings up the boot menu, you usually hit that key when the splash appears when first booting up the computer. If you know how to get into settings (BIOS), you may be able to figure it out in the "Boot" tab.
 
Old 02-26-2019, 06:23 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,548

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
Everything looks proper in the bootinfo script and Debian should boot just fine,
I would have to agree with the post above by syg00. Grub not installed on the internal drive, only on the flash drive used to install. Has the proper efi files, at least appears to but no grub files on the system partition. I notice in the bootinfoscript output that this is an Acer and from the info in the initial post which indicates a failure to install another OS, have you tried setting a supervisor password in the BIOS and enabling trust to install another OS other than windows? Check your Acer manual.
 
Old 02-26-2019, 08:07 AM   #14
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
Yes I put a supervisor password this is how I was able to install Linux which said completed successfully. This is running from a live Ubuntu, should I use debian instead?
I already found the parameters for bcdedit so if someone could tell me how to get the uuid for sdb1 I could at least setup the windows bootloader
Attached Thumbnails
Click image for larger version

Name:	1551187189755366.jpg
Views:	33
Size:	178.8 KB
ID:	29937   Click image for larger version

Name:	1551187190054683.jpg
Views:	40
Size:	177.9 KB
ID:	29938  
 
Old 02-26-2019, 09:35 AM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
If the grub bootloader was installed correctly you would have a ubuntu and/or Debian bootloader on the boot priority screen.
 
  


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
[SOLVED] Dual boot without windows - Windows 10 UEFI dual boot with Metamorphose Panther(Debian/KDE) mithidieri Linux - Newbie 7 11-03-2017 12:10 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
help restoring boot record (dual boot) lukegt Linux - Newbie 3 01-15-2005 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:26 AM.

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