Peppermint OS

Support => New Users => Topic started by: penrose1950 on February 09, 2019, 09:39:47 am

Title: (SOLVED) Remove Manjaro xfce?
Post by: penrose1950 on February 09, 2019, 09:39:47 am
Hello I am running Peppermint 9 on my laptop and decided to install Manjaro xfce alongside Peppermint 9 to try it,I can't find my way around it like I can Peppermint so can someone please tell me how I can get rid of Manjaro and I am hoping I don't have to reinstall Peppermint as I have it just the way I like it?
Thank you.
Title: Re: Remove Manjaro xfce?
Post by: murraymint on February 09, 2019, 10:41:23 am
UEFI or BIOS?

If BIOS, which distro is in control of GRUB? Do you get a GRUB menu from Peppermint or Manjaro?
Title: Re: Remove Manjaro xfce?
Post by: pin on February 09, 2019, 10:41:54 am
Could you please post a screenshot of your partion layout on gparted?
The output of
Code: [Select]
sudo blkidwould help also.
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 10, 2019, 04:55:12 am
when i boot grub is Manjaro
/dev/sda1: UUID="42aa9c87-c1c5-4244-b5cb-75941c0aa920" TYPE="ext4" PARTUUID="f78028c8-01"
/dev/sda2: UUID="aa16153a-fcd5-40fe-a8bb-c8d26af23f6d" TYPE="ext4" PARTUUID="f78028c8-02"

thank you.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 10, 2019, 05:43:12 am
Boot into Peppermint, and post the output from:
Code: [Select]
sudo fdisk -land the contents of
Code: [Select]
xed /etc/fstabmake 100% SURE you're posting the above from within Peppermint.
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 10, 2019, 06:41:28 am
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf78028c8

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sda1  *         2048 488386560 488384513 232.9G 83 Linux
/dev/sda2       488386562 976771071 488384510 232.9G 83 Linux

Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 10, 2019, 06:43:10 am
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=42aa9c87-c1c5-4244-b5cb-75941c0aa920 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 10, 2019, 11:55:33 am
[EDIT]

IGNORE THIS POSTING, and see the one here instaed
https://forum.peppermintos.com/index.php/topic,8041.msg82245.html#msg82245

[END EDIT]

Okay first thing you're gonna want to do is make sure Peppermint is controlling GRUB.

So boot into Peppermint and run the following 2 commands:
Code: [Select]
sudo grub-install /dev/sdathen:
Code: [Select]
sudo update-grubnow you should be safe to install GParted:
Code: [Select]
sudo apt-get install gpartedand then use it to delete /dev/sda2 .. then to resize /dev/sda1 to fill the empty space.
Title: Re: Remove Manjaro xfce?
Post by: murraymint on February 10, 2019, 11:58:51 am
Can you use GParted to change anything on sda while you're running an OS off it already?
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 10, 2019, 12:16:16 pm
You should be able to, as long as it's not mounted.

Always a good idea to have a LiveUSB pre-made though .. just in case.
Title: Re: Remove Manjaro xfce?
Post by: pin on February 10, 2019, 12:22:22 pm
 :-\ but, ...if he is running Peppermint its partition will be mounted and can not be resized. He can of course use gparted from within the Peppermint install to remove Manjaro. But, to resize Peppermints own partition he will need a live-usb.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 10, 2019, 12:46:03 pm
Damn you're right .. oops  :-[

Okay let's redo that.....



Okay first thing you're gonna want to do is make sure Peppermint is controlling GRUB.

First create a Peppermint LiveUSB .. you're gonna need it later.

Now boot into Peppermint on the HDD in the normal way and run the following 2 commands:
Code: [Select]
sudo grub-install /dev/sdathen:
Code: [Select]
sudo update-grubNow you're going to need to boot to the LiveUSB you created earlier .. fire up Gparted, and then use it to delete /dev/sda2 .. then to resize /dev/sda1 to fill the empty space.

