i created a file i /media/usbstick/, and then tried to mount the usb, I tried slightly different commands, making me believe there is a supper block that is corrupt
Are there any suggestions for what I do wrong?.
Code: Select all
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 1 3.8G 0 disk
└─sdb1 8:17 1 3.7G 0 part
sr0 11:0 1 1024M 0 rom
sda 8:0 0 465.8G 0 disk
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 465.3G 0 part
│ ├─mint--vg-swap_1 253:1 0 7.6G 0 lvm [SWAP]
│ └─mint--vg-root 253:0 0 457.7G 0 lvm /
└─sda1 8:1 0 487M 0 part /boot
Code: Select all
$ sudo mount -t /dev/sdb1 /media/usbstick/
mount: can't find /media/usbstick/ in /etc/fstab
[code]
[code]$ sudo fsck /dev/sdb1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb1
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Code: Select all
$ sudo e2fsck -b 8193 /dev/sdb1
e2fsck 1.42.13 (17-May-2015)
e2fsck: Bad magic number in super-block while trying to open /dev/sdb1
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Code: Select all
~ $ sudo mount -t /dev/sdb1 /media/usbstick/
mount: can't find /media/usbstick/ in /etc/fstab