Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, Does busybox mount support ext4?I am trying to mount using mount -t ext4 /dev/hda1 /where/to/mount.. but not working..anyhave have solution.....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    18

    mount ext4 from busybox mount.


    Hi,

    Does busybox mount support ext4?I am trying to mount using mount -t ext4 /dev/hda1 /where/to/mount..

    but not working..anyhave have solution..



  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,655
    You need the ext4 driver and tools installed. Those would include the mount.ext4 and fsck.ext4 executable images. If it is for read-only, ext3 and ext4 are ext2-derived so either can be read by the ext2 drivers and tools.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    May 2012
    Posts
    18
    no,it is read/write.I googled abt ext4 tools.but I didnt get anything useful.how to install ext4 driver and tools.Thanks..

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,655
    Quote Originally Posted by new2linus View Post
    no,it is read/write.I googled abt ext4 tools.but I didnt get anything useful.how to install ext4 driver and tools.Thanks..
    Depending upon the kernel and platform you are using, you may need to configure and build a custom kernel, and then build/install the tools for ext4 from sources.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #5
    Just Joined!
    Join Date
    May 2012
    Posts
    18
    Quote Originally Posted by Rubberman View Post
    Depending upon the kernel and platform you are using, you may need to configure and build a custom kernel.
    My kernel version is 3.8.0 and my developement platform is ubuntu 10.04 and my project is debian based distro.I have enabled ext4 file system support in my kernel.

    build/install the tools for ext4 from sources.
    From which source I can build ext4 tools..I am little confused..

  7. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    apparently support for ext4 in busybox has been around for a while.

    in other words, the ext tools are a part of busybox itself, and busybox (i am guessing) should support ext4, provided that the kernel does, as Rubberman has advised. double-check your running kernel filesystem support with this command:

    Code:
    cat /proc/filesystems
    there is also the stand-alone e2fsprogs package, but you clearly are trying to go for an embedded solution, and busybox should work for you.

Posting Permissions

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