#13763: r37033 extroot does not work (/tmp/overlay-disabled)
------------------------------+----------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: reopened
Priority: response-needed | Milestone: Chaos Calmer (trunk)
Component: other | Version: Trunk
Resolution: | Keywords:
------------------------------+----------------------------------
Comment (by walter.huettenmeyer@…):
sorry for necrobumping.
just upgraded to chaos calmer trunk r44053 and had the same issue of
neither pivot overlay nor pivot root working.
Editing my fstab to mount the mtdblock<n> on a different location helped.
After several reboots it still mounts my sda1 as /overlay and I am happy.
Not sure if the delay_root is needed, but it didn't harm the boot
duration, so I'll leave it at 15.
{{{
config 'global'
option anon_swap '0'
option anon_mount '0'
option auto_swap '1'
option auto_mount '1'
option delay_root '15'
option check_fs '1'
config 'mount'
option tartet '/overlay-boot'
option device '/dev/mtdblock3'
option fstype 'jffs2'
option options 'rw,sync'
option enabled '1'
option check_fs '0'
}}}
After the first reboot and several other reboots it says:
{{{
root@router:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 238.1M 11.1M 223.0M 5% /
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 14.0M 452.0K 13.6M 3% /tmp
/dev/sda1 238.1M 11.1M 223.0M 5% /overlay
overlayfs:/overlay 238.1M 11.1M 223.0M 5% /
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda2 914.6G 74.7M 914.5G 0% /mnt/daten
/dev/mtdblock3 4.6M 2.3M 2.4M 49% /mnt/mtdblock3
}}}
Router is a Linksys WRT160NL (ar71xx). Hope this can help someone.
Replying to [comment:31 Gutleib@…]:
> Ummm. I kinda solved my issue.
>
> No idea if that matters, but I've built image from trunk src.
> It didn't mount either.
>
> But then I added
>
> {{{
> config mount
> option target /overlay-boot
> option device /dev/mtdblock5
> option fstype jffs2
> option options rw,sync
> option enabled 1
> option enabled_fsck 0
> }}}
>
> to /etc/config/fstab
>
> After reboot everything just worked.
> I stick to my guess that internal flash mount somehow prevents mount of
external usb drive.
--
Ticket URL: <https://dev.openwrt.org/ticket/13763#comment:33>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets