How do I install manjaro kde over ubuntu in win 10 dual boot?

I have been running ubuntu 18.04 with windows 10 for a while. My laptop has a 500G HDD and 4GB ram. I have partitioned evenly for windows and ubuntu. Now I can backup Files from ubuntu. But I’m unsure of ways to totally remove it and its grub. I have usb image for manjaro ready. But I’m getting paranoid about any failure with bootloader.

Normally, just install Manjaro using the old Ubuntu partition and format it.
But since you’re paranoid (your words),

Is windows uefi or bios-legacy?
I assume your Ubuntu grub can boot up windows. If not, shout out now.

from Ubuntu terminal, lets take a look (print!) at your

sudo parted -l
sudo blkid
sudo efibootmgr
findmnt -s

All disks, do not omit, include error message and do all commands and print, not screen shots.

4 Likes

@gohlip is the expert in all things GRUB and installs. So you are in good hands…

Also wanted to also point out that I remember seeing the default Calamares having a replace partition option…

another option would be to… remove ubuntu, using the manjaro installer, boot back into windows, scan the hdd, defragment if needed, then proceed with manjaro instalation along side windows.

a fresh install is preferable, as ubuntu differs from manjaro and there might be some conflicts

but first of all, backup you data on an external device. make a full disk clone if you can, with clonezilla

sudo parted -l
Model: ATA ST500LT012-1DG14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  1050MB  1049MB  ntfs            Basic data partition          hidden, diag
 2      1050MB  1322MB  273MB   fat32           EFI system partition          boot, hidden, esp
 3      1322MB  2371MB  1049MB  fat32           Basic data partition          hidden
 4      2371MB  2505MB  134MB                   Microsoft reserved partition  msftres
 5      2505MB  352GB   349GB   ntfs            Basic data partition          msftdata
 8      352GB   394GB   42.0GB  ext4
 9      394GB   451GB   57.4GB  ext4
10      451GB   459GB   7975MB  linux-swap(v1)
 6      459GB   486GB   26.8GB  ntfs            Basic data partition          msftdata
 7      486GB   500GB   13.9GB  ntfs            Basic data partition          hidden, diag


Model: WD My Passport 25E1 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name         Flags
 1      1049kB  1000GB  1000GB  ntfs         My Passport  msftdata
sampath@nirvash:~$ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: LABEL="WINRE_DRV" UUID="64B00302B002DB06" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="ce45395a-5175-45c0-8c9e-c2a20ef4aa94"
/dev/sda2: LABEL="SYSTEM_DRV" UUID="7205-918A" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="4c2173b3-2dd4-41a3-b4e6-b4568de1aeb6"
/dev/sda3: LABEL="LRS_ESP" UUID="C808-BFDF" TYPE="vfat" PARTLABEL="Basic data partition" PARTUUID="ca2f88a3-847b-423a-9890-dcc78cf7deb3"
/dev/sda4: PARTLABEL="Microsoft reserved partition" PARTUUID="40c5b48c-ece6-449a-8ade-77208e805124"
/dev/sda5: LABEL="Windows8_OS" UUID="01D4777434199330" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="96c5c537-ba18-4aba-b6fc-35a03734f680"
/dev/sda6: LABEL="LENOVO" UUID="02709A16709A1091" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2965c026-72b9-4d9a-9840-0dc388a46fae"
/dev/sda7: LABEL="PBR_DRV" UUID="56740EB1740E9441" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="81e53df0-0be2-4fc8-bc0c-f22c44384d72"
/dev/sda8: UUID="6efb6ede-238e-49c2-bc56-023983ac4e68" TYPE="ext4" PARTUUID="b126e40c-dfd7-4050-84a0-b7ee00013285"
/dev/sda9: UUID="5093fca7-94c3-4889-a40b-23dc4fa5da7e" TYPE="ext4" PARTUUID="9a1ed18f-fbd7-4cab-85e0-b6553a0a15d2"
/dev/sda10: UUID="d5d50ab2-f574-44bc-9e29-d991db11f70f" TYPE="swap" PARTUUID="37dec356-acce-4674-b81b-3ddf0495bc41"
/dev/sdb1: LABEL="My Passport" UUID="BC20522C2051EE40" TYPE="ntfs" PARTLABEL="My Passport" PARTUUID="d6f3bec9-1fb3-472b-9499-e9c38072713d"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"
/dev/loop11: TYPE="squashfs"
/dev/loop12: TYPE="squashfs"
/dev/loop13: TYPE="squashfs"
/dev/loop14: TYPE="squashfs"
/dev/loop15: TYPE="squashfs"
/dev/loop16: TYPE="squashfs"
/dev/loop17: TYPE="squashfs"
/dev/loop18: TYPE="squashfs"
/dev/loop19: TYPE="squashfs"
/dev/loop20: TYPE="squashfs"
/dev/loop21: TYPE="squashfs"
/dev/loop22: TYPE="squashfs"
/dev/loop23: TYPE="squashfs"
/dev/loop24: TYPE="squashfs"
/dev/loop25: TYPE="squashfs"
/dev/loop26: TYPE="squashfs"
/dev/loop27: TYPE="squashfs"
sampath@nirvash:~$ sudo efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0005,2003,0004,2001,2002
Boot0000* EFI Network 0 for IPv4 (50-7B-9D-00-39-A2) 
Boot0001* EFI Network 0 for IPv6 (50-7B-9D-00-39-A2) 
Boot0003* ubuntu
Boot0004* Lenovo Recovery System
Boot0005* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
sampath@nirvash:~$ findmnt -s
TARGET    SOURCE                                    FSTYPE OPTIONS
/         UUID=6efb6ede-238e-49c2-bc56-023983ac4e68 ext4   errors=remount-ro
/boot/efi UUID=7205-918A                            vfat   umask=0077
/home     UUID=5093fca7-94c3-4889-a40b-23dc4fa5da7e ext4   defaults
none      UUID=d5d50ab2-f574-44bc-9e29-d991db11f70f swap   sw
sampath@nirvash:~$ 

