install mx linux next to or in addition to windows on hard disk

When you run into problems installing MX Linux XFCE
Message
Author
User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: install mx linux next to or in addition to windows on hard disk

#11 Post by fehlix »

ink wrote: Wed May 24, 2023 1:46 pm @j2mcgreg i am not sure whether i got that right. does this mean i cannot install mx linux on a drive with windows 11 already preinstalled, so it will work and i can select mx linux or windows from a boot menu? in other words, do i have to decide either to continue using windows on that drive or to install mx linux which means windows would be deleted or at least cannot boot any more?
Have you tried to disabled secure boot with UEFI/system setup? It may work within win win11-home, as bitlocker may not have been fully enabled, so disabling secure boot might work. Which would than allow you to install and boot MX
and also select winOS within the GRUB-menu.

ink

Re: install mx linux next to or in addition to windows on hard disk

#12 Post by ink »

summarizing your information i come to the conclusion, the combination of (u)efi and secure boot and windows 11 (oem) has not made a dual boot installation easier and it is at least tricky, if not impossible to install mx linux next to windows 11 (oem) already preinstalled. in any case it cannot be done 'by normal means' without having to bypass problems, the computer being inconvenient or using a vm.
i searched the (u)efi menu for relevant entries:
'Main' tab
Network Boot: [Disabled]
F12 Boot Menu: [Enabled] it was disabled by default. i enabled it in order to boot the mx linux live usb which was not possible with 'Disabled'. When starting the computer with 'Enabled' no temporary boot menu (F12) was displayed and i think two secure boot errors were shown for max. a second, so i could not read in full but it boots the live usb properly.
Fast Boot: [Enabled]
D2D Recovery: [Enabled]
'Security' tab
Secure Boot Mode: Standard #it is inactive and inaccessible
Erase all Secure Boot Setting: [Enter] #inactive and inaccessible
Select an UEFI file as trusted for executing: [Enter] #inactive and inaccessible
Restore Secure Boot to Factory Default: [Enter] #inactive and inaccessible
'Boot' tab
Boot Mode: [UEFI] #inactive and inaccessible
Secure Boot: [Enabled] #inactive and inaccessible
Boot priority order:
1. Windows Boot Manager #it is apparently active and accessible. by default it read: 1. Linpus lite 2. Windows Boot Manager ,i do not know why one entry was deleted. i did not do that. it must have been done automatically. perhaps because of changing 'F12 Boot Menu' to 'Enabled' (see above) or booting the live usb?
perhaps i am going to backup my hard disk with all partitions using a partitioning software and create a brand new mx linux installation on it. is it safe, i can restore windows 11 with such a backup in the future, so it works and boots and may i ask questions regarding backups with non-linux software in this discussion?
Last edited by ink on Thu May 25, 2023 9:24 am, edited 2 times in total.

User avatar
fehlix
Developer
Posts: 12702
Joined: Wed Apr 11, 2018 5:09 pm

Re: install mx linux next to or in addition to windows on hard disk

#13 Post by fehlix »

ink wrote: Thu May 25, 2023 8:15 am 'Security' tab
Secure Boot Mode: Standard #it is inactive and inaccessible
If not have done already - post QSI (Quick System Info) from LiveUSB.
And depending what UEFI system Software is in use,
you may need first to add a Admin password with UEFI systum and reboot again int UEF Setup,
in order to change secure boot.

User avatar
j2mcgreg
Global Moderator
Posts: 6814
Joined: Tue Oct 23, 2007 12:04 pm

Re: install mx linux next to or in addition to windows on hard disk

#14 Post by j2mcgreg »

These are the steps you have to follow in order to install MX on your machine:

First, in Windows 11
(1)You should follow these instructions to create a Win 11 install drive:
https://forum.mxlinux.org/viewtopic.php ... 036#p72603
(2) manually back up your documents, bookmarks, addressbook etc to an external drive that you can access later. Automatic back up apps designed for Windows will almost certainly not work in MX
(3) you should download the ISO of the version of MX that you want for your install. Then download and use Rufus to write the ISO using GPT partitioning to a USB drive.
(4) you need to log in to your Microsoft account and obtain your BitLocker encryption keys --> write them down or print them out
(5) you need to disable BitLocker and Fast Start Up

In your computer's bios
(1) create an Administrator password in order to allow you to access the bios's advanced controls
(2) disable Secure Boot. Note that on some bioses you will also have to delete / disable the Windows 11 Secure Boot keys. If disabling Bitlocker didn't work or you forgot to do it, you will need the BitLocker encryption keys you obtained earlier in order to proceed
(3) insert your MX install drive
(4) save/exit the bios and proceed to install MX
(5) since this is your first install, you should choose the "automatic install using entire disk" option in the installer routine

