I'm trying to follow the extroot guide but I'm using an SD card instead of a USB stick.
First, as it was a freshly bought SD card, I used fdisk to create a single partition on /dev/sda
. I then followed instructions to create filesystem (ran mkfs.ext4 /dev/sda1
). So far so good.
root@GL-AR750:~# fdisk -l
.....
....
Disk /dev/mtdblock6: 6.1 MiB, 6356992 bytes, 12416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 31.3 GiB, 33555480576 bytes, 65538048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcf08c09e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 65538047 65536000 31.3G 83 Linux
root@GL-AR750:~# fdisk -l /dev/sda
Disk /dev/sda: 31.3 GiB, 33555480576 bytes, 65538048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcf08c09e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 65538047 65536000 31.3G 83 Linux
However, I can't get the device to show up in block info
, nor can I mount it.
root@GL-AR750:~# fdisk -l
....
Disk /dev/mtdblock6: 6.1 MiB, 6356992 bytes, 12416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 31.3 GiB, 33555480576 bytes, 65538048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xcf08c09e
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 65538047 65536000 31.3G 83 Linux
root@GL-AR750:~# block info
/dev/mtdblock5: UUID="79f0fec2-99eb91d6-619024b5-44b54a35" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
root@GL-AR750:~# mount /dev/sda1 /mnt
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?
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?
mount: mounting /dev/sda1 on /mnt failed: Invalid argument
root@GL-AR750:~# mount -t ext4 /dev/sda1 /mnt
mount: mounting /dev/sda1 on /mnt failed: Invalid argument
I tried rebooting, changing mount directory, etc. I also tried to format /dev/sda directly, without partition and when mounting it I was also getting "The device '/dev/sda' doesn't seem to have a valid NTFS.".
I must be doing something wrong but I'm not sure what.