Looks fine, assuming ubuntu grub boots windows. Install Manjaro in uefi mode, disable secure boot, select sda2 as /boot/efi, do not format sda2, select sda8 as /, format sda8 and you’re fine. swap, home optional.

A caution though, some Lenovo models are tied up with microsoft and needs extra handling.
To be sure, lets see your ‘sudo efibootmgr -v’ and see if Ubuntu (0003) uses shim.efi or grub.efi
If using shim.efi, you had installed ubuntu with secure boot enabled. Manjaro needs secure boot to be disabled and as said, some Lenovo models need some more extra handling after manjaro installation.

Good luck, cheers.

2 Likes

sudo efibootmgr -v

BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 0003,0005,2003,0004,2001,2002
Boot0000* EFI Network 0 for IPv4 (50-7B-9D-00-39-A2) PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(507b9d0039a2,0)/IPv4(0.0.0.00.0.0.0,0,0)RC
Boot0001* EFI Network 0 for IPv6 (50-7B-9D-00-39-A2) PciRoot(0x0)/Pci(0x1c,0x2)/Pci(0x0,0x0)/MAC(507b9d0039a2,0)/IPv6([::]:<->[::]:,0,0)RC
Boot0003* ubuntu HD(2,GPT,4c2173b3-2dd4-41a3-b4e6-b4568de1aeb6,0x1f4800,0x82000)/File(\EFI\ubuntu\shimx64.efi)
Boot0004* Lenovo Recovery System HD(3,GPT,ca2f88a3-847b-423a-9890-dcc78cf7deb3,0x276800,0x1f4000)/File(\EFI\Microsoft\Boot\LrsBootMgr.efi)RC
Boot0005* Windows Boot Manager HD(2,GPT,4c2173b3-2dd4-41a3-b4e6-b4568de1aeb6,0x1f4800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS…x…B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}…@$…
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC

shim I guess

Right, proceed with secure boot off.
But read this topic first in case you will need to do the extra things I said earlier about.
A read on this topic may give a background on the difficulties you may face. It is made more complicated on the new grub that we have. Take note of the 2 additional [UEFI Additional commands] you may have to do.

If you want to proceed, we are around but hopefully there will not be any difficulties with your Lenovo. Many Lenovo’s do not.

Good luck.

[EDIT] - Okay, found the topic that may make your workaround easier (if you have a troublesome Lenovo). This topic here makes use of Ubuntu shim that you have and instead of substituting windows efi file for Manjaro, we use the existing Ubuntu shim.efi instead for our Manjaro efi. The only bad thing is that our manjaro.efi file will be renamed Ubuntu.efi. :rofl:

Ok. But now I’m in a bit of a pickle. I formatted the Ubuntu partitions. Then I made a bootable USB but it ended with grub error saying unknown filesystem. I think my pendrive is defective but I’m not sure. I even tried those bootrec commands fixboot and something. Is there a way to install without USB or CD.

I think your install usb is not made right (but I don’t do usb boots).
If rufus, use ‘dd’ mode, not ‘iso’ mode.
But try using etcher, I hear many here are happy with it.

2 Likes

First have a look at this thread Can't boot an installer image and try to remake the installer USB follow the instructions there. :smiley:

1 Like

I did try etcher but it failed. I don’t know why but in the end after flashing it went to verifying then it failed.

Disabled secure boot?

I myself just installed Manjaro over Ubuntu just yesterday.

For the bootable USB, what worked for me was using Rufus “dd” mode as mentioned by @gohlip

As for replacing Ubuntu, the native installer from the live USB will have an option for you to replace your Ubuntu partition.

Using anything except Rufus or ‘dd-ing’ by yourself resulted with the grub unknown filesystem error as you mentioned.

I highly suggest Rufus!

I disabled it first. Then I erased Ubuntu partitions. Then went into advance startup and used cmd to run bootrec commands. Then finally I made bootdisk with usb.

Ok will try it and see.

Sounds like the write process failed the verification checks.

Make sure your image downloaded fully and correctly, and try another USB drive if you have one.

1 Like

Ok. I used DD option in Rufus. Now I went to advanced startup and selected the boot USB. It went into Manjaro boot this time. Thanks everyone. I’m installing it right now.

EDIT: Guys now its fully installed. Its awesome. It wouldn’t be without everyone’s assistance I could have done this. Thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.