Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: [SOLVED] Is there a way to install Jaunty as ext4?

  1. #1
    Join Date
    Sep 2008
    Location
    The Sun
    Beans
    414
    Distro
    Ubuntu Development Release

    Question [SOLVED] Is there a way to install Jaunty as ext4?

    This might sound dumb, and unstable, but is there currently a way to install Jaunty with ext4? I know you need GRUB 2, but from the cd is there an option?
    HP pavilion dv 6910us, 2.0 GHZ AMD turion 64 X2, 3 GB of RAM, Nvidia GeForce 7150M.
    cool tongue dude!

  2. #2
    Join Date
    Nov 2006
    Location
    Sweden
    Beans
    2,594
    Distro
    Ubuntu Development Release

    Re: Is there a way to install Jaunty as ext4?

    Nope you don't need Grub2 for non boot partitions.

    I have one test partition for EXT4.

    Code:
    plun@plun:~$ sudo blkid
    /dev/sda1: UUID="9E7864E67864BEA1" TYPE="ntfs" 
    /dev/sda2: UUID="431b36fe-46dd-4ee6-94ce-ab65eabdc770" TYPE="ext3" 
    /dev/sda3: UUID="1bd53d0e-a190-4358-a24f-cdea59941581" TYPE="ext4" 
    /dev/sda4: UUID="ea60a35d-3a50-4b02-8eda-60da18ad08fd" TYPE="ext3" 
    /dev/sdb1: SEC_TYPE="msdos" UUID="BABA-9F89" TYPE="vfat"

    Info
    http://ext4.wiki.kernel.org/index.php/Main_Page


    Still a unsolved bug about blkid or vol_id for Ubuntu....but it works without any fixes, just to convert a partion and add it to fstab.

  3. #3
    Join Date
    Sep 2008
    Location
    The Sun
    Beans
    414
    Distro
    Ubuntu Development Release

    Arrow Re: Is there a way to install Jaunty as ext4?

    well, it looks very unstable, so I am simply going to leave it alone for now.
    HP pavilion dv 6910us, 2.0 GHZ AMD turion 64 X2, 3 GB of RAM, Nvidia GeForce 7150M.
    cool tongue dude!

  4. #4
    Join Date
    Sep 2006
    Location
    Tempe Arizona USA
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    The newest release of the Kernel included a stabilized ext4. I'm not sure what that exactly means, and if JJ will use it.

    http://www.phoronix.com/scan.php?pag...item&px=Njk1Nw
    Last edited by Technophobia; December 31st, 2008 at 06:30 PM.
    -AKA SlickMcRunfast
    LXGC Game Night every Sunday. | AZLOCO

  5. #5
    Join Date
    Jul 2005
    Location
    Berlin, Germany
    Beans
    414
    Distro
    Ubuntu Development Release

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    I just installed Jaunty on a spare laptop using ext4 as the root filesystem, and a separate ext3 /boot partition. I think messing about with both ext4 and grub2 simultaneously is tempting fate a little bit

    Running ext4 as your root filesystem gets a bit fiddly with initramfs (which doesn't correctly identify the filesystem as ext4, and then fails to mount it as ext3 (if you have enabled extents or some other new ext4 filesystem feature)).

    I needed to add a custom script in /etc/initramfs-tools/scripts/local-bottom:

    Code:
    #! /bin/sh
    mount -t ext4 /dev/sda1 /root
    mount -t ext4 /dev/disk/by-uuid/[ADD YOUR ROOT PARTITION UUID HERE] /root
    If you're not using sda1 as your root partition, obviously replace it with what you are using. Then execute
    Code:
    sudo update-initramfs -u -k all
    The kernel now has ext4 (and others) compiled in directly (no longer a module), so the FS support is there right from the start - it's just that the initramfs scripts try to mount it as ext3.

    Note: you will not need the above custom script if you're not going to enable extents.
    Linux user since Slackware 3.4

  6. #6
    Join Date
    Sep 2008
    Location
    The Sun
    Beans
    414
    Distro
    Ubuntu Development Release

    Arrow Re: [SOLVED] Is there a way to install Jaunty as ext4?

    Okay, I just got all of that, but I don't know how to move the /boot to another partition. I <3 BLEEDING EDGE
    HP pavilion dv 6910us, 2.0 GHZ AMD turion 64 X2, 3 GB of RAM, Nvidia GeForce 7150M.
    cool tongue dude!

  7. #7
    Join Date
    Apr 2006
    Location
    Slovenia
    Beans
    370
    Distro
    Ubuntu Development Release

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    Quote Originally Posted by pressureman View Post
    Running ext4 as your root filesystem gets a bit fiddly with initramfs (which doesn't correctly identify the filesystem as ext4, and then fails to mount it as ext3 (if you have enabled extents or some other new ext4 filesystem feature)).
    I have solved this by adding "rootfstype=ext4" to boot options (manualy in grub but later in temporary in grub's "menu.lst").

  8. #8
    Join Date
    Apr 2006
    Location
    Slovenia
    Beans
    370
    Distro
    Ubuntu Development Release

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    Quote Originally Posted by pressureman View Post
    Running ext4 as your root filesystem gets a bit fiddly with initramfs (which doesn't correctly identify the filesystem as ext4, and then fails to mount it as ext3 (if you have enabled extents or some other new ext4 filesystem feature)).
    I have solved this by adding "rootfstype=ext4" to boot options (manualy in grub but later permanent in grub's "menu.lst").

  9. #9
    Join Date
    Jul 2005
    Location
    Berlin, Germany
    Beans
    414
    Distro
    Ubuntu Development Release

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    Quote Originally Posted by inxygnuu View Post
    Okay, I just got all of that, but I don't know how to move the /boot to another partition. I <3 BLEEDING EDGE
    If you haven't already converted your root partition to ext4, or if you have converted it but not yet enabled extents, you should be able to use gparted to resize the partition, creating space to sneak in a small /boot partition, formatted as ext3. 200 MB should be plenty big enough.

    Once you've created the /boot partition, mount it somewhere temporarily, copy the contents of your existing /boot directory onto the new /boot partition (wherever it's mounted), and update your /etc/fstab accordingly.
    Linux user since Slackware 3.4

  10. #10
    Join Date
    Jul 2005
    Location
    Berlin, Germany
    Beans
    414
    Distro
    Ubuntu Development Release

    Re: [SOLVED] Is there a way to install Jaunty as ext4?

    Quote Originally Posted by Quikee View Post
    I have solved this by adding "rootfstype=ext4" to boot options (manualy in grub but later in temporary in grub's "menu.lst").
    Perfect! A much more elegant solution than my suggestion. Thanks!

    For anyone reading this who isn't quite sure what Quikee meant, edit your /boot/grub/menu.lst file (as root), find the "kopt" option, and append "rootfstype=ext4" to that line, eg.

    Code:
    # kopt=root=UUID=422cead6-da03-473f-a2dc-1a551da53d2f ro rootfstype=ext4
    Then run "sudo update-grub".
    Linux user since Slackware 3.4

Page 1 of 4 123 ... LastLast

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
  •