Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel unable to mount root on /dev/sda5
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
skaman814
n00b
n00b


Joined: 11 Nov 2017
Posts: 13

PostPosted: Sun Nov 12, 2017 8:35 pm    Post subject: genkernel unable to mount root on /dev/sda5 Reply with quote

Hi :D

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:
Code:
modules="ext2"


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
View user's profile Send private message
skaman814
n00b
n00b


Joined: 11 Nov 2017
Posts: 13

PostPosted: Sun Nov 12, 2017 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54216
Location: 56N 3W

PostPosted: Sun Nov 12, 2017 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
skaman814
n00b
n00b


Joined: 11 Nov 2017
Posts: 13

PostPosted: Sun Nov 12, 2017 9:05 pm    Post subject: Reply with quote

Awesome, thank you @NeddySeagoon :D
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