Then shut down, remove the LiveUSB and boot up the PC .. you should end up in Peppermint.
Title: Re: Remove Manjaro xfce?
Post by: scifidude79 on February 10, 2019, 03:38:33 pm
After you delete Manjaro, be sure to update GRUB again to remove the boot entries.
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 04:28:25 am
How do I create a live Peppermint usb please?
If I can't manage to follow all the instructions I will just do a clean install of Peppermint 9 again.
Thank you.
Title: Re: Remove Manjaro xfce?
Post by: pin on February 11, 2019, 04:46:52 am
A live-usb is what you, most probably used to install the OS in the first place.
Anyway, download the install image and verify the md5sum/sha256sum. Insert an usb, right click the image you've just downloaded and choose create bootable usb. Let the operation finish and reboot from the usb.
Now, instead of install, choose 'Try Peppermint' and you're in the live system.
Ask again if something is unclear.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 11, 2019, 05:09:39 am
What pin said.

If you boot to a Peppermint USB stick (or DVD) and select "Try Peppermint", then you're in a "Live" environment.
Title: (SOLVED) Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 05:09:49 am
Thank you,I used a DVD to install Peppermint 9.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 11, 2019, 05:11:56 am
It doesn't need to be a USB, a DVD is also a "Live" environment .. so where I said "LiveUSB" just swap that for "LiveDVD" and you'll be good :)
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:04:00 am
thank you i  have updated grub and deleted  /dev/sda2 and i have gone to gparted  but i dont know what to resize to ?

Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:05:32 am
(https://forum.peppermintos.com/home/john/Pictures/Screenshot_2019-02-11_14-02-13.png)
Title: Re: Remove Manjaro xfce?
Post by: pin on February 11, 2019, 06:07:01 am
Your picture is broken.
Please use an external host for your pictures, imgur for example.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 11, 2019, 06:09:58 am
See here
https://forum.peppermintos.com/index.php/topic,4284.msg42728.html#msg42728
or watch this

https://www.youtube.com/watch?v=us4rG5UUHmE
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:13:56 am
(https://forum.peppermintos.com/home/john/Pictures/Screenshot_2019-02-11_14-02-13.png)
Title: Re: Remove Manjaro xfce?
Post by: pin on February 11, 2019, 06:16:05 am
Still can't see it.
Can you upload it on imgur and provide a link?
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:17:18 am
http://imgbox.com/EQjQeD1W

(https://images2.imgbox.com/49/bc/EQjQeD1W_o.png)
Title: Re: Remove Manjaro xfce?
Post by: pin on February 11, 2019, 06:23:12 am
I can't tell you how large you might want it.
Mark /dev/sd1 and choose Partition -> Resize.
Now, you can move the slider to the right until you're happy with the size. The press aply and wait until it finishes doing it's job.
Remember don't move the start of the partition!  ;)
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:34:32 am
thank you i have resized and this is what i have now,just got to update grub again.

http://imgbox.com/T2lZDa9l

(https://images2.imgbox.com/89/f4/T2lZDa9l_o.png)
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 11, 2019, 06:36:40 am
And does the system boot now ?

If so, you're done.



If not and grub is now broken, boot back to the LiveUSB/LiveDVD and run these commands in sequence:
Code: [Select]
sudo mount /dev/sda1 /mntthen
Code: [Select]
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; donethen
Code: [Select]
sudo chroot /mntthen
Code: [Select]
grub-install /dev/sdathen
Code: [Select]
update-grubThen hit Ctrl+D to exit the chroot environment.

and finally reboot without the LiveUSB/LiveDVD
Title: Re: Remove Manjaro xfce?
Post by: penrose1950 on February 11, 2019, 06:45:05 am
thank you everyone for the help i have rebooted and all back to normal.
Title: Re: Remove Manjaro xfce?
Post by: PCNetSpec on February 11, 2019, 06:59:13 am
Great stuff :)

Can you please remember to mark the topic (SOLVED) .. TIA :)