View previous topic :: View next topic |
Author |
Message |
skaman814 n00b
Joined: 11 Nov 2017 Posts: 13
|
Posted: Sun Nov 12, 2017 8:35 pm Post subject: genkernel unable to mount root on /dev/sda5 |
|
|
Hi
After a lot of head scratching yesterday, today I decided I would try first using genkernel today.
Following the handbook, after using genkernel and all the other steps, I configured grub and rebooted. Grub loaded, I selected the kernel, and it appears to have successfully initialized the ram disk. The startup fails when it tries to mount root on /dev/sda5
my /etc/fstab:
Code: |
/dev/sda2 /boot ext2 defaults 0 2
/dev/sda3 none swap sw 0 0
/dev/sda4 /home f2fs noatime 0 1
/dev/sda5 / f2fs noatime 0 1 |
When I ran
Code: | find /lib/modules/4.12.12-gentoo/ -type f -iname '*.o' -or -iname '*.ko' | less |
I didn't see any f2fs modules. I did see an ext2, so in /etc/conf.d/modules I have:
Thanks in advance for any suggested solutions or reference to any documentation that could be useful.
Also, I did just run Code: | find /lib/modules/4.12.12-gentoo/ -type f -iname '*f2fs.o' -or -iname '*f2fs.ko' | less | to try and confirm it's not listed as a module. |
|
Back to top |
|
|
skaman814 n00b
Joined: 11 Nov 2017 Posts: 13
|
Posted: Sun Nov 12, 2017 8:39 pm Post subject: |
|
|
So, if I go to /usr/src/linux and run make menuconfig I notice f2fs isn't selected, is this an indication that genkernel didn't add it at all? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Nov 12, 2017 8:58 pm Post subject: |
|
|
skaman814,
Yes. Genkernel is not clever, it loads a preset .config file.
You will need to help genkernel with the -menuconfig option and build f2fs in. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
skaman814 n00b
Joined: 11 Nov 2017 Posts: 13
|
Posted: Sun Nov 12, 2017 9:05 pm Post subject: |
|
|
Awesome, thank you @NeddySeagoon |
|
Back to top |
|
|
|