Cool! Maybe u can document it on ubuntu wiki. I don't think anyones thought about the chroot methodology yet. There are a lot of broken upgrades out there from what I see in the forums!
-----Original Message----- From: "Todd Walton" <[EMAIL PROTECTED]> Date: Sat, 5 May 2007 09:16:01 To:[email protected] Subject: Re: [dubailug] No Ubuntu No! On 5/5/07, Akshay Lamba <[EMAIL PROTECTED] <mailto:akshay%40lambaweb.com> com> wrote: > Hell its worth a try buddy! Woo hoo! Yes yes yes! I did it! I managed to save my Kubuntu and even do the upgrading in the process. I didn't have to reinstall from scratch and I ended up with Feisty Fawn anyway. Here's what I did: 1. Boot to the Ubuntu 6.10 LiveCD. 2. Set up networking, wireless in my case. 3. mount /dev/hda5 /media/hda5 (hda5 is my root) 4. mount -t proc proc /media/hda5/proc (just in case) 5. cp -L /etc/resolv.conf /media/hda5/etc/resolv.conf (just in case) 6. chroot /media/hda5 /bin/bash 7. apt-get dist-upgrade 8. Reboot. 9. Drink a cup of coffee. Celebration! When doing to the dist-upgrade, I got a bunch of these: cp: cannot stat `/etc/udev/rules.d/85-brltty.rules': No such file or directory But apparently it wasn't a problem. I don't understand what dist-upgrade does anyway. Can someone tell me? I got the idea for chrooting from my Gentoo days. When installing Gentoo it used to be that you'd boot into the LiveCD and then chroot to where you wanted to install everything and then do it. After three or four times of installing Gentoo I started to understand what was going on. Well, the idea came back to me here and I tried it. It worked! Steps 4 and 5 were from the Gentoo documentation. I'm not sure if they were needed in this case. -todd
