LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-30-2006, 02:06 PM   #1
Gutya
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Rep: Reputation: 0
Removing Ubuntu Correctly


I have Windows XP on hda1 and Ubuntu on hda2 and then Ubuntu on hdb1.

I installed it origionally on hda2 as a test run, and quite like it, so now I've got a bigger hardrive and have installed Ubuntu on it, and set it up the way I like it, so I don't need the origional anymore. I was gonna just format the partition, but I doubt thats the correct way, and probably would mess up GRUB. So basically I would like to know how I can remove Ubuntu from hda2 properly.

Also, as a smaller related qestion, when I first installed Ubuntu, it had one entry in the GRUB loader (with memtest also), but since automatic updates where installed it added another. Why is this?
 
Old 08-30-2006, 03:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by Gutya
I have Windows XP on hda1 and Ubuntu on hda2 and then Ubuntu on hdb1.

I installed it origionally on hda2 as a test run, and quite like it, so now I've got a bigger hardrive and have installed Ubuntu on it, and set it up the way I like it, so I don't need the origional anymore. I was gonna just format the partition, but I doubt thats the correct way, and probably would mess up GRUB. So basically I would like to know how I can remove Ubuntu from hda2 properly.
Just check the grub config in the new version, make sure
to run grub-install when it suits your needs; then, depending
on which OS you want to make use of the old Ubuntu installs
partition, either leave it as it is (e.g. for the new ubuntus download
space), or fire up fdisk and change it to a partition type that
winDOHs can handle...


Quote:
Originally Posted by Gutya
Also, as a smaller related qestion, when I first installed Ubuntu, it had one entry in the GRUB loader (with memtest also), but since automatic updates where installed it added another. Why is this?
Because it preserves the old kernels. You can (once the
functionality of the new one is established) remove those
from grub's config.



Cheers,
Tink
 
Old 09-02-2006, 11:39 AM   #3
Gutya
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Original Poster
Rep: Reputation: 0
I don't quite understand. Could you or someone else please explain?

Basically I want to remove my old Ubuntu and keep my Windows XP and other Ubuntu intact.
 
Old 09-02-2006, 02:50 PM   #4
galego
LQ Newbie
 
Registered: Aug 2006
Posts: 21

Rep: Reputation: 15
if you installed from the live cd, and the last thing you installed was ubuntu (the new one onto the other HD)and you are using GRUB from the ubuntu-new then your GRUB should be fine, so now you need to remove the partition in which the original ubuntu (ubuntu-old) is living. if ubuntu-old was installed into an extended partition then make sure you belete the block that is inside the extended partition containing ubuntu-old NOT the WHOLE thing and that is all you need to do. just make sure you remove ONLY the block where ubuntu-old is. then removing the GRUB entry from ubuntu-new by

[code]
sudo gedit menu.lst

and just either comment out the entry or delete it. ALWAY MAKE A BACK UP BEFORE YOU CHANGE ANYTHING!!!!!
 
Old 09-02-2006, 02:51 PM   #5
galego
LQ Newbie
 
Registered: Aug 2006
Posts: 21

Rep: Reputation: 15
if you installed from the live cd, and the last thing you installed was ubuntu (the new one onto the other HD)and you are using GRUB from the ubuntu-new then your GRUB should be fine, so now you need to remove the partition in which the original ubuntu (ubuntu-old) is living. if ubuntu-old was installed into an extended partition then make sure you belete the block that is inside the extended partition containing ubuntu-old NOT the WHOLE thing and that is all you need to do. just make sure you remove ONLY the block where ubuntu-old is. then removing the GRUB entry from ubuntu-new by

[code]
sudo gedit menu.lst

and just either comment out the entry or delete it. ALWAY MAKE A BACK UP BEFORE YOU CHANGE ANYTHING!!!!!
 
Old 09-02-2006, 02:56 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
I don't quite understand. Could you or someone else please explain?

Basically I want to remove my old Ubuntu and keep my Windows XP and other Ubuntu intact.
You still only have one ubuntu. But you can choose to use varied
kernels with different options for running it.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
MBR recovery problems after removing ubuntu, i have been very stupid! peter rus Linux - Software 11 02-17-2006 07:55 AM
Removing Ubuntu oneclu Ubuntu 3 01-14-2006 01:24 PM
Can't download Ubuntu .iso correctly - Checksum is all wrong Konradman Ubuntu 5 11-26-2005 03:59 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration