Mounting unchecked fs at boot

Discussion in 'Linux Ubuntu' started by stl, Feb 2, 2014.

  1. stl

    stl New Member

    Joined:
    Feb 2, 2014
    Messages:
    1
    Likes Received:
    0
    Hello there,

    I'm booting UDOO from a SSD. Everything else is mainly running smoothly but for some reason, at boot, ubuntu wont check /dev/sda1.

    What am I missing? Where is the script that decides to run fsck or not, can I make it more verbose? Or is this a u-boot issue?

    I'm getting the following at boot.

    Code:
    [    3.058848] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
    [    3.067182] VFS: Mounted root (ext2 filesystem) on device 8:1.
    
    Fstab looks as follows.

    Code:
    /dev/sda1 / ext2 errors=remount-ro 0 1
    /dev/sda2 none swap defaults
    /dev/sda3 /mnt/stuff ext3 defaults 0 2
    
    Tune2fs -l /dev/sda1

    Code:
    tune2fs 1.42 (29-Nov-2011)
    Filesystem volume name:   <none>
    Last mounted on:          <not available>
    Filesystem UUID:          90f48a29-67eb-437f-9ac3-58603eb5655c
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      ext_attr resize_inode dir_index filetype sparse_super large_file
    Filesystem flags:         unsigned_directory_hash
    Default mount options:    user_xattr acl
    Filesystem state:         not clean with errors
    Errors behavior:          Remount read-only
    Filesystem OS type:       Linux
    Inode count:              1310720
    Block count:              5242880
    Reserved block count:     262144
    Free blocks:              3614198
    Free inodes:              1156192
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      1022
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         8192
    Inode blocks per group:   512
    Filesystem created:       Sun Dec  8 14:23:53 2013
    Last mount time:          Sun Feb  2 15:18:48 2014
    Last write time:          Sun Feb  2 18:17:03 2014
    Mount count:              8
    Maximum mount count:      1
    Last checked:             Mon Jan 20 22:03:09 2014
    Check interval:           86400 (1 day)
    Next check after:         Tue Jan 21 22:03:09 2014
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:               256
    Required extra isize:     28
    Desired extra isize:      28
    Default directory hash:   half_md4
    Directory Hash Seed:      de4745bd-1474-41a4-a5b2-0122ac8b768c
    
    - stl
     
  2. miousername

    miousername New Member

    Joined:
    Jun 23, 2013
    Messages:
    73
    Likes Received:
    0
    Hi Stl,

    The only way to check your sd card is to check it in an external pc because udoo don't use initramfs.

    If you create an initramfs with a very small set of library (busybox for example) you can check the sd filesystem.

    I hope this could be useful :geek:
     

Share This Page