LinuxQuestions.org
Help answer threads with 0 replies.
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 01-20-2016, 05:02 PM   #16
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125

Looks ok - shouldn't be a need for a repair, that will likely only confuse us all. Strictly speaking you normally can't disable EFI, but merely run it in compatibility mode. The Linux installers will detect the presence of EFI and (usually) install into the EFI partition correctly.
Do not force an install to the MBR.

From the liveCD run efibootmgr and post the result - install efibootmgr if necessary. Keep looking for a key that brings up the boot list - not <Esc> that gets you into the EFI options.
 
Old 01-21-2016, 12:06 PM   #17
danutzdobre
LQ Newbie
 
Registered: Jan 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
I ran a boot repair. The result is here: http://paste2.org/7DpAka2O

I am restarting now

EDIT: i did this before reading your reply @syg00

Nothing changed. Still booting directly into win.
Trying what you told me now.

The result from efibootmgr:

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0002
Boot0000* USB Hard Drive 1 - HP v285w
Boot0001* Notebook Upgrade Bay
Boot0002* Notebook Hard Drive
Boot0003* Notebook Ethernet
Boot0004* Notebook Ethernet
Boot0005* SD Card
Boot0006* Windows Boot Manager
Boot0007* Windows Boot Manager
Boot0008* Windows Boot Manager
Boot0009* Windows Boot Manager
Boot000A* ubuntu
Boot000B* Windows Boot Manager

EDIT: I am so close to giving up Linux for good. Why is it so hard to even install it?

Last edited by danutzdobre; 01-21-2016 at 01:05 PM. Reason: add info
 
Old 01-21-2016, 05:31 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Because Microsoft play hard-ball, and the manufacturers don't have the balls to resist.

See that "ubuntu" entry - refer to my first post. That should mean Mint installed ok and installed grub for you. So installing Linux ain't that hard after all. You just need to fight past the roadblocks M$oft and HP have set up.
From the liveCD, try the following - it will set "ubuntu" (i.e.Mint) as the next boot target; after that things will revert to Windoze. If it all looks ok you can make it permanent.
Code:
sudo efibootmgr -n 000A
 
1 members found this post helpful.
Old 01-22-2016, 11:32 AM   #19
danutzdobre
LQ Newbie
 
Registered: Jan 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Because Microsoft play hard-ball, and the manufacturers don't have the balls to resist.

See that "ubuntu" entry - refer to my first post. That should mean Mint installed ok and installed grub for you. So installing Linux ain't that hard after all. You just need to fight past the roadblocks M$oft and HP have set up.
From the liveCD, try the following - it will set "ubuntu" (i.e.Mint) as the next boot target; after that things will revert to Windoze. If it all looks ok you can make it permanent.
Code:
sudo efibootmgr -n 000A
When I run this command I get:

Code:
sudo: efibootmgr: command not found
EDIT:

I have installed efibootmgr first and then ran the command and I get nothing. Just another line like nothing happened. I restarted the pc after that and booted directly into win.

EDIT 2:
I managed to do something. I am not sure if this is good or bad.
Started laptop and pressed F9 for boot options.
Chose Boot from EFI file.
Only one option available there so i pressed enter.
List of EFI boot was there and i chose Ubuntu and then Grub and booted into Grub, where i had Linux Mint and Windows availabe.
I selected Linux and booted into linux.

How can i make grub open by default at start?

Last edited by danutzdobre; 01-22-2016 at 03:39 PM. Reason: edit
 
Old 01-25-2016, 06:42 AM   #20
danutzdobre
LQ Newbie
 
Registered: Jan 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Just to be more specific, i am adding screenshots of the menu.

Started laptop and pressed F9 for boot options.
http://i107.photobucket.com/albums/m...psh9wzs0il.jpg

Chose Boot from EFI file.
http://i107.photobucket.com/albums/m...pscd4ye7nl.jpg

Only one option available there so I pressed enter.
http://i107.photobucket.com/albums/m...psgkwem89k.jpg

List of EFI boot was there and I chose Ubuntu and then EFI and then Grub and booted into Grub, where I had Linux Mint and Windows available.
http://i107.photobucket.com/albums/m...pswmejfegl.jpg

http://i107.photobucket.com/albums/m...psqjiebbna.jpg

I selected Linux and booted into linux.

Last edited by danutzdobre; 01-25-2016 at 06:44 AM.
 
Old 01-29-2016, 02:31 AM   #21
danutzdobre
LQ Newbie
 
Registered: Jan 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Guys, i found no solution yet. I even tried to update BIOS on my laptop (this is another story about how HP laptops are crap) but no success.
When running bcdconfig in CMD in Windows I can see only Windows boot option but the pats for the loader is set to grub. Even so, it goes directly to windows.

I deleted my Linux partition and the swap one and i want to do a fresh install. Should I get GRUB to install on sda? Do you think this will help?

After all things I tried and failed (i must say i love Linux at this point) i even think of deleting windows and only install Mint. With this possessed HP Laptop i am afraid that even if i install only Linux it will still go directly to Windows (joking).

Any advice at this point? How to perform the fresh install?
 
Old 01-29-2016, 03:22 AM   #22
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
That boot sequence look particularly ugly - probably why the efibootmgr command I gave you didn't work. I have 2 HP laptops, and neither look anything like that. Normally you would boot into the on-disk Linux as you did and use efibootmgr to make Linux (the ubuntu entry) the default. As that likely won't work, I don't have a simple answer for you.

UEFI doesn't use the MBR. I don't see how re-installing will make any difference.
 
Old 01-29-2016, 03:55 AM   #23
danutzdobre
LQ Newbie
 
Registered: Jan 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
I was afraid of this answer.
Will try something else: I will repair boot with only windows installed (maybe this will clear all the garbage from there) and after that i will install Linux and make it default.
 
Old 01-29-2016, 04:34 AM   #24
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Why go through all this trouble when grub2 can do all of this?
 
Old 01-29-2016, 04:41 AM   #25
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
FYI: What I am suggesting is chainloading using grub2 which by the way supports EFI
 
Old 01-29-2016, 04:49 AM   #26
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
This may help you

https://bbs.archlinux.org/viewtopic.php?id=169328
 
1 members found this post helpful.
Old 01-29-2016, 04:50 AM   #27
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,152

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
EFI implementaions are not standard - despite the U in UEFI.
The OP is having issues getting the Ubuntu entry in the NVRAM to boot. Grub is installed successfully - in EFI mode.
 
Old 01-29-2016, 05:02 AM   #28
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Ubuntu into the entry is even easier.

sudo update-grub

If not adding an entry via /etc/grub.d/40_custom
 
Old 01-29-2016, 05:13 AM   #29
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
EFI implementaions are not standard - despite the U in UEFI.
The OP is having issues getting the Ubuntu entry in the NVRAM to boot. Grub is installed successfully - in EFI mode.
Gotcha I guess this is really it.

Seems to be a simple fix from this post.

http://askubuntu.com/questions/54964...log-how-to-fix
 
Old 01-29-2016, 05:25 AM   #30
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Why not try efimgr -o 000A,0006,0000
 
  


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] Windows fonts from a PC (Windows 7) to another PC (Linux Mint (17.2)) - not dual boot ArtKautz Linux - Newbie 9 09-30-2015 08:42 AM
how do I dual boot linux mint and windows 8? stewart858 Linux - Newbie 3 05-26-2014 02:00 AM
Dual boot linux Mint - Windows 8 vixa Linux - Newbie 4 09-14-2013 05:42 AM
[SOLVED] Dual Boot Windows 7 and Linux Mint 13, Windows failed jasperbuckens Linux - Software 6 12-21-2012 01:37 PM

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

All times are GMT -5. The time now is 09:33 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