Jump to content

KABLOOEY

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by KABLOOEY

  1. Seems to me like it automatically assumes NTFS is the filesystem you want to mount, but if you specify type as ext4 it mounts that ok. Example: mount -t ext4 /dev/sda1 /media/usb Output: root@squirrel:~/tmp/media# mount /dev/sda1 ./usb NTFS signature is missing. Failed to mount '/dev/sda1': Invalid argument The device '/dev/sda1' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? root@squirrel:~/tmp/media# umount /dev/sda1 root@squirrel:~/tmp/media# mount -t ext4 /dev/sda1 ./usb root@squirrel:~/tmp/media# ls usb/ lost+found root@squirrel:~/tmp/media# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,noatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) /dev/mtdblock3 on /overlay type jffs2 (rw,noatime) overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work) tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600) debugfs on /sys/kernel/debug type debugfs (rw,noatime) /dev/sda1 on /root/tmp/media/usb type ext4 (rw,relatime,data=ordered) Then I did a poweroff command, then re-powered Packet Squirrel in arming mode and it shows ext4 automatically mounted ok BusyBox v1.23.2 (2017-06-28 18:58:08 PDT) built-in shell (ash) __ (\\_ Packet Squirrel _//) __ (_ \( '.) by Hak5 (.' )/ _) ) \ _)) _ __ ((_ / ( (_ )_ (') Nuts for Networks ((') _( _) root@squirrel:~# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,noatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) /dev/mtdblock3 on /overlay type jffs2 (rw,noatime) overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work) tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600) debugfs on /sys/kernel/debug type debugfs (rw,noatime) /dev/sda1 on /mnt type ext4 (rw,relatime,data=ordered) root@squirrel:~# btw, looks like I should sync my clock too...
×
×
  • Create New...