<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/platform.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d6154817622702903944\x26blogName\x3d%E2%97%8B%E3%80%82o%E5%82%BB%E3%80%83%E4%BB%94%E3%80%83%E4%BB%94o%E3%80%82\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dSILVER\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://vincent1303.blogspot.com/search\x26blogLocale\x3dzh_TW\x26v\x3d2\x26homepageUrl\x3dhttp://vincent1303.blogspot.com/\x26vt\x3d682101390609131817', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

How-To: Upgrade to Ubuntu 9.04 and ext4


Getting started

If you’re the kind of person who likes to give software and platforms a test drive early on then I’m sure you’ve been keeping a close eye on Ubuntu 9.04 Jaunty Jackalope and it’s fresh support for the ext4 file system.

If you’re interested in upgrading to Ubuntu 9.04 then it’s pretty painless and requires one command. Before you get started, please note that the current stage of the Ubuntu 9.04 release is still alpha.

This means that this release is not yet deemed stable and you should not be surprised if you encounter a nasty bug. That being said, I have been using Ubuntu 9.04 for a couple of alpha releases with no major problems and fast updates and fixes on a daily basis.

If you would like to wait until the final version is released then you can mark your calendars for April 23, 2009 and upgrade then. If you’re curious and ready for some exciting changes then please continue reading. ;)

Please take a look at the know issues for the latest release of Ubuntu 9.04 Jaunt Jackalope to make sure you still want to continue with the upgrade. You can find links to release news for each alpha and on up to the final release here.

Upgrade to Ubuntu 9.04

  1. Press Alt+F2 to open the run dialog.
  2. Copy and paste update-manager -d into the dialog and press enter.
  3. When the Update Manager appears, it should prompt you of the availability of an upgrade. Press the upgrade button and follow the few instructions.

After upgrading, you may need to enable hardware drivers for your video card. If you’re using nVidia, then you’ll be happy to see that driver version 180 is now recommended for Jaunty!

You may not notice, but updating your version of Ubuntu does not automatically convert your file system from ext3 to ext4. This is something you will need to manually change with a few commands.

Also note that after converting your file system to ext4, only files created after the conversion will be created in extends mode. This means that files that already exist will still be in ext3 format, but will work flawlessly with the ext4 file system. If you wish to have a complete ext4 file system then you will most likely be required to perform a fresh install of Ubuntu 9.04.

Follow updates from kernel.org on how to convert from ext3 to ext4, or refer to this page in the case that the below information becomes outdated.

Converting ext3 to ext4

To convert an existing ext3 filesystem to use ext4, use the command

$ tune2fs -O extents,uninit_bg,dir_index /dev/DEV

WARNING: Once you run this command, the filesystem will no longer be mountable using the ext3 filesystem!

After running this command, you MUST run fsck:

$ fsck -pf /dev/DEV

NOTE: by doing so, new files will be created in extents format, but this will not convert existing files. However, they can be transparently read by Ext4.

WARNING: It is NOT recommended to resize the inodes using resize2fs, as this is known to corrupt some filesystems.

Conclusion

If you’ve successfully upgraded to Ubuntu 9.04 then it’s time for you to sit back and relax!

You’ll continue to see updates to Ubuntu 9.04 that will update your system all the way up to the stable release of Ubuntu 9.04 by April 23, 2009. You will see fewer and fewer updates after this point with most of the updates being security based.

Enjoy!


source : http://kyleabaker.com/2009/02/23/how-to-upgrade-to-ubuntu-904-and-ext4/

Link from

“ How-To: Upgrade to Ubuntu 9.04 and ext4 ”