LinuxQuestions.org
Review your favorite Linux distribution.
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-26-2019, 03:11 PM   #16
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389

Quote:
Originally Posted by yancek View Post
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.
The internal drive is /dev/sdb and /dev/sdb1 is the EFI partition and has all EFI boot files including Windows boot files.

Code:
sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi 
                       /EFI/Boot/fbx64.efi /EFI/Boot/mmx64.efi 
                       /EFI/debian/grubx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/mmx64.efi /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /EFI/OEM/Boot/bootmgfw.efi /EFI/OEM/Boot/bootmgr.efi 
                       /EFI/OEM/Boot/memtest.efi

sdb2: __________________________________________________________________________

    File system:       
    Boot sector type:  -
    Boot sector info: 
    Mounting failed:   mount: /mnt/BootInfo/sdb2: unknown filesystem type ''.

sdb3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Windows/System32/winload.exe

sdb4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 9 (stretch)
    Boot files:        /etc/fstab

sdb5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb7: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 8/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================
 
Old 02-26-2019, 03:42 PM   #17
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
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
In your first screenshot you will notice "F12 boot menu disabled". Enable it, reboot and hit the F12 key when the splash appears and you will see a menu, scroll down to Debian and hit Enter, problem solved.
 
Old 02-26-2019, 03:58 PM   #18
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Once you've booted into Debian, run command: efibootmgr -v to remove Ubuntu and MMX from the computer's boot menu. Look at menu item #4.3 of this article for guidance. You can also delete their directories in the EFI partition to clean things up but not necessary.
 
Old 02-26-2019, 05:56 PM   #19
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
The internal drive is /dev/sdb and /dev/sdb1 is the EFI partition and has all EFI boot files including Windows boot files.
The boot repair output posted in the initial post does not show any grub.cfg file on the system partition, only the grub.cfg on the EFI partition, contents below. That won't boot anything as it is simply pointing to the partition on which his Linux OS is installed. Either boot repair didn't detect grub.cfg on the partition or it isn't there.

Quote:
search.fs_uuid 0f4ff69e-cbba-455c-8b82-3a3455559e6e root hd1,gpt13
set prefix=($root)'/boot/grub'
The above is useless because the UUID for the partition on which he has his Linux install (sdb4) is:
Quote:
/dev/sdb4 73a19b30-af1c-4523-8b0f-38dca94d07cc
It's also pointing to sdb13 which doesn't exist.

Enabling the F12 boot options menu should do it as there are 2 Linux entries in the efibootmgr output and Boot0001 should be Debian. Or, maybe not??

Last edited by yancek; 02-26-2019 at 06:07 PM.
 
Old 02-26-2019, 06:15 PM   #20
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
One way or another, Linux will not boot by default.

The computer's boot menu needs to be enabled in order to boot Linux.
If Debian won't boot, or it's not in the boot menu list. The best way to remedy this based on the OP's level of knowledge is to ensure the boot menu is enabled and he/she knows how to access it. Then reinstall whichever flavor of Linux is desired, which is likely quicker that trying to repair mistakes made trying to boot them without the menu.
 
Old 02-26-2019, 06:23 PM   #21
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 op does gets debian to boot from the bios boot there is a good chance grub-rescue will occur.
 
Old 02-26-2019, 07:55 PM   #22
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
The thing is, look at the title of this thread. You need to ask yourself... did three Linux installers botch this up?
To boot a fresh Linux installation on pretty much all UEFI computers, you need to bring up the boot menu and select the Linux from the list, if it came with Windows pre-installed, Windows will be the default.

Based on what I've seen so far, the OP has no Linux experience and has likely never been greeted by a Linux desktop. The advice being given here is currently out of the OP's reach/capabilities. Let's focus on getting the OP to be greeted by a Linux desktop. A fresh installation can be done within a half hour, once the OP knows how to boot it, the OP shall likely smile and start learning Linux.
 
