Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: How to uninstall Xubuntu 12.04 and GRUB?

  1. #1
    Join Date
    Nov 2009
    Location
    Port Townsend, WA. USA
    Beans
    110

    How to uninstall Xubuntu 12.04 and GRUB?

    How to uninstall Xubuntu 12.04 and GRUB v1.99-2lubuntu3.7 ?
    What next to try?

    I installed XUbuntu 12.04 along side Ubuntu 10.04
    I installed XUbuntu 12.04 from a Live CD.
    I accepted all the upgrade/updates offered after the install.
    The OS booted from GRUB menu at startup. No bootup issues.
    I now want to uninstall XUbuntu 12.04 and remove GRUB screen.

    Note: I have tried these terminal scripts by entering them from Ubuntu 10.04 installed, XUbuntu 12.04 installed, XUbuntu 12.04 live CD uninstalled.

    I have tried *removing* with terminal command from: http://www.psychocats.net/ubuntu/pureubuntuprecise
    No luck.
    I have tried *purging* with terminal command from: http://askubuntu.com/questions/92084...op/92089#92089
    sudo apt-get autoremove --purge xubuntu-* && sudo apt-get autoremove --purge xfce*
    Partial luck.
    This last command purged some of the OS but not all.
    The desktop still exists.

    In addition, Grub v1.99-2lubuntu3.7 screen continues to appear at startup.
    Grub displays and boots:
    Ubuntu with Linux 3.2.0.35-generic ED Note: this is XUbuntu 12.04
    Ubuntu with Linux 3.2.0.35-generic (recovery mode)
    Previous Linux Versions
    Memory Test
    Ubuntu with Linux 2.6.32-45-generic ED Note: this is Ubuntu 10.04
    Ubuntu with Linux 2.6.32-45-generic (recovery mode)

    The two above lines repeat multiple times on remainder of screen.

    QUESTION: How do I completely rid the machine of XUbuntu 12.04? (without loosing Ubuntu 10.04)
    and,
    How do I remove the GRUB screen?


    Previous to this adventure, Ubuntu 10.04 booted beautifully, in full purple splendor, directly to the OS without intervention from GRUB.
    Ubuntu 10.04 has worked perfect for 3 years. Thank you Lucid Lynx developers. The system has been a pleasure to use.

    The Machine in use is a ZaReason Big Lap with 3 gigs of RAM, 150 gigs storage, Intel Celeron M CPU 410@1.46GHz.

    Here is a screenshot of the file system and GRUB configuration text.
    I had setup two extra partitions to accept X12.04 and U12.04 (never got that far with U12.04) but deleted them in hopes of ridding the machine of XUbuntu 12.04.

    PS-Ubuntu 10.04 appears to be uneffected by the various attempt to purge the machine of XUbuntu 12.04.
    Yes, I have backed up data.

    Thank you in advance for any guidance you can give.

    --
    Sky
    Attached Images Attached Images
    Last edited by Sky Aisling; January 5th, 2013 at 02:43 AM. Reason: Accidently hit the *enter* key, plus spelling error

  2. #2
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    Do you have only one disk, /dev/sda?

    It's simple. Boot yuor 10.04 and open terminal and execute:
    sudo grub-install /dev/sda

    Under assumption the disk you use is /dev/sda. That will install the grub2 from 10.04 as the main bootloader on the MBR.

    After that you can simply open Gparted in 10.04 and delete the Xubuntu partitions. When you are done deleting them, run:
    sudo update-grub

    To clear the grub2 menu from Xubuntu. That's it.

    Later you can either expand the 10.04 partition to include the unallocated space created when you deleted Xubuntu, or simply make a new ext4 partition and use it in 10.04 because sometimes expanding partitions is risky.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  3. #3
    Join Date
    Nov 2009
    Location
    Port Townsend, WA. USA
    Beans
    110

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    darkod,
    Thank You!
    Yes, the machine has one disk, /dev/sda.
    Yes, your suggestion worked perfect, there is no more GRUB screen showing at boot up. The system goes directly to Ubuntu 10.04 as it's done for years.

    It's simple. Boot yuor 10.04 and open terminal and execute:
    sudo grub-install /dev/sda
    In addition you wrote:

    After that you can simply open Gparted in 10.04 and delete the Xubuntu partitions. When you are done deleting them, run:
    sudo update-grub
    Prior to installing XUbuntu 12.04 this is what I did to prepare the disk:
    Originally, the entire disk c.a. 150 gb was dedicated to Ubuntu 10.04.
    I *resized* the sda1 from c.a. 150 gb to 30 gb with no issues. (I have small data collection and need only small storage space)
    I created two more 30 gb partitions leaving an unallocated space and a swap partition with no issues.


    The reason the two extra partitions were created is that in May 2013 the change-over to a new LTS OS occurs.
    I created the two partitions to have space for XUbuntu 12.04 and Ubuntu 12.04 so that I can try them out by May.
    Edit: Thank you Bucky Ball for the correction to the date of the new LTS release. My mistake. (see next post by Bucky Ball).

    The disk with the two new partitions plus the *resized* Ubuntu 10.04 partition did not show an extended /dev/sda2 partition prior to installing XUbuntu 12.04.
    Once I determined I wanted to uninstall XUbuntu 12.04, I did the various terminal entries as listed in my original post.
    I also deleted the two 30 gb partitions I had created to hold more OSes (this was a guess to try to rid the machine of XUbuntu 12.04 and regain original GRUB boot).
    Now that I installed and attempted to uninstall XUbuntu 12.04 the disk shows an extended partition on /dev/sda2. GParted shows it as *busy*.
    See screenshot below.

    Question: Is this extended partition where the remainder of XUbuntu is mounted? Shall I attempt to delete it?
    Attached Images Attached Images
    Last edited by Sky Aisling; January 5th, 2013 at 10:49 PM.

  4. #4
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    There is no changeover to a new LTS in 2013. There is no LTS released in 2013 actually. The current LTS is 12.04 LTS and has been released since April 2012. It is supported for five years, until 2017. the next LTS release will be 14.04 LTS. They happen every two years.

    You need to unmount any partitions you want to delete. You don't need to run code, purge, or anything tricky to get rid of Xubuntu. Boot from a LiveCD, unmount partition(s) in question, delete partitions, job done.
    Last edited by Bucky Ball; January 5th, 2013 at 10:46 PM.

  5. #5
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    I assume you still didn't delete any partition since the Gparted image is the same as the previous one.

    Your swap partition is now a logical partition inside the extended, so you will not be able to delete all of them since swap is in use.

    Are you sure there were no logical partitions when you had only 10.04? I ask this since it seems the 10.04 is the /dev/sda5 and that is a logical partition.

    In any case, it doesn't matter whether linux is running from primary or logical. You only have to be careful in planning the hdd and all partitions, nothing else.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  6. #6
    Join Date
    Nov 2009
    Location
    Port Townsend, WA. USA
    Beans
    110

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    Thank you for your timely response, darkod.

    I assume you still didn't delete any partition since the Gparted image is the same as the previous one.
    That is correct, I have not deleted any partitions since I did the restore of GRUB in 10.04 per this thread post.

    Are you sure there were no logical partitions when you had only 10.04?
    No, I am not sure there were no logical partitions with the original 10.04 setup.

    I am new to understanding partitioning. I am studying this tutorial in order to understand more clearly.
    http://ubuntuforums.org/showthread.php?t=282018

    Being the tidy sort that I am, I am concerned about the system holding unnecessary coding such as parts of XUbuntu. I find many references to bits and pieces of XUbuntu when I do a search of the *file system*. But, nothing in the search tells me which partition the left overs occupy. Perhaps my question should be how to tell the contents of the partition so that I know which partition I can take back to zero?

    When looking at the disk via GParted, it appears that sda6 (logical partition?) has some content and is not mounted. If the content is the remnants of XUbuntu then this logical partition can be deleted to eliminate XUbuntu entirely?
    Attached Images Attached Images

  7. #7
    Join Date
    Feb 2008
    Location
    In my skin.
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    Quote Originally Posted by Sky Aisling View Post
    If the content is the remnants of XUbuntu then this logical partition can be deleted to eliminate XUbuntu entirely?
    Yes.

  8. #8
    Join Date
    Nov 2009
    Location
    Port Townsend, WA. USA
    Beans
    110

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    If 'yes' then how do I tell what are the contents of sda6?

    I want to be sure I am deleting only XUbuntu code.

  9. #9
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    If you are posting the Gparted from running your 10.04, it clearly shows you the root of 10.04 is /dev/sda1. In that case Xubuntu is /dev/sda6 and should be OK to be deleted.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

  10. #10
    Join Date
    Nov 2009
    Location
    Segur De Calafell, Spain
    Beans
    11,660
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to uninstall Xubuntu 12.04 and GRUB?

    Well, you have only two linux partitions (except swap), so if one is 10.04 then the other has to be the Xubuntu.

    But if you like to see what is inside, open Nautilus (the file browser) in 10.04 and on the left side under Devices click on the 56GB partition. It will open and you can browse the content.

    Note that clicking on it will mount it so you can look inside so if you want to delete it right away, when you open Gparted it will have the keys symbol next to it. You have to right-click it, and select Unmount. Only after that you can delete it.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 12.04 LTS 64bit & Windows 7 Ultimate 64bit

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •