Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solv]installed on mobile HDD. Lose UEFI boot every shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 381
Location: Paris

PostPosted: Wed Dec 16, 2015 3:14 pm    Post subject: [Solv]installed on mobile HDD. Lose UEFI boot every shutdown Reply with quote

Hello, I just installed the a gentoo on my mobile HDD. I use UEFI boot, Grub2 as the bootloader. partition is the same as it shows in the wiki.
It works fine. But if I shutdown the laptop and start again. The gentoo boot option disappears in the boot menu. I have to enter the BIOS setup and add the gentoo UEFI boot option, saved and reboot. Then I could see the gentoo option in the boot menu.

It only happens when I boot the laptop from shutdown. If I reboot the laptop without shutdown, the gentoo boot option is still there.
but if insert the USB where installs the Ubuntu ISO, the Ubuntu boot option is always presented in the boot menu. why?

partition is kind of like this
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB grub bios_grub
2 3146kB 137MB 134MB fat16 boot boot, esp
3 137MB 4432MB 4295MB linux-swap(v1) swap
4 4432MB 245GB 240GB ext4 Linux
5 245GB 320GB 75.2GB Win

I don't know if I describe it appropriately. Please give me some suggestion. Thanks


Last edited by pd1986 on Sat Dec 19, 2015 9:30 am; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Wed Dec 16, 2015 3:33 pm    Post subject: Reply with quote

It is not a good idea to install Gentoo on a external HDD.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Dec 16, 2015 4:17 pm    Post subject: Reply with quote

Quote:
It only happens when I boot the laptop from shutdown. If I reboot the laptop without shutdown, the gentoo boot option is still there.
but if insert the USB where installs the Ubuntu ISO, the Ubuntu boot option is always presented in the boot menu. why?


Check the boot order in your uefi bios. This list determines which drives or bootable devices are checked first and that is booted.

you may temporarily disable to boot from external media / optical drive / usb, so only the internal disc is selected
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 381
Location: Paris

PostPosted: Thu Dec 17, 2015 1:29 am    Post subject: Reply with quote

Keruskerfuerst wrote:
It is not a good idea to install Gentoo on a external HDD.


No choice. I don't want to take two laptops when I am on business travel. My corporate laptop encrypts the hard disk. and the system is Windows (no love) and is watched by the company.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 381
Location: Paris

PostPosted: Thu Dec 17, 2015 1:33 am    Post subject: Reply with quote

tw04l124 wrote:
Quote:
It only happens when I boot the laptop from shutdown. If I reboot the laptop without shutdown, the gentoo boot option is still there.
but if insert the USB where installs the Ubuntu ISO, the Ubuntu boot option is always presented in the boot menu. why?


Check the boot order in your uefi bios. This list determines which drives or bootable devices are checked first and that is booted.

you may temporarily disable to boot from external media / optical drive / usb, so only the internal disc is selected


As I mentioned, the usb driver with ubuntu LiveCD works very well. the boot option is always present in the boot menu. So I think the problem should be the bootloader on the external HDD.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Thu Dec 17, 2015 6:48 pm    Post subject: Reply with quote

step a) get teh bootloader to show up on the external drive (should be possible)
step b) figure out how the bootlaoder names the discs (i refer to any data drive ... as disc in general terms)
step c) configure the bootlaoder with the right namings and parameters.

you often need some bootdelays and other stuff when dealing with external drives.

some do use a flash drive to boot from ... up to you at the end.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 381
Location: Paris

PostPosted: Fri Dec 18, 2015 4:33 pm    Post subject: Reply with quote

tw04l124 wrote:
step a) get teh bootloader to show up on the external drive (should be possible)
step b) figure out how the bootlaoder names the discs (i refer to any data drive ... as disc in general terms)
step c) configure the bootlaoder with the right namings and parameters.

you often need some bootdelays and other stuff when dealing with external drives.

some do use a flash drive to boot from ... up to you at the end.


The boot delay may also be one of the reasons, because sometimes, I manually add the uefi boot in the BIOS setup, it doens't work at the first time. Then I delete and add the .efi as the UEFI boot file. Then it works.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Dec 18, 2015 10:55 pm    Post subject: Reply with quote

even SATA SSDS in 2.5" do have a delay, and my uefi bios lost its entries last time i played aroudn with the asus g75vw uefi bios.

When you just want a linux to work with, go with a pen drive wiht 16gb / 32gb. and boot from that.

those external drives just need a boot delay. and than you need a small pen drive to boot that usb drive whcih you can later remove for example. but when plug in 2 devices annoy you, you are better off with an usb pen drive with is rather large.

when it is just for surfing the web, you may end up using a livecd and safe the network commands on a pen drive which can be rather samll than.
Back to top
View user's profile Send private message
pd1986
Guru
Guru


Joined: 19 Feb 2012
Posts: 381
Location: Paris

PostPosted: Sat Dec 19, 2015 9:30 am    Post subject: Reply with quote

tw04l124 wrote:
even SATA SSDS in 2.5" do have a delay, and my uefi bios lost its entries last time i played aroudn with the asus g75vw uefi bios.

When you just want a linux to work with, go with a pen drive wiht 16gb / 32gb. and boot from that.

those external drives just need a boot delay. and than you need a small pen drive to boot that usb drive whcih you can later remove for example. but when plug in 2 devices annoy you, you are better off with an usb pen drive with is rather large.

when it is just for surfing the web, you may end up using a livecd and safe the network commands on a pen drive which can be rather samll than.


Understood. This time I boot with my internal HDD to do the business work with external gentoo HDD connected. After I finished my work. I reboot and press F12 to enter the boot menu. It works without any problem. So I think to attribute my issue to the delay. Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum