View previous topic :: View next topic |
Author |
Message |
jorgicio n00b
Joined: 17 Oct 2014 Posts: 47
|
Posted: Tue Jul 03, 2018 4:48 am Post subject: [SOLVED] better-initramfs can't find my /dev/sd* nodes |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Jul 03, 2018 9:07 am Post subject: Re: better-initramfs can't find my /dev/sd* nodes |
|
|
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 |
|
|
jorgicio n00b
Joined: 17 Oct 2014 Posts: 47
|
Posted: Tue Jul 03, 2018 5:09 pm Post subject: Re: better-initramfs can't find my /dev/sd* nodes |
|
|
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 |
|
|
jorgicio n00b
Joined: 17 Oct 2014 Posts: 47
|
Posted: Wed Jul 04, 2018 5:05 am Post subject: |
|
|
Done, now I set CONFIG_SATA_AHCI=y in the kernel and it boots normally.
Thanks! |
|
Back to top |
|
|
|