ExtRoot and Lede

Are there any instructions for doing extroot with LEDE?



Following the instructions you provided but have a couple questions.

  1. when I create the ext4 partition on the jump drive, I have a 2 gig. Do I create a single large partition for the whole thing?

  2. according to the instructions on extroot_configuration you have to run the following...
    root@leded:/# mkfs.ext4 /dev/sda1

This produces and error mkfs.ext4 not found

thanks for any help

mkfs is not installed by default. You need to install package that provides it.

Perfect, found that. In case someone else runs into this it's...

opkg install e2fsprogs

Now, any info on the number of partitions needed?

Strictly speaking, you just need one partitions to use ExtRoot; the size obviously depends on what you plan to install there.

2gig you be plenty shouldn't it?

Ran this according to instuctions.
mount /dev/sda1 /mnt ; tar -C /overlay -cvf - . | tar -C /mnt -xf - ; umount /mnt

noticed right away, this error
mount: mounting /dev/sda1 on /mnt failed: invalid argument.

Then as it started copying it said Error no space left.
Obviously it wasn't writing to the usb drive (2gig) partitioned as EXT4

Any idea whats wrong? Looks like I need to firstboot again and start the whole process over.

I figured out the problem. The docs have a flaw. You must install kmod-fs-ext4.