markniu / PandaPi

3d printer firmware run on raspberry pi directly
215 stars 30 forks source link

Can not mount U drive on Pi3(wrong fs type, bad option, bad superblock) #19

Closed markniu closed 3 years ago

markniu commented 3 years ago

One of the problem U drive can not mount

   pi@octopi:~$ sudo mount /dev/sda /media/usb
   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.

solution:format it with mkfs command mkfs -t ext2 /dev/sda

   pi@octopi:~$ sudo mkfs  -t  ext2  /dev/sda
   mke2fs 1.43.4 (31-Jan-2017)
          Found a dos partition table in /dev/sda
          Proceed anyway? (y,N) y
          Creating filesystem with 1951744 4k blocks and 488640 inodes
          Filesystem UUID: aac463a7-efa7-467c-a762-3472f7223749
          Superblock backups stored on blocks: 
                  32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

          Allocating group tables: done                            
                 Writing inode tables: done                            
                 Writing superblocks and filesystem accounting information:            
          done
   pi@octopi:~$