Page 1 of 2

Installing MX-21 over an existing MX-19 installation

Posted: Mon Nov 29, 2021 4:27 pm
by Falcon
I have an Acer desktop computer that has both Windows 7 and MX-19 installed in a dual-boot configuration. I want to replace the MX-19 install with MX-21. The following picture shows the current layout of the SSD:
Gparted.png
I inserted the MX-21 Live-USB drive and started up the computer. Then I started the Installer. I began to go through the install steps until I got to the one where I am supposed to specify where to install the OS. Since I wanted to overwrite the MX-19 installation, I chose sda5 ( which is in an extended partition on the drive). When I clicked Next, the following message window appeared:
Installer.png
I don't know what this message is telling me to do. Would it be better to just use Gparted to format the partition and then run the installer, or is there an easy way to continue on from here using the Installer?

Re: Installing MX-21 over an existing MX-19 installation

Posted: Mon Nov 29, 2021 5:45 pm
by Huckleberry Finn
Before clicking next, just click that box (next to 132.1 GB ) and select "root" ("Use For" root)

Re: Installing MX-21 over an existing MX-19 installation

Posted: Mon Nov 29, 2021 8:48 pm
by Falcon
I did as you instructed and the installation continued. When it got to the 95% point and was installing GRUB, a message window popped up telling me that the installation of GRUB had failed. Here's a screen shot:
GRUB1.png
I Aborted the installation and then ran MX Boot Repair and did a repair operation, but the installation still failed. Then I tried running MX Boot Repair while the installer was stopped at the failure point and then tried to proceed but still no success. I also used Boot Repair to reinstall GRUB, but had the same thing occur.

Once this failure occurs, the installation will not continue any further.

Re: Installing MX-21 over an existing MX-19 installation

Posted: Mon Nov 29, 2021 10:11 pm
by Gordon Cooper
Had a similar experience. I had forgotten to tell the installer where to pu Gtub. Ran the installer again and told it to put Grub at the end of the Boot
Record and all went well.

Re: Installing MX-21 over an existing MX-19 installation

Posted: Mon Nov 29, 2021 10:58 pm
by figueroa
The installer has become a swiss-army-knife of installers, and has thus become overly complex and difficult reading for some (many?) users. It's a "have cake and eat it too" situation.

Re: Installing MX-21 over an existing MX-19 installation

Posted: Tue Nov 30, 2021 3:12 am
by asqwerth
But the 'tell the installer where to put grub' bit of the installer is more or less the same, I could have sworn. That part hasn't changed.

Re: Installing MX-21 over an existing MX-19 installation

Posted: Tue Nov 30, 2021 6:41 am
by Huckleberry Finn
@Falcon . Any error messages when you tried MX Boot Repair ? Especially like this :

Installing for xxx platform.
grub-install: warning: Sector xx is already in use by the program `FlexNet'; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
Installation finished. No error reported.

(If yes, simply note the number of that sector and tell us)

(Also QSI on live session)

Re: Installing MX-21 over an existing MX-19 installation

Posted: Tue Nov 30, 2021 9:11 am
by Falcon
Here is the output of the MX Boot Repair utility. There is a warning generated as you can see, but the message window at the end states that the operation completed successfully.
Repair1.png
Repair2.png

Re: Installing MX-21 over an existing MX-19 installation

Posted: Tue Nov 30, 2021 9:56 am
by Huckleberry Finn
MX Live Session:
  • Code: Select all

    sudo dd if=/dev/zero of=/dev/sda bs=512 count=1 seek=18

    Code: Select all

    sudo dd if=/dev/zero of=/dev/sda bs=440 count=1
  • "MX Boot Repair" now (same way as in the picture you posted: MBR, sda, sda5 )

    Reboot into installed MX .


    Or (alternatively to MXBR):

    Menu => MX Tools => "Chroot Rescue Scan" it'll detect your installed MX, hit Enter, proceed, it turns into a terminal with this prompt

    chroot>

    Copy-paste - hit Enter:

    Code: Select all

    grub-install --force /dev/sda ; update-grub
    Reboot into installed MX .
________________________________________________________________________

(... Or, if you like, after applying the commands at step 1 , you can even reinstall to finish the installation this time to 100% )

P.S. In fact, just the 1st command is enough, 2nd one is just to make it a "clean job" :)

Re: Installing MX-21 over an existing MX-19 installation

Posted: Tue Nov 30, 2021 10:32 am
by Minux1
I'll wait until the bugs are ironed out.