#19038: extroot broken
------------------------------+----------------------------------
  Reporter:  rudoyeugene@…    |      Owner:  jow
      Type:  defect           |     Status:  accepted
  Priority:  response-needed  |  Milestone:  Chaos Calmer (trunk)
 Component:  packages         |    Version:  Trunk
Resolution:                   |   Keywords:  extroot
------------------------------+----------------------------------

Comment (by danielb7390@…):

 Hi,
 I'm using r44532 and have same problem.
 Tried overlay and full root. same problem it doesn't mount.


 {{{
 root@OpenWrt:~# cat /etc/config/fstab
 config 'global'
         option  anon_swap       '0'
         option  anon_mount      '0'
         option  auto_swap       '1'
         option  auto_mount      '1'
         option  delay_root      '50'
         option  check_fs        '0'

 config 'mount'
         option  target        '/'
         option  uuid          'd34f7ee6-9448-4965-b523-b87f1a4c2190'
         option  enabled       '1'
         option fstype         'ext4'
         option options        'rw,sync'
         option enabled_fsck   '0'
 }}}

 If i then type those commands as shown above it works!

 {{{
 root@OpenWrt:~# export PREINIT=1
 root@OpenWrt:~# mount_root
 fs-state: switched to extroot
 root@OpenWrt:/rom/root# df
 Filesystem           1K-blocks      Used Available Use% Mounted on
 rootfs                  222988      8859    198309   4% /
 /dev/root                 2048      2048         0 100% /rom/rom
 tmpfs                    14512        64     14448   0% /tmp
 /dev/mtdblock6             768       632       136  82% /overlay
 overlayfs:/overlay         768       632       136  82% /rom
 tmpfs                      512         0       512   0% /dev
 /dev/sda1               222988      8859    198309   4% /
 }}}

 And yes if i change the target to for example '/mnt/sda1' it mounts on
 boot ok.
 Also i increased delay_root just to be sure and same.

--
Ticket URL: <https://dev.openwrt.org/ticket/19038#comment:8>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to