Page 1 of 1

[SOLVED] Install Issue

Posted: Sun Jan 12, 2020 4:19 pm
by aaronleishman
I installed on my Asus laptop and it won't boot from my hard drive.... When I boot my laptop it boots to my BIOS blue screen. For the laptop to boot to my live usb stick I had to disable the Ueif and enable CSM... I'm completely lost on what I need to fix so it will boot from my laptop

I did more research and noticed my partitions I don't have a boot flag from what I can see.. I'm reading this correctly? If so how can I fix this?

Code: Select all

$sudo sfdisk -1
Gave me this:

Code: Select all

Model: MMC BGND3R (sd/mmc)
Disk /dev/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system     Flags
 1      1049kB  27.9GB  27.9GB  primary  ext4
 2      27.9GB  30.1GB  2147MB  primary  linux-swap(v1)

Re: Install Issue

Posted: Sun Jan 12, 2020 4:57 pm
by dolphin_oracle
is your laptop UEFI only or does it have a legacy boot option?

For my money, I usually disable all csm (compatiblity mode on some systems) options and go either UEFI only or Legacy/Bios Only.

its much less confusing...

Re: Install Issue

Posted: Sun Jan 12, 2020 5:05 pm
by fehlix
aaronleishman wrote: Sun Jan 12, 2020 4:19 pm I installed on my Asus laptop and it won't boot from my hard drive.... When I boot my laptop it boots to my BIOS blue screen. For the laptop to boot to my live usb stick I had to disable the Ueif and enable CSM... I'm completely lost on what I need to fix so it will boot from my laptop

I did more research and noticed my partitions I don't have a boot flag from what I can see.. I'm reading this correctly? If so how can I fix this?
Some CSM/BIOS boot modes do ignore a potential Disk if a boot-flag is missing at the disk.
To fix: Open Gparted and mark the first ext4 partition, which you have used as the root-partition with a boot-flag.
Also, when you run the installer, you have to choose MBR of /dev/mmcblk0 as GRUB MBR target.

Re: Install Issue

Posted: Mon Jan 13, 2020 9:55 pm
by aaronleishman
To fix: Open Gparted and mark the first ext4 partition, which you have used as the root-partition with a boot-flag.
Also, when you run the installer, you have to choose MBR of /dev/mmcblk0 as GRUB MBR target.
Ok, I got the boot flag entered and went through the installation process and chose MBR on /dev/mmcblk0 but it still won't boot.

Code: Select all

Device         Boot    Start      End  Sectors  Size Id Type
/dev/mmcblk0p1 *        2048 56813567 56811520 27.1G 83 Linux
/dev/mmcblk0p2      56813568 61007871  4194304    2G 83 Linux
The reason why I choose CSM in the BIOS because my live USB stick won't boot unless it is set to CSM.

Re: Install Issue

Posted: Mon Jan 13, 2020 10:33 pm
by JayM
Have you looked at the wiki article on UEFI https://mxlinux.org/wiki/system/uefi/ and the three links at the bottom of it?

Also, what program did you use to burn MX to your USB stick and in what operating system?

Re: Install Issue

Posted: Mon Jan 13, 2020 11:22 pm
by aaronleishman
JayM » Mon Jan 13, 2020 9:33 pm
Have you looked at the wiki article on UEFI https://mxlinux.org/wiki/system/uefi/ and the three links at the bottom of it?
Yes I did. My Bios doesn't have a whole lot of options.
For it to boot from my USB flash drive I had too do the following:
Secure Boot: Disable
Fast Boot: Disable
CSM: Enable
Also, what program did you use to burn MX to your USB stick and in what operating system?
I used the program "Universal USB Installer" on Windows 10.

Re: Install Issue

Posted: Mon Jan 13, 2020 11:36 pm
by JayM
aaronleishman wrote: Mon Jan 13, 2020 11:22 pm
JayM » Mon Jan 13, 2020 9:33 pm
Have you looked at the wiki article on UEFI https://mxlinux.org/wiki/system/uefi/ and the three links at the bottom of it?
Yes I did. My Bios doesn't have a whole lot of options.
For it to boot from my USB flash drive I had too do the following:
Secure Boot: Disable
Fast Boot: Disable
CSM: Enable
You want CSM disabled.
Also, what program did you use to burn MX to your USB stick and in what operating system?
I used the program "Universal USB Installer" on Windows 10.
That's probably why you can't boot the USB in UEFI mode. Download Rufus and use it as recommended in the MX manual's installation instructions.
https://rufus.ie/

Or another trick you can try: boot from your current USB stick and at the boot menu boot with the "toram" option, which I think is under the F4 menu. Then run MX Tools/MX Live USB Maker and slect the option to clone your current live system (in full-feature mode) to the same USB stick. Try booting from that and see if it comes up in UEFI mode.

Re: Install Issue

Posted: Mon Jan 13, 2020 11:42 pm
by junoluna
rufus has never failed me but can you tell me why universal usb installer may not work?

it is recommended by a lot of other distros

sorry if this is off track ... i thought i had something to add after installing on a friend's laptop but that was acer not asus

Re: Install Issue

Posted: Mon Jan 13, 2020 11:53 pm
by asqwerth
See the Notes #4 on this page: https://mxlinux.org/download-links/

"..If you want to create a USB on a Windows base, we suggest you use Rufus, which supports our bootloader."

I'm guessing Rufus is a pure image writer like the dd command, so that will definitely work. Remember the antiX/MX live system is more advanced than most other distros' live booting systems. Because of that, Windows-based USB writers that use some "tricks" in writing iso files to USB may not be compatible with our live system.

Re: Install Issue

Posted: Mon Jan 13, 2020 11:55 pm
by JayM
junoluna wrote: Mon Jan 13, 2020 11:42 pm rufus has never failed me but can you tell me why universal usb installer may not work?

it is recommended by a lot of other distros

sorry if this is off track ... i thought i had something to add after installing on a friend's laptop but that was acer not asus
One, I'm unfamiliar with universal USB installer and I am familiar with rufus and know that it works, and two, rufus is one of the known few Windows-based USB-burning apps that's compatible with the antiX/MX live boot system and can make full-featured live USBs, and three, as the OP is having issues booting in UEFI mode and has used something other than the recommended method to burn the iso to his USB I suspect that unfamiliar USB burner is what's causing his booting/installing issues.

Re: Install Issue

Posted: Tue Jan 14, 2020 12:00 am
by junoluna
thanks for the answers asqwerth and jay

i will get out of here and let the clever people help the OP fix his install ... rufus sounds like a good starting point

Re: Install Issue

Posted: Wed Jan 15, 2020 10:39 pm
by aaronleishman
Thanks everyone for the help and the input. Rufus did the trick, and installed it using UEIF instead of CSM in BIOS.
I going to mark this thread solved.