trying to get a second drive to mount into /media/media folder:
/dev/sda /media/media ext4 auto,exec,rw,user,async 0 0
but it is failing, causing me to skip.
Here is the full fstab file:
# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sdb1 during installation UUID=72e34f04-a84f-41b5-931c-8e1a08b0315e / ext4 errors=remount-ro 0 1 # swap was on /dev/sdb5 during installation UUID=d2a7845a-01cc-4a55-93a6-f86b694804de none swap sw 0 0 /dev/sda /media/media ext4 auto,exec,rw,user,async 0 0
Here is my error:
fsck.ext4: Bad magic number in super-block while trying to open /dev/sda /dev/sda: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 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> mountall: fsck /media/media  terminated with status 8 mountall: Unrecoverable fsck error: /media/media /dev/sdb1: clean, 197231/7331840 files, 1544679/29305088 blocks Ignoring errors with /media/media at user request mount: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so mountall: mount /media/media  terminated with status 32 mountall: Filesystem could not be mounted: /media/media Skipping /media/media at user request