Posted: Sun Aug 29, 2021 19:21 Post subject: /dev/root Mounted RO
Router: NetGear R7000P
Firmware: DD-WRT v3.0-r47256 std (08/25/21)
Previous upgrade path: From stock (new router)
jffs: Seems to be working
Other notes:A USB hard drive seems to work. I was able to dump some data on it earlier. I have /opt mounted at /dev/sda1 (2gb partition) and I think a swap partition is on at /dev/sda2 (256mb partition), with /dev/sda3 devoted to storage (1.4TB). Yes, this is a USB2 drive hanging on a USB2 hub.
Ultimate goal: Installing a USB printer
Expected behavior: My understanding is that /dev/root should mount RW so that I can run tools like ipkg
Issue: /dev/root is mounting read only
Code:
root@DD-WRT:~# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock/5 on /jffs type jffs2 (rw,relatime)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sde1 on /opt type ext4 (rw,noatime,nodiratime,nobarrier,data=ordered,init_itable=0)
/dev/sde3 on /tmp/mnt/sde3 type ext4 (rw,noatime,nodiratime,nobarrier,data=ordered,init_itable=0)
Joined: 08 May 2018 Posts: 14248 Location: Texas, USA
Posted: Mon Aug 30, 2021 1:39 Post subject:
This would have been fine to post in the build thread; I would've seen your post and answered just as I already answered your question earlier (only probably a bit less abrasive, lol):
kernel-panic69 wrote:
The default ipkg will not work; you must install Entware. Properly. Not enough reading done, apparently.
Was there a more complete answer you were looking for? The link to the wiki on installing Entware? The ipkg feature still present in DD-WRT is likely for Optware, which is deprecated since 2015, if I am not mistaken. Anyhow, this could've been left as a flash report worded a little differently, with or without a question, and would've been totally fine. No harm, no foul. Wasn't meaning to be rude. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Posted: Mon Aug 30, 2021 6:43 Post subject: Re: /dev/root Mounted RO
rainbowspoint wrote:
Issue: /dev/root is mounting read only
Expected behavior: My understanding is that /dev/root should mount RW so that I can run tools like ipkg
No this is normal and wanted, dd-wrt uses a compressed squashfs as filesystem and this is always read only - is also a security feature that nothing can be manipulated on the router.
It wouldn't help you if ipkg would work because dd-wrt has no package management and there are no software feeds.