Results 1 to 4 of 4

Thread: mount: you must specify the filesystem type

  1. #1
    Join Date
    Feb 2013
    Beans
    1

    mount: you must specify the filesystem type

    I get this error message when trying to mount second hard drive.

    # sudo mount /dev/xvdc1 /media/30GBHD

    mount: you must specify the filesystem type

    # sudo mount /dev/xvdc1 -t ext4 /media/30GBHD

    mount: wrong fs type, bad option, bad superblock on /dev/xvdc1,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so


    Any ideas? Thank you in advance.

  2. #2
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: mount: you must specify the filesystem type

    I believe the format is:

    # sudo mount /dev/xvdc1 /media/30GBHD -t ext4
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Apr 2007
    Beans
    3,114
    Distro
    Ubuntu

    Re: mount: you must specify the filesystem type

    Probably indeed the format of the command: the option must come before or after the device and mount point, not inbetween.

    If this message is thrown using a valid command, then that indicates that something is wrong with the file system. With the command
    Code:
    dmesg | tail -n 30
    you can see kernel messages, which may give a hint of what is wrong.
    Last edited by vanadium; February 18th, 2013 at 10:34 PM.

  4. #4
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: mount: you must specify the filesystem type

    The OS really does not see an ext4 filesystem on /dev/xvdc1. I'm usually brought up short by this message, but Linux doesn't lie about things like this. On good days it means I'm not addressing the right device. On bad days, well, we'll leave that aside for the moment. What does "sudo fdisk -l" show?
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •