Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sun Jul 25, 2021 8:57 Post subject: Extra entries in Services -> USB
Initially, the USB drive has only one FAT32 partition. I have since used fdisk to re-partition the USB drive into 2 Linux partitions, and format them ext4.
However, Disk Info still listed the old record:
Code:
FAT32 file system (hints score 4 of 5)
Volume size 14.89 GiB (15992987648 bytes, 1952269 clusters of 8 KiB)
Volume name ""
How could I remove it? Is it something saved in NVRAM?
The following is the full Disk Info:
Code:
--- /dev/sda
Block device, size 14.91 GiB (16008609792 bytes)
DOS/MBR partition map
Partition 1: 2 GiB (2147483648 bytes, 4194304 sectors from 32)
Type 0x83 (Linux)
Ext4 file system
UUID D75E....C5249 (DCE, v4)
Last mounted at "/jffs"
Volume size 2 GiB (2147483648 bytes, 524288 blocks of 4 KiB)
Partition 2: 12.91 GiB (13861109760 bytes, 27072480 sectors from 4194336)
Type 0x83 (Linux)
Ext4 file system
UUID 4BCE....6EF12 (DCE, v4)
Last mounted at "/opt"
Volume size 12.91 GiB (13861109760 bytes, 3384060 blocks of 4 KiB)
FAT32 file system (hints score 4 of 5)
Volume size 14.89 GiB (15992987648 bytes, 1952269 clusters of 8 KiB)
Volume name ""
/dev/sda not mounted Unsupported Filesystem
--- /dev/sda1
Block device, size 2 GiB (2147483648 bytes)
Ext4 file system
UUID D75E8....5249 (DCE, v4)
Last mounted at "/jffs"
Volume size 2 GiB (2147483648 bytes, 524288 blocks of 4 KiB)
/dev/sda1 mounted to /jffs
--- /dev/sda2
Block device, size 12.91 GiB (13861109760 bytes)
Ext4 file system
UUID 4BCEF....6EF12 (DCE, v4)
Last mounted at "/opt"
Volume size 12.91 GiB (13861109760 bytes, 3384060 blocks of 4 KiB)
/dev/sda2 mounted to /opt
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Code:
--- /dev/sda
Block device, size 14.91 GiB (16008609792 bytes)
DOS/MBR partition map
Partition 1: 2 GiB (2147483648 bytes, 4194304 sectors from 32)
Type 0x83 (Linux)
Ext4 file system
UUID D75E....C5249 (DCE, v4)
Last mounted at "/jffs"
Volume size 2 GiB (2147483648 bytes, 524288 blocks of 4 KiB)
Partition 2: 12.91 GiB (13861109760 bytes, 27072480 sectors from 4194336)
Type 0x83 (Linux)
Ext4 file system
UUID 4BCE....6EF12 (DCE, v4)
Last mounted at "/opt"
Volume size 12.91 GiB (13861109760 bytes, 3384060 blocks of 4 KiB)
FAT32 file system (hints score 4 of 5)
Volume size 14.89 GiB (15992987648 bytes, 1952269 clusters of 8 KiB)
Volume name ""
/dev/sda not mounted Unsupported Filesystem
this is the output of
Code:
root@DD-WRT:~# disktype /dev/sda
is also not dd-wrt specific but a normal linux tool
how the program works internally i can't say, but probably it only reads the partition table in the master boot record
maybe you did something wrong with partitioning with fdisk....
as far as i remember you have a linux PC, so gparted would be a good choice.
simply delete the partitions and then in the tab "device" > "create partition table"
create a new MBR and then your two EXT partitions
if you have paritioned the stick in the router, it may also be that the partition table must be re-read...
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sun Jul 25, 2021 10:53 Post subject:
ho1Aetoo wrote:
this is the output of
Code:
root@DD-WRT:~# disktype /dev/sda
is also not dd-wrt specific but a normal linux tool
....
maybe you did something wrong with partitioning with fdisk....
as far as i remember you have a linux PC, so gparted would be a good choice.
simply delete the partitions and then in the tab "device" > "create partition table"
create a new MBR and then your two EXT partitions
if you have paritioned the stick in the router, it may also be that the partition table must be re-read...
Thanks. Maybe that /dev/sda entry was for the drive as a whole... The USB drive was originally formatted by Windows. Will try your suggestion next build.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!