Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: How to remove Lubuntu?

  1. #1
    beew is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2010
    Beans
    2,785

    How to remove Lubuntu?

    I installed Maverick in an old machine. I then decided to see if there is significant performance gain if I installed Lubuntu instead. So I created a dual boot with Lubuntu 10.04 in another partition for testing. Now I want to remove Lubuntu and give the whole hard disk back to Maverick

    If I just delete Lubuntu with gparted (using a live usb) I think I would run into problems because I need to restore grub2 to maverick. I read about it briefly but forget how to do it (haven't done that before)

    Please tell me what the proper procedure is. Thanks.

  2. #2
    Join Date
    Feb 2008
    Beans
    5,636

    Re: How to remove Lubuntu?

    While in Maverick, use gparted to format the lubuntu partitions expand the maverick ones. Don't interrupt gparted at any cost.
    After that, open terminal and give
    Code:
    grub
    then
    Code:
    grub install /dev/sda
    Replace /dev/sda with the appropriate partition - i.e. where do you want grub to be installed.
    Finally
    Code:
    sudo update-grub

  3. #3
    beew is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2010
    Beans
    2,785

    Re: How to remove Lubuntu?

    Thanks. Will try that when I get home.

  4. #4
    Join Date
    Oct 2009
    Beans
    3,907
    Distro
    Lubuntu

    Re: How to remove Lubuntu?

    Hello my friend

    Did you install Lubuntu's boot loader in the MBR?

  5. #5
    beew is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2010
    Beans
    2,785

    Re: How to remove Lubuntu?

    Hi,

    I think so. I carved out a small partition for it with gparted and then install Lubuntu in that partition, choosing manual installation so I could create a /root and /home partitions( I was preparing for a possibility that I might keep Lubuntu instead of Maverick. But it turned out I could get the same performance gain by simply switching between compiz and openbox and removing pulseaudio in Maverick)

    On the boot screen the Lubuntu option appears on top and system would automatically boot into it if I do nothing. So it seems that Lubuntu's bootloader was installed.

  6. #6
    Join Date
    Oct 2009
    Beans
    3,907
    Distro
    Lubuntu

    Re: How to remove Lubuntu?

    Quote Originally Posted by beew View Post
    Hi,

    I think so. I carved out a small partition for it with gparted and then install Lubuntu in that partition, choosing manual installation so I could create a /root and /home partitions( I was preparing for a possibility that I might keep Lubuntu instead of Maverick. But it turned out I could get the same performance gain by simply switching between compiz and openbox and removing pulseaudio in Maverick)

    On the boot screen the Lubuntu option appears on top and system would automatically boot into it if I do nothing. So it seems that Lubuntu's bootloader was installed.
    If you didn't choose where to install the boot loader so yes, most likely it was installed in the MBR.

    Hope you'll be able to fix it as per the steps mentioned above

  7. #7
    beew is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2010
    Beans
    2,785

    Re: How to remove Lubuntu?

    Quote Originally Posted by TeoBigusGeekus View Post
    While in Maverick, use gparted to format the lubuntu partitions expand the maverick ones. Don't interrupt gparted at any cost.
    After that, open terminal and give
    Code:
    grub
    then
    Code:
    grub install /dev/sda
    Replace /dev/sda with the appropriate partition - i.e. where do you want grub to be installed.
    Finally
    Code:
    sudo update-grub

    I just deleted Lubuntu. When I typed "grub", it said package not installed. So I installed it and tried again and after typing grub I got a prompt that looks like grub> When I entered "grub install /dev/sda1" it said "command not found". I entered just "install /dev/sda1" and still the same.

    Now I am going to reboot and will find out whether it works or not.

  8. #8
    Join Date
    Feb 2008
    Beans
    5,636

    Re: How to remove Lubuntu?

    My mistake, sorry... It should be
    Code:
    sudo grub-install /dev/sda
    Even if you can't boot, you can easily do it with a live cd.

  9. #9
    beew is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jun 2010
    Beans
    2,785

    Re: How to remove Lubuntu?

    Ok, bad news. It doesn't work. I rebooted and get a black screen with the line "error: no such partition"
    and the prompt
    grub rescue>
    Someone please rescue me.

  10. #10
    Join Date
    Feb 2008
    Beans
    5,636

    Re: How to remove Lubuntu?

    Again
    Code:
    sudo grub-install /dev/sda
    where /dev/sda is the hd you want to install grub to.

Page 1 of 3 123 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
  •