Portál AbcLinuxu, 13. května 2025 03:57
nvram set boot_dev=/dev/ide/host0/bus0/target0/lun0/part1
nvram commit
reboot
if (nvram get boot_dev == ””)
{ nvram set boot_dev=/dev/ide/host0/bus0/target0/lun0/part1;
reboot}
root@OpenWrt:~# find / -name 'mount_root'
/sbin/mount_root
/rom/sbin/mount_root
/var/root/sbin/mount_root
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
none on /proc type proc (rw)
none on /tmp type tmpfs (rw,nosuid,nodev)
none on /dev/pts type devpts (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on / type ext3 (rw)
/dev/ide/host0/bus0/target0/lun0/part3 on /hdd type ext3 (rw)
none on /proc/bus/usb type usbfs (rw)
/rom
je read-only a při příkazu:root@OpenWrt:~# mount -no remount,rw /rom
mount: /dev/root is write-protected, mounting read-only
se změna nepovede..
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.