If you decide later that MX is not for you, you can reinstall Win 11 by re-enabling Secure Boot in the bios and booting with the Win 11 install drive you created earlier. Your Win 11 licence key is hard coded on to your motherboard and BitLocker and Fast Start Up will be recreated by Win 11.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

ink

Re: install mx linux next to or in addition to windows on hard disk

#15 Post by ink »

@fehlix @j2mcgreg thank you very much for turning to me. yes. setting passwords as a prerequisite for making the entries become active and accessible and getting rid of secure boot. i hadn't thought of that. i'm going to check that. anyway, i think this is a good moment now to backup the hard disk because i'm a little afraid as one boot order entry was already automatically deleted and after all i've heard, yet, i expect the installation might get tricky, if possible, at all. i'd get back to this point in the discussion right after the backup. that's why i'd be glad if someone answered that:
how can i get the deleted boot entry back? @j2mcgreg '(1)You should follow these instructions to create a Win 11 install drive': are the chances of success to reinstall windows 11 in the future, so it boots and works greater if it's done with an install drive compared to restore a backup created by a partitioning software for windows of my whole hard disk with all partitions ? is it safe, i can reinstall windows 11, at all?

User avatar
j2mcgreg
Global Moderator
Posts: 6814
Joined: Tue Oct 23, 2007 12:04 pm

Re: install mx linux next to or in addition to windows on hard disk

#16 Post by j2mcgreg »

@ink
This is an MX Linunx forum and I am no expert on the Windows platform. The method I posted was what I used when I had to temporarily restore Win 11 on my HP 15 laptop because, at the time, it was too new for Linux. You should really post your question on re-installing on a Windows forum and cite the backup software you intend to use in order to get a definitive answer.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
FullScale4Me
Posts: 1079
Joined: Fri Jan 08, 2021 11:30 pm

Re: install mx linux next to or in addition to windows on hard disk

#17 Post by FullScale4Me »

j2mcgreg wrote: Thu May 25, 2023 9:38 am These are the steps you have to follow in order to install MX on your machine:

... Note that on some bioses you will also have to delete / disable the Windows 11 Secure Boot keys. ...
Doing this will remove the ability to return to Secure Boot should the user ever install a signed Linux Kernel.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

User avatar
j2mcgreg
Global Moderator
Posts: 6814
Joined: Tue Oct 23, 2007 12:04 pm

Re: install mx linux next to or in addition to windows on hard disk

#18 Post by j2mcgreg »

FullScale4Me wrote: Thu May 25, 2023 2:30 pm
j2mcgreg wrote: Thu May 25, 2023 9:38 am These are the steps you have to follow in order to install MX on your machine:

... Note that on some bioses you will also have to delete / disable the Windows 11 Secure Boot keys. ...
Doing this will remove the ability to return to Secure Boot should the user ever install a signed Linux Kernel.
True. Never-the-less, it it is the only choice on those machines if a user wants to install MX now.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
FullScale4Me
Posts: 1079
Joined: Fri Jan 08, 2021 11:30 pm

Re: install mx linux next to or in addition to windows on hard disk

#19 Post by FullScale4Me »

j2mcgreg wrote: Thu May 25, 2023 9:38 am These are the steps you have to follow in order to install MX on your machine:

First, in Windows 11

(4) you need to log in to your Microsoft account and obtain your BitLocker encryption keys --> write them down or print them out
(5) you need to disable BitLocker and Fast Start Up

To Disable BitLocker

1) Create a Microsoft Online account if you do not already have one.
https://onedrive.live.com/about/en-us/signin/

2) Log into your Microsoft account and locate the BitLocker key:

Click 'Devices'
Click 'See Details'
Click 'BitLocker Data Protection'
Click 'Manage Recovery Keys'

Write it down, copy it to a safe location (NOT this PC!), and print it out.

3) Go to Settings in Windows and turn off BitLocker.

If installing MX in Dual Boot goes awry, you will need the key from step #2 in order to proceed.

You will also need the key if you try to disable Secure Boot before you turn off BitLocker.

Alternately the BitLocker key is stored in Active Directory and Azure (if you use it) in your user profile.
Michael O'Toole
MX Linux facebook group moderator
Dell OptiPlex 7050 i7-7700, MX Linux 23 Xfce & Win 11 Pro
HP Pavilion P2-1394 i3-2120T, MX Linux 23 Xfce & Win 10 Home
Dell Inspiron N7010 Intel Core i5 M 460, MX Linux 23 Xfce & KDE, Win 10

ink

Re: install mx linux next to or in addition to windows on hard disk

#20 Post by ink »

i give up. Thank you for your effort.

Post Reply

Return to “Installation”