Old 02-26-2019, 08:34 PM   #23
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
And there's always a chance Debian will boot by selecting Ubuntu in the list. I've installed Linux Mint after deleting Ubuntu and no Mint directory was created in the EFI partition nor was Mint available as a boot option in the boot menu. But selecting Ubuntu in the list booted Mint.
 
Old 02-27-2019, 06:29 AM   #24
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,547

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
I've installed Linux Mint after deleting Ubuntu and no Mint directory was created in the EFI partition nor was Mint available as a boot option in the boot menu.
Mint uses ubuntu as its EFI boot name, explained at the Mint install guide below. I believe some of the other major Ubuntu derivatives do also but have not tested. Don't think selecting the ubuntu option in EFI will boot Debian but it certainly won't hurt to try either option.

https://linuxmint-installation-guide...atest/efi.html
 
Old 02-27-2019, 11:50 PM   #25
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
I tried following the instructions in the following youtube video to use setup linux on the widows bootloader: Installing Linux & Windows in Dual Boot: CORRECT PARTITION SCHEME & BOOT LOADER SETUP

I have doubts from step 3 which is: bcdedit /set {feebec32-3b16-11e9-85f6-10f005998ec3} path \debian.bin

because I have no idea if debian uses debian.bin or if another filename is used. He uses ubuntu.bin & FYI the reason that you saw ubuntu in my output was because I was using a live ubuntu.

Will this be fixed if I remove the EFI & windows partition & keep only the diagnostic partition & then reinstall linux? This idea makes me uneasy as I'm not sure if I'll ever need windows again for programming/modelling/training AI. All your opinions on these 2 subjects would be greatly appreciated

@Brains you are half right. While I do have years of experience with linux, I used the GUI mostly as a crutch for most of that time & only learned a few commands in the cli.

thanks & goodnight guys
AP
 
Old 02-28-2019, 03:48 AM   #26
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
The debian.bin is created by using dd to extract the PBR of Debian when Grub is installed to the partition instead of the MBR on DOS partitioned disks. Not sure if it will work on GPT partition (which is what you have), maybe. But if using Windows 10, it might not work because Microsoft rigged it to deny booting kernels not signed by Microsoft.

Your best bet is to install Debian again.
Then go into the BIOS, in the "Main" tab, hit down arrow key till "F12 boot menu disabled" is highlighted, hit enter key and a small window should pop up with the words "Enable, Disable", highlight the "Enable" with arrow keys and hit enter. Then Exit BIOS while saving settings. The computer will reboot, when you see the Acer Logo (splash), hit the F12 key, some folks hit it 10 times or so but once is enough as soon as the splash appears. A boot menu will pop up listing: Windows, MX, Ubuntu, Debian. Scroll down to Debian with arrow keys and hit enter, it should boot.

Once you get it to boot, which is the only way you'll boot it without 3rd party software, you can use efibootmgr from command line to change the default operating system to Debian, and it will boot automatically when you hit the power button to start the computer. This way you'll avoid further destruction and be able to use your computer, and keep Windows.

Deleting the EFI partition will give you nothing but a black screen of death.
 
Old 02-28-2019, 04:08 AM   #27
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
OH!
And one more thing, you also need to disable "Secure boot" in the BIOS. Within 2-3 weeks, Debian Buster will be the new Debian Stable, it will be able to boot with Secure boot enabled, but for now it must be disabled.
 
Old 02-28-2019, 05:20 AM   #28
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 is the output of
Code:
efibootmgr -v
 
Old 02-28-2019, 12:40 PM   #29
Ai_Programmer
Member
 
Registered: Feb 2019
Location: Montreal
Distribution: debian
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
what is the output of
Code:
efibootmgr -v
Should I type the above command from a live Ubuntu/debian or from bcdedit?
 
Old 02-28-2019, 01:02 PM   #30
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
from live ubuntu/Debian with sudo
Code:
sudo efibootmgr -v
 
  


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 04:55 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