Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[maybe later...] x86 + Live-CD: rootfs F2FS not mountable
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
cambrian
n00b
n00b


Joined: 27 May 2017
Posts: 8

PostPosted: Sun May 28, 2017 10:42 am    Post subject: [maybe later...] x86 + Live-CD: rootfs F2FS not mountable Reply with quote

I've got an i686 laptop, and a PATA-SSD (IDE). And the best of all: Gentoo is my OS of choice here! However, for installation I use Gentoo's minimal-x86-CD, as the machine can't boot the hybrid DVD, nor from USB flash. Anyway eth0 works.

I'm now stuck with disk preparation. – The drive is now partioned, and the partitions are aligned to 1 MiB/4 kB sectors. I put swap on, and /boot is BTRFS; I'm going to use the syslinux bootloader. Since the SSD is NAND and can't do TRIM, / and /home should become F2FS. – With mkfs.f2fs, formatting went well. But mounting does not:
Code:
livecd # mount /dev/sda3 /mnt/gentoo
mount: unknown filesystem type 'f2fs'

Also in parted /dev/sda3 (/) and /dev/sda4 (/home) show no names and filesystems. On the other side, fsck.f2fs on both partitions does not complain.

f2fs-tools (if I need that) is not part of the CD. As I need a mounted root at least, how can I proceed?


Last edited by cambrian on Mon Jun 05, 2017 5:57 pm; edited 2 times in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7127
Location: almost Mile High in the USA

PostPosted: Sun May 28, 2017 2:23 pm    Post subject: Reply with quote

Ouch. The risks of using exotic filesystems.

You can try to see if the sysrescuecd has f2fs support.

If not, you'll probably need to build your own kernel and userspace on another disk unfortunately. Get another USB hard drive (or make a temporary ext4fs partition on your ssd) and install Linux to it - and use this to bootstrap the main disk.

IMHO, not having FSTRIM is not a reason to use F2FS, though you may have other reasons.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 28, 2017 4:27 pm    Post subject: Reply with quote

cambrian,

Welcome to Gentoo.

I have an Acer One netbook from 2008, with the 8Gb SSD and Gentoo installed.
I use "installed" loosely here. Only binaries are installed.

It builds and updates on a USB HDD. It boots from there too.
When I want to update the install, I make new filesystems on the internal SSD and copy things over from the USB HDD while booted with System Rescue CD from USB.
This minimises writes on the SSD.

When I installed in first, there was anecdotal evidence that attempting a Gentoo install on 4G and 8G SSDs killed them and I wanted to avoid that.
A desktop install, with all the disfiles and build space wants close to 40GB anyway.
_________________
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
cambrian
n00b
n00b


Joined: 27 May 2017
Posts: 8

PostPosted: Mon Jun 05, 2017 2:09 pm    Post subject: Reply with quote

eccerr0r wrote:
Ouch. The risks of using exotic filesystems.
... bootstrap ...

Well yeah, thanks, giving this up for now. Too much hassle but not that much time~
It's more important to me to get my Gentoo box running; If I feel the urge, I can play with f2fs later.
I did it with btrfs – great SSD support and exotic enough. ;)
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