Results 1 to 6 of 6

Thread: ext4 support with custom kernel

  1. #1
    Join Date
    Jan 2008
    Location
    Miami, Florida
    Beans
    264

    ext4 support with custom kernel

    Hi, I was thinking about compiling the Linux kernel with my own specifications. I've done this before in archlinux and my first step was always zcat /proc/config.gz but it seems that I can't access the defualt configs in this manner.

    Code:
    sudo zcat /proc/config.gz
    gzip: /proc/config.gz: No such file or directory

  2. #2
    Join Date
    Jan 2009
    Location
    ::1
    Beans
    2,485

    Re: ext4 support with custom kernel

    ext4 is built in in Jaunty Alpha 6 (http://www.ubuntu.com/testing/jaunty...stem%20support).

    So the most easy way is to use Jaunty and select ext4 during install.

    Download from http://cdimage.ubuntu.com/releases/jaunty/alpha-6/
    Last edited by sanderj; March 18th, 2009 at 02:32 PM. Reason: typo's

  3. #3
    Join Date
    May 2007
    Location
    United Kingdom
    Beans
    2,803
    Distro
    Ubuntu Development Release

    Re: ext4 support with custom kernel

    I think the config is located in the /boot/ directory.

    I did find a great guide a while back on compiling kernels. It's a shame none of mine worked.

  4. #4
    Join Date
    Jun 2008
    Location
    Paris
    Beans
    260

    Re: ext4 support with custom kernel

    Quote Originally Posted by absolutezero1287 View Post
    Hi, I was thinking about compiling the Linux kernel with my own specifications. I've done this before in archlinux and my first step was always zcat /proc/config.gz but it seems that I can't access the defualt configs in this manner.

    Code:
    sudo zcat /proc/config.gz
    gzip: /proc/config.gz: No such file or directory
    you need to insmod the right kernel module
    Code:
    # modprobe configs
    at this point, the "file" /proc/config.gz exists.

  5. #5
    Join Date
    Jan 2008
    Location
    Miami, Florida
    Beans
    264

    Re: ext4 support with custom kernel

    Quote Originally Posted by regala View Post
    you need to insmod the right kernel module
    Code:
    # modprobe configs
    at this point, the "file" /proc/config.gz exists.
    Code:
    sudo modprobe configs
    FATAL: Module configs not found.
    Also, I can't update due to later versions of Ubuntu having problems with Compiz. Apparently, someone decided it would be great to blacklist my graphics card.

  6. #6
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: ext4 support with custom kernel

    Being able to access the current kernel config via proc is itself a kernel option. On Ubuntu, this isn't really an issue because the currently running Ubuntu config is always, /boot/config-`uname -r`. However, the kernel is smart these days and, with no configuration specified/added, "make menuconfig" uses the currently running kernels config as the basis. You can also use "make oldconfig" to get a configuration process that only presents you with config options that don't exist in your old kernel config but do exist in this one.
    Don't try to make something "fast" until you are able to quantify "slow".

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
  •