Results 1 to 10 of 10

Thread: ext4 with OpenSuSE

  1. #1

    Default ext4 with OpenSuSE

    I want to install OpenSuSE system with ext4 file system, is it possible?
    By the way, I about to install OpenSuSE 11.1 beta 1...

  2. #2
    Join Date
    Aug 2008
    Location
    Western Australia
    Posts
    7

    Default Re: ext4 with OpenSuSE

    Hi, new to the forum. Is there anyone online to tell me how to post a new thread.
    Dave

  3. #3
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    828

    Default Re: ext4 with OpenSuSE

    On Mon, 18 Aug 2008 12:26:03 GMT
    ringorgoneHHO <ringorgoneHHO@no-mx.forums.opensuse.org> wrote:

    >
    > Hi, new to the forum. Is there anyone online to tell me how to post a
    > new thread.
    > Dave
    >
    >


    That's FOUR!

    Gee... seems to me you'd had at LEAST four times now the chance to see this
    not so little button up near the top of the page... "NEW THREAD".... try it.

    Although with so many spams... You may find way too much love returned.

    Loni.

    --
    L R Nix
    lornix@lornix.com


  4. #4
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    828

    Default Re: ext4 with OpenSuSE

    On Mon, 18 Aug 2008 12:16:03 GMT
    SnirD <SnirD@no-mx.forums.opensuse.org> wrote:

    >
    > I want to install OpenSuSE system with ext4 file system, is it
    > possible?
    > By the way, I about to install OpenSuSE 11.1 beta 1...
    >
    >


    Yes, it's possible.


    OpenSUSE 11.1, Beta 1 huh? Considering that Alpha 1 has *ONLY* just been
    released to the public, you must have gotten an amazing deal! (Try again
    kiddo!)

    If you don't know if installing OpenSUSE with an ext4 filesystem is
    possible... I *REALLY* don't think you should be playing with an Alpha or
    Beta version of anything.

    Respectfully,

    Loni

    --
    L R Nix
    lornix@lornix.com


  5. #5

    Default Re: ext4 with OpenSuSE

    The beta should release today, and what I meant to do is download it today and install...
    I just never install OpenSuSE before, I usually work with Mandriva cooker... My question is if in the graphic install that come with the DVD there is in the partitioning part simple option to choose ext4 file system?

  6. #6
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    828

    Default Re: ext4 with OpenSuSE

    On Tue, 19 Aug 2008 08:16:04 GMT
    SnirD <SnirD@no-mx.forums.opensuse.org> wrote:

    >
    > The beta should release today, and what I meant to do is download it
    > today and install...
    > I just never install OpenSuSE before, I usually work with Mandriva
    > cooker... My question is if in the graphic install that come with the
    > DVD there is in the partitioning part simple option to choose ext4 file
    > system?
    >
    >


    ReallY?!? Beta released TODAY?!? WHERE ARE YOU??

    Where'd you park the time machine McFly?

    Based on the Official Roadmap of releases for OpenSuSE, which can be found
    here:

    http://en.opensuse.org/Roadmap

    I can see that OpenSUSE 11.1, Alpha 1, was just released on July 24th. The
    *NEXT* release is planned for August 21st, two days from now, for Alpha 2.

    Further down the list... a *proposed* release date of OpenSUSE 11.1, Beta
    1... is shown as September 18th.

    Been working with time and dates long?

    This month, is AUGUST. In the Gregorian Calendar, it is nominally the
    eighth (8th) month of the year, and has 31 days.

    It was named after Augustus in 8 BC due to several significant events
    which fell in this month, leading to his rise in power.

    Prior to this, it was called "Sextilis" (six) in Latin, since it was the sixth
    month, but King Numa Pompilius moved the month around 700 BC, making it the
    eighth month, and of course, calling the Eighth month Sextilis (six) was
    awfully confusing, but they (The Romans) liked it, it had 'style'!

    NEXT month... is September... And the proposed release date of September 18th
    is exactly 30 days away from TODAY (8/19/08).

    I can give the history of September too... if you wish... it was actually
    the seventh month until 153 BC when the calendar was beaten up and
    rebuilt again.

    So.... when 30 days hath passed, and once again you try, if Beta 1 hath been
    blessed and released, thou mayeth downloadeth andeth installeth.

    And as for your question:

    No, I do not believe that ext4 support for root partitions will be 'built-in'
    to the opensuse installer by then. There are serious issues involving grub
    and incompatibilities with ext4 as a boot (which is often a root) partition.

    It's in the queue to be worked on, but in the meantime, you are more
    than welcome to enable ext4 support by loading the ext4dev module during boot.
    partitioning and formatting the partition yourself, and proceeding to install
    upon that partition. But no, it's not 'mainstream' yet.

    Hope this helps

    Loni

    --
    L R Nix
    lornix@lornix.com


  7. #7
    tremelai NNTP User

    Default Re: ext4 with OpenSuSE

    Here is how to use EXT4 with OpenSuse 11.0.

    10,00 foot overview

    1. New installation of OpenSuse 11.0 with separate /boot mount point on ext3 and a / mount point formatted on ext3.
    2. Install the latest development kernel from the OpenSuse repository (2.6.27-rc) or download, patch and compile the latest stable kernel 2.6.26.5.
    3. configure your environment for ext4. (update fstab file, update the initrd with the jbd2 and ext4dev modules and update to e2fsprogs 1.41)
    4. use tune2fs to convert your / mount point to ext4

    Step 1: New Installation of OpenSuse with at least a 100MB /boot mount point configured. If you already have a separate /boot, then skip. (In my tests, grub had issues with ext4 files.)

    Step 2: Install the latest dev kernel from Index of /repositories/Kernel:/Vanilla/openSUSE_11.0

    BIG NOTE !!
    I had troubles with the 2.6.27 kernel, specifically with Nvidia drivers and vmware but if you don't have closed source issues, then the dev kernel is the fastest way to go. (you'll still have to update your initrd for the jbd2 and ext4dev modules)

    For me, I compiled the latest stable kernel, 2.6.26.5. (if the 2.6.27 dev kernel floats your boat then skip to the bottom)

    all the following procedures are done as root

    1. download the full kernel source from kernel.org and extract the tar into /usr/src

    2. download the 2.6.26-ext4-7 patch from Main Page - Ext4

    3. extract 2.6.26-ext4-7.gz to /usr/src and apply the patch to the kernel source

    type
    patch -p1 < 2.6.26-ext4-7

    (this patch back ports the most up to date ext4 source code from 2.6.27)


    4. compile your kernel

    type
    cd /usr/src/linux-2.6.26.5
    make mrproper
    zcat /proc/config.gz > .config
    make menuconfig
    At this point you can make changes to your kernel. Don't make radical changes unless you know what you are doing. I suggest you leave it at the defaults. The only changes I would consider making would be:
    Processor type and features ---> Processor Family -> select your CPU
    (if your system is a desktop)
    Processor type and features ---> Timer freqency -> 1000HZ
    General setup ---> Local version --> your custom name. dont forget a leading -
    The above is useful for naming your kernel builds. example - if you enter the string "-default", then your kernel will be named 2.6.26.5-default. The rest of these instruction assume this string is set to -default

    Exit menu config and save your changes if you made any.

    type

    make

    Get up and make yourself a snack as this may take a while depending on your hardware.

    type

    make modules

    make modules_install

    Your new kernel is built now we need to get it installed.

    note the -default custom name in this example. Change if needed to your custom name

    type

    cp arch/`uname -i`/boot/bzImage /boot/vmlinuz-2.6.26.5-default

    cp System.map /boot/System.map-2.6.26.5-default

    cp .config /boot/config-2.6.26.5-default

    Now we need to generate your initrd

    edit the INITRD_MODULES= line in your /etc/sysconfig/kernel file
    to look like the following

    INITRD_MODULES="processor thermal ata_piix fan jbd ext3 edd jbd2 ext4dev"

    now type

    mkinitrd -k vmlinuz-2.6.26.5-default -i initrd-2.6.26.5-default

    The kernel is almost installed!

    Now we need to update grub.

    Enter yast → system → boot loader

    highlight your default openSUSE 11.0 2.6.25.x kernel entry
    select add → clone selected section

    Give it a name such as openSUSE 11.0 2.6.26.5-default
    Browse to your kernel image /boot/vmlinuz-2.6.26.5-default

    Browse to your Initial RAM Disk /boot/initrd-2.6.26.5-default

    keep all the other fields the same

    select OK

    Reboot your system and test your new kernel

    If your kernel boots up, then congrats!

    Lets setup EXT4

    download and install version 1.41 of e2fsprogs from
    Index of /repositories/Base:/build/standard

    edit your /etc/fstab

    find the line for your / mount point and other ext3 mount points you want to convert to ext4
    (do not change your /boot mount point to ext4)

    change the text on those lines from ext3 to ext4dev

    example
    /dev/disk/by-id/scsi-SATA_Hitachi_HTS7210_MPCCN8Y3HGM8YL-part1 / ext3 acl,user_xattr 1 1

    to

    /dev/disk/by-id/scsi-SATA_Hitachi_HTS7210_MPCCN8Y3HGM8YL-part1 / ext4dev acl,user_xattr 1 1

    reboot your box into your vanilla kernel

    if it boots up, then you are almost done!

    Type

    df -h

    you will see an output such as this

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda3 54G 23G 29G 45% /
    udev 1013M 120K 1013M 1% /dev
    /dev/sda1 99M 32M 63M 34% /boot

    note the /dev/sda3 for the / mount point
    (yours will be different depending on your mount point layout and hardware)


    now type (running the following two commands is the point of no return on that file system, it will be forever ext4)

    tune2fs -O extents -E test_fs /dev/sda3

    tune2fs -I 256 /dev/sda3

    (change the /dev to your specific mount point device from the output of df -h)

    Go back into yast and set the vanilla kernel as the default and reboot your box

    optional:

    you can add the following mount point options to your fstab file for performance reasons

    extents,barrier=0,mballoc

    Enjoy your ext4 'ness

  8. #8
    invainagain NNTP User

    Default Re: ext4 with OpenSuSE

    Quote Originally Posted by SnirD View Post
    I want to install OpenSuSE system with ext4 file system, is it possible?
    By the way, I about to install OpenSuSE 11.1 beta 1...
    L R Nix

    This is my first time on the SUSE forums and on the basis of this, I will stick with Free BSD. How rude can you get. Snird needed help with ext4 not abuse. Use Ubuntu if you need the latest in Linux as it just does what you need it to do. Otherwise, go with BSD

  9. #9

    Default Re: ext4 with OpenSuSE

    I don't think you'll be missed if your judging the forum on one thread.

    Not to mention necro posting this is over 6mths old, and Lornix has helped many, even writing little patches to help users(Though I wonder where they maybe)
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  10. #10

    Default Re: ext4 with OpenSuSE

    Quote Originally Posted by invainagain View Post
    L R Nix

    This is my first time on the SUSE forums and on the basis of this, I will stick with Free BSD. How rude can you get. Snird needed help with ext4 not abuse. Use Ubuntu if you need the latest in Linux as it just does what you need it to do. Otherwise, go with BSD
    Ubuntu has the latest? Really? Have you looked at the build service of SUSE?

    As for BSD, unless they develop a very easy to use system for installing packages (yeah yeah, I know all about the ports and pkg and stuff) and a central graphical control center, it has a lot to catch up to Linux. Don't come with PC-BSD for n00bs since last time I used it (v7.1) was a horrible experience

Posting Permissions

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