Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] better-initramfs can't find my /dev/sd* nodes
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
jorgicio
n00b
n00b


Joined: 17 Oct 2014
Posts: 47

PostPosted: Tue Jul 03, 2018 4:48 am    Post subject: [SOLVED] better-initramfs can't find my /dev/sd* nodes Reply with quote

Hi!

Someone recommended better-initramfs to generate a lightweight initramfs, so I tried it, and when I want to boot, it can't find any /dev/sd* nodes. I followed all the steps mentioned in the repo where it's hosted and the initramfs was created flawlessly, but I can't boot it. It gives the error of the "/newroot" mentioned there.

Is there some module to load before or do some additional step? Is there a way to make it recognize my /etc/fstab?

Thanks.


Last edited by jorgicio on Wed Jul 04, 2018 5:05 am; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Tue Jul 03, 2018 9:07 am    Post subject: Re: better-initramfs can't find my /dev/sd* nodes Reply with quote

jorgicio wrote:
Is there some module to load before or do some additional step? Is there a way to make it recognize my /etc/fstab?

jorgicio ... better-initramfs doesn't contain modules, so any thing required to access the disk (eg: SATA_AHCI) must be build into the kernel. I expect this the root of your problem.

best ... khay
Back to top
View user's profile Send private message
jorgicio
n00b
n00b


Joined: 17 Oct 2014
Posts: 47

PostPosted: Tue Jul 03, 2018 5:09 pm    Post subject: Re: better-initramfs can't find my /dev/sd* nodes Reply with quote

khayyam wrote:
jorgicio wrote:
Is there some module to load before or do some additional step? Is there a way to make it recognize my /etc/fstab?

jorgicio ... better-initramfs doesn't contain modules, so any thing required to access the disk (eg: SATA_AHCI) must be build into the kernel. I expect this the root of your problem.

best ... khay


I have CONFIG_SATA_AHCI=m (as a module)... May I have to set it as a built-in then.

Thanks.
Back to top
View user's profile Send private message
jorgicio
n00b
n00b


Joined: 17 Oct 2014
Posts: 47

PostPosted: Wed Jul 04, 2018 5:05 am    Post subject: Reply with quote

Done, now I set CONFIG_SATA_AHCI=y in the kernel and it boots normally.

Thanks!
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