Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Gentoo on USB w/ F2FS
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: Sat Apr 02, 2016 12:02 pm    Post subject: [Solved] Gentoo on USB w/ F2FS Reply with quote

I copied my gentoo system to a USB drive on which I formatted the root partition as F2FS. I use genkernel-next to build my kernel and initramfs. After I change root into my new system and setup the boot options. I found I cannot boot my new system, and I fall into the "rescue shell*, in which I found I cannot mount my root partition.

I have set in the kernel to compile F2FS as module. I suspect that genkernel did not include the F2FS modules into the initramfs automatically.

Any idea?
_________________
David Shen


Last edited by davidshen84 on Tue Apr 12, 2016 2:55 am; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2657

PostPosted: Sat Apr 02, 2016 5:21 pm    Post subject: Reply with quote

Are you sure that setting f2fs for / is a good recommendation? I've never seen this in any of the Gentoo installation guides.
Also configuring the root fs as a module looks to me very courageous.
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 809

PostPosted: Sat Apr 02, 2016 5:33 pm    Post subject: Reply with quote

afaik, f2f2 is not supported by boot partition
Back to top
View user's profile Send private message
Irre
Guru
Guru


Joined: 09 Nov 2013
Posts: 343
Location: Stockholm

PostPosted: Sat Apr 02, 2016 7:40 pm    Post subject: Reply with quote

I have used F2FS as root file system in one of my old RaspBerry PI. (Not as module, in my case). It worked -- for a while. fsck could not repair it! Maybe F2FS is better today than it was two years ago.

The system is now moved to an external disk with ext3 file system. No problems thereafter. :)
Back to top
View user's profile Send private message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 266

PostPosted: Sun Apr 03, 2016 3:08 am    Post subject: Reply with quote

My /boot is ext2, only my / is f2fs.
_________________
David Shen
Back to top
View user's profile Send private message
Perfect Gentleman
l33t
l33t


Joined: 18 May 2014
Posts: 809

PostPosted: Sun Apr 03, 2016 3:53 am    Post subject: Reply with quote

>I have set in the kernel to compile F2FS as module

Build F2FS into the kernel
Back to top
View user's profile Send private message
davidshen84
Apprentice
Apprentice


Joined: 09 Aug 2008
Posts: 266

PostPosted: Tue Apr 12, 2016 2:55 am    Post subject: Reply with quote

Perfect Gentleman wrote:
>I have set in the kernel to compile F2FS as module

Build F2FS into the kernel


Yep~last resort...and I also found I have to add "rootfstype=f2fs" in grub command line.
_________________
David Shen
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