First doublecheck if you are running the 2.6.32 squeeze kernel: Older than 2.6.28 kernels (like lenny 2.6.26 for example) don’t have native support for ext4, so this will fail for an older kernel.
Because ext4 is backwards compatible with ext3, all we have to do is to change the mount definitions to ext4 in fstab: and change the filesystem from ext3 to ext4 for any devices you might have.
– UUIDs: the installer will recommend to switch from regular disk devices (aka /dev/sda*) to disk IDs (aka UUID=c6ecae74-6754-4ad0-986d-98dd9cbfd293) in various configuration places like /etc/fstab, /boot/grub/ Now it is time to reboot your system for the first time into squeeze.
I personally don’t like that, but didn’t want to take the risk for the device to change its name with the new kernel and went with the change. Fingers crossed and in a few minutes you will be running squeeze (as always an out of band impi console is handy when doing such upgrades) If you upgraded to grub2 and want to remove the chainloaded grub-legacy you can remove it completely from the system with: and this will complete some extra packages that were not straitforward and not seen as safe by the normal upgrade process (there might be none, depending on the state of your existing system). And finally once you are done reboot once more (to see that grub2 is working fine by itself) and you will be running the latest uptodate squeeze system.
This post will show how to upgrade from Debian 5.0.x “Lenny” to the latest stable Debian release 6.0 “Squeeze”.
One of the reasons I’ve liked Debian in the first place was the advantage of being able to do a live, in place updates from one major release to another, usually in a safe way.
If you have encountered anything special during the upgrade feel free to share it with others using the comment box bellow.
Make a note on the devices you change, and reboot the machine.
After the reboot the machine will use the ext4 driver for the old filesystem even though it doesn’t take full advantage of the ext4 capabilities.
This is the recommended way and it is supposed to be faster and improve the system overall performance. – grub2: is the default in squeeze and the upgrade will recommend to upgrade from your existing grub.
This is a major change and for this reason initially the boot loader will be chainloaded in the existing to verify it works fine.