How to reformat USB with Ext4 for pivot-overlay
-
Sorry got the problem solved as far as being able to get the USB stick formated in ext4. But don't see /dev/sda1? Only see sda.
-
Sorry again reboot and mount USB worked this time.
-
Didn't get one error once got past the e2fsprogs even saw the newly added USB space and rebooted as described in instructions only problem is now after reboot don't see the added space under df.
Tried checking in web browser interface and it reports 15.2 MBs total?
-
The only difference I can see is on my omega the file path was /dev/sda and not /dev/sda1.
I went ahead and used /dev/sda for my mount dir and point.
-
You'll get 'sda' if you formatted the entire drive as ext4 (without adding any partitions) and 'sda1' if you created a partition first. Either one should work as far as I'm aware.
-
Thinking will have to start all over again cause not seeing the USB stick
Also why can't you cut and paste from the browser terminal
-
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 8384 4460 3924 53% /
/dev/root 6912 6912 0 100% /rom
tmpfs 30588 84 30504 0% /tmp
/dev/mtdblock3 8384 4460 3924 53% /overlay
overlayfs:/overlay 8384 4460 3924 53% /
tmpfs 512 0 512 0% /dev
-
The second time was a go. Up and running with 1GB stick installed. Thanks for your writing this neat upgrade and for helping.
BTW it is not obvious what I did differently the second time so can offer no solutions as to what fixed my problem.
-
I had the same issue. So I put the SD in my linux machine and formatted it.
-
This article should be referenced in the https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs
article that @Boken-Lin wrote.
-
@Stephen-Tunney said:
This article should be referenced in the https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs
article that @Boken-Lin wrote.Good idea! Added to the tutorials for you, see the bottom of this page https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs
Matt