LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Uninstall kubuntu 8.04 because of upgrade to kubuntu 8.10 (http://www.linuxquestions.org/questions/linux-newbie-8/uninstall-kubuntu-8-04-because-of-upgrade-to-kubuntu-8-10-a-680483/)

7ser23 11-01-2008 12:12 PM

Uninstall kubuntu 8.04 because of upgrade to kubuntu 8.10
 
Hello, hope u can help me. I recently updated to kubuntu 8.10, I installed this on a new partition and I'm able to see my home folder from kubuntu 8.04, the thing is the following I want to uninstall kubuntu 8.04, but keep my home folder, can I do that, and how? please help

jay73 11-01-2008 12:16 PM

If the 8.04 Kubuntu has its home on a separate partition, then you can simply delete all parts except its home. If not, you'll have to copy the data in /home to a new partition first.

pixellany 11-01-2008 12:20 PM

In principle, you could copy the /home directory from 8.04 into 8.10. To do this:
Boot into 8.04
cd to /mnt
create a directory for mounting the 8.10 partition (mkdir)
cd to the directory (let's assume it is Ubuntu810)
copy the /home folder using:
cp /home /mnt/Ubuntu810/home
reboot into the 8.10 install

NOTE: This works only if you installed GRUB when 8.10 was installed. (ie GRUB is tied to the 8.10 partition, and not the 8.04)

I recommend always having a partition just for data---this can be linked in to whatever OS you install. (Especially useful if you are multi-booting several OSes.)

7ser23 11-01-2008 12:32 PM

thank you for your answers, I always had partitions for data and OS when I used windows, but I was never able to do that in linux, if you could guide me on how to uninstall kubuntu 8.04 and keep the home folder in that partition that way I don't have to move my home folder to the partition where I installed kubuntu 8.10. Thanks

7ser23 11-01-2008 12:35 PM

thanks jay73, but if I do that, kubuntu 8.04 will still appear in the grub? as I was saying I would like to keep only kubuntu 8.10, Thanks

jay73 11-01-2008 12:54 PM

Well, yes, it would still appear in GRUB but it would be only a title that does not cover anything so it could be removed manually without any problem.
But as I said, if 8.04 did not use separate partitions, things would be a bit more difficult. In that case, you could:
a) create a new, empty directory and copy the files from your home
b) keep using the partition after deleting all directories except /home (you'd also need to move the files up one level).

7ser23 11-02-2008 12:17 AM

Quote:

Originally Posted by jay73 (Post 3328346)
Well, yes, it would still appear in GRUB but it would be only a title that does not cover anything so it could be removed manually without any problem.
But as I said, if 8.04 did not use separate partitions, things would be a bit more difficult. In that case, you could:
a) create a new, empty directory and copy the files from your home
b) keep using the partition after deleting all directories except /home (you'd also need to move the files up one level).

hi and thanks for the answer, I was able to do everything with 3 partition to my disk everything runs fine, but now I would like to edit my grub because I only have ubuntu 8.10 in my pc but kubuntu 8.04 stills appear hope u can help me

Thanks Ser

jay73 11-02-2008 06:27 AM

sudo gedit /boot/grub/menu.lst

and remove the lines that point to the 8.04 install.

7ser23 11-03-2008 12:11 AM

Quote:

Originally Posted by jay73 (Post 3328973)
sudo gedit /boot/grub/menu.lst

and remove the lines that point to the 8.04 install.

Thank you, solved :) u rock, thanks for your time


All times are GMT -5. The time now is 01:42 PM.