How to mount a partition?

My old pc installed three os:debian,win10,openwrt. There are two disk in my old pc,openwrt installed on /dev/sdb1.

Reboot to enter into debian.

sudo fdisk -l  /dev/sdb
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500DM002-1SB10
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x5f8979fa

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1            2048 195508223 195506176  93.2G 83 Linux
/dev/sdb2       195510270 197462015   1951746   953M  5 Extended
/dev/sdb3       197462016 301062143 103600128  49.4G  7 HPFS/NTFS/exFAT
/dev/sdb4       301062144 976773119 675710976 322.2G 83 Linux
/dev/sdb5  *    195510272 197462015   1951744   953M ef EFI (FAT-12/16/32)

How can i mount /dev/sdb4 for torrent downloading in my openwrt?

mount /dev/sdb4 /mnt

you might need additional packages, for file system support, etc.

1 Like
root@OpenWrt:~# mount  /dev/sdb4   /mnt
mount: mounting /dev/sdb4 on /mnt failed: Invalid argument

/dev/sdb4 is recognized in debian, there is no /dev/sdb4 in openwrt!
Which additional package need install then?

start with block-mount, and perhaps blockd.

might want to install fdisk or gdisk to verify the disk partition is readable.

3 Likes

Solved.

opkg update
opkg install block-mount fdisk
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.