Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Development & Programming > Ubuntu Forum Archives > Jaunty Jackalope Testing and Discussion (CLOSED)
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Jaunty Jackalope Testing and Discussion (CLOSED)
This forum is for the discussion of Ubuntu Jaunty Jackalope. Jaunty is in development and will be out in Spring 2009. Please note: Ubuntu Developers do not usually read the forums, to report a problem found in Jaunty please report the bug in Launchpad.

 
 
Thread Tools Display Modes
Old December 31st, 2008   #1
inxygnuu
Quad Shot of Ubuntu
 
inxygnuu's Avatar
 
Join Date: Sep 2008
Location: The Sun
Beans: 411
Ubuntu 9.10 Karmic Koala
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!
inxygnuu is offline  
Old December 31st, 2008   #2
plun
Chocolate-Covered Ubuntu Beans
 
plun's Avatar
 
Join Date: Nov 2006
Location: Sweden
Beans: 2,075
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.
plun is offline  
Old December 31st, 2008   #3
inxygnuu
Quad Shot of Ubuntu
 
inxygnuu's Avatar
 
Join Date: Sep 2008
Location: The Sun
Beans: 411
Ubuntu 9.10 Karmic Koala
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!
inxygnuu is offline  
Old December 31st, 2008   #4
Technophobia
Way Too Much Ubuntu
 
Join Date: Sep 2006
Location: Tempe Arizona USA
My beans are hidden!
Ubuntu 9.10 Karmic Koala
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
__________________
-AKA SlickMcRunfast
Ubuntu Game Night #ugn | AZLOCO
System: Custom C2D 3.0ghz 4gb ram nVidia 8800 GTS Ubuntu 9.04

Last edited by Technophobia; December 31st, 2008 at 01:30 PM..
Technophobia is offline  
Old December 31st, 2008   #5
pressureman
A Carafe of Ubuntu
 
pressureman's Avatar
 
Join Date: Jul 2005
Location: Berlin, Germany
Beans: 107
Ubuntu Karmic Koala (testing)
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
pressureman is offline  
Old December 31st, 2008   #6
inxygnuu
Quad Shot of Ubuntu
 
inxygnuu's Avatar
 
Join Date: Sep 2008
Location: The Sun
Beans: 411
Ubuntu 9.10 Karmic Koala
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!
inxygnuu is offline  
Old December 31st, 2008   #7
Quikee
Ubuntu Extra Shot
 
Quikee's Avatar
 
Join Date: Apr 2006
Location: Slovenia
Beans: 356
Ubuntu Karmic Koala (testing)
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").
Quikee is offline  
Old December 31st, 2008   #8
Quikee
Ubuntu Extra Shot
 
Quikee's Avatar
 
Join Date: Apr 2006
Location: Slovenia
Beans: 356
Ubuntu Karmic Koala (testing)
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").
Quikee is offline  
Old December 31st, 2008   #9
pressureman
A Carafe of Ubuntu
 
pressureman's Avatar
 
Join Date: Jul 2005
Location: Berlin, Germany
Beans: 107
Ubuntu Karmic Koala (testing)
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
pressureman is offline  
Old December 31st, 2008   #10
pressureman
A Carafe of Ubuntu
 
pressureman's Avatar
 
Join Date: Jul 2005
Location: Berlin, Germany
Beans: 107
Ubuntu Karmic Koala (testing)
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
pressureman is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:57 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry