Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I add a wait time when boot?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 266

PostPosted: Wed Oct 21, 2015 3:08 am    Post subject: Can I add a wait time when boot? Reply with quote

Hi,

I want to boot my Gentoo from an external USB drive. However, it seems it takes some longer time before the kernel found this device. So I want to add a wait time when booting.

I am using genkernel to build my kernel and initramfs. I think there should be a place I can add a wait time, or a customize script in the initramfs. Any idea?


Thanks,
David
_________________
David Shen


Last edited by davidshen84 on Sat Oct 24, 2015 12:28 am; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7192
Location: almost Mile High in the USA

PostPosted: Wed Oct 21, 2015 3:36 am    Post subject: Reply with quote

See if adding

rootdelay=10

in your boot commandline will help. This should make the kernel/initramfs wait 10 seconds for things to settle before finding the root filesystem.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
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 Oct 21, 2015 4:44 pm    Post subject: Reply with quote

as said rootdelay

and edit those grub cfgs by hand.

no idea on those auto updater scripts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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