LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-28-2019, 11:26 PM   #16
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2

sorry, double post.

Last edited by Klaas Vaak; 06-28-2019 at 11:30 PM.
 
Old 06-28-2019, 11:29 PM   #17
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
@rokytnji: yes, it is a UEFI machine, but in BIOS I set the Boot to Legacy. When it came to installing antiX I choose the Legacy route from the Boot menu.
On the Linux Mint forum I was told explicitly not make a separate boot partition - this was for another installation.
 
Old 06-29-2019, 06:28 AM   #18
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by rokytnji View Post
Also. When you picked auto install. I guess you found the bug where the auto installer saw the live usb as sda.
Yes, that's true, it did that, but I saw it and used the drop-down and selected the eMMC drive.

Quote:
Not sure on your gear. But usually you need a boot partition on UEFI gear as I found out when I fixed my wifes broken Asus Laptop.

https://forum.mxlinux.org/viewtopic.php?f=107&t=50525
I read the comments in that thread, and this is what gets me with antiX: the acrobatics one needs to go through to get the thing installed and set up properly. To use the car analogy: you need to be a mechanic to drive the car. Why can't there be a proper, bugless auto install? From this point of view MX isn't any better than antiX, judging from your experience.

Last year I installed both antiX and MX in a VM without any problems. Installing it on bare metal is a different kettle of fish, obviously.
 
Old 06-29-2019, 07:30 AM   #19
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by Klaas Vaak View Post
... Last year I installed both antiX and MX in a VM without any problems. Installing it on bare metal is a different kettle of fish, obviously.
Only on your hardware, unfortunately. The vast majority of users do not have issues installing antiX.
 
Old 06-29-2019, 07:43 AM   #20
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by anticapitalista View Post
Only on your hardware, unfortunately. The vast majority of users do not have issues installing antiX.
Great, so what is your suggestion? How can I resolve my unique problem?
 
Old 06-29-2019, 07:59 AM   #21
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
Legacy booting on)
Quote:
Having confirmed that, it rebooted but then got stuck on a black screen with some text, and the message that no bootable device was detected,
The grub boot-loader and with gpt type disk needs a 2mb cleared/unformatted partition flagged as bios-grub when booting in legacy mode.

to try and fix without reinstalling, boot the live usb, use gparted to create the 2mb bios-grub partition, then
Code:
run grub-install /dev/sda
This is assuming /dev/sda is your internal hard drive

Some bios will not allow booting an internal gpt disk in legacy mode, only in efi mode. If that is the case and you want to boot in legacy mode will need to recreate your partition table as msdos. To boot in efi mode need a 200-300mb partition formatted as fat32 and flagged as esp mounted at /boot/efi

Last edited by colorpurple21859; 06-29-2019 at 08:09 AM.
 
Old 06-29-2019, 08:36 AM   #22
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Thanks for your response, colorpurple21859/

Quote:
Originally Posted by colorpurple21859 View Post
The grub boot-loader and with gpt type disk needs a 2mb cleared/unformatted partition flagged as bios-grub when booting in legacy mode.
I did that. I was not sure if you meant by "flagged" the partition name or the label. I choose the bios-grub as "label".

Quote:
to try and fix without reinstalling, boot the live usb, use gparted to create the 2mb bios-grub partition, then
Code:
run grub-install /dev/sda
This is assuming /dev/sda is your internal hard drive
sda = "mmcblk0p3", being the newly created 2MB bios-grub partition.

Output:
Code:
run: "command not found"
OK, so I did:
Code:
grub-install /dev/mmcblk0p3
Output:
Code:
Installing for i386-pc platform.
grub-install: error: cannot open directory '/boot/grub/i386-pc': No such file or directory
Quote:
Some bios will not allow booting an internal gpt disk in legacy mode, only in efi mode. If that is the case and you want to boot in legacy mode will need to recreate your partition table as msdos. To boot in efi mode need a 200-300mb partition formatted as fat32 and flagged as esp mounted at /boot/efi
I do not necessarily want to boot in Legacy mode, but since antiX was installed in Legacy mode, I guess that's what I have to do, right? Or, alternatively, I would have to reinstall yet again, except this time in UEFI mode. What is wise/best?
 
Old 06-29-2019, 09:48 AM   #23
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
flagged as bios-grub,
Code:
sudo apt install grub-pc 
grub-install /dev/mmcblk0
you grub-install to the drive, not the bios-grub paritition.

Last edited by colorpurple21859; 06-29-2019 at 09:53 AM.
 
Old 06-29-2019, 10:30 AM   #24
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
For my understanding, please tell me:
Quote:
Originally Posted by colorpurple21859 View Post
flagged as bios-grub,
Did I do right to give the new partition the label as bios-grub, instead of the name?

I did:
Quote:
Code:
sudo apt install grub-pc
Output:
Code:
sudo: apt-install: command not found
So I tried:
Code:
apt-install grub-pc
Output:
Code:
bash: apt-install: command not found
 
Old 06-29-2019, 12:22 PM   #25
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

I spent some time a couple of years ago experimenting with installing Linux Mint to the Linx range of tablets.. each of these had eMMC storage which was detected and used perfectly fine by the Mint installer. A short while after this, I was asked by someone to see if I could install Mint to their "noname" Chinese tablet. The eMMC storage wasn't detected by the installer but a little research showed that the latest Linux kernel (at that time) did have support.

What I did was this.. I installed Mint to an external USB drive which was attached to the tablet's USB port (via a USB hub. A keyboard, a trackball and a wifi dongle also connected here).
After installing the latest kernel with ukuu, a reboot showed that the eMMC storage was then detected.

I then copied each partition contents across. Finally, I resized the system partition, checked the boot flags and that the fstab entries were correct.

A reboot with the external hardware disconnected resulted in a nearly fully functional tablet. Everything except automatic screen rotation..

Bodge99.
 
Old 06-29-2019, 12:38 PM   #26
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Hey Bodge99, thanks for jumping in.

I am impressed with your inventiveness and success. Since I could not get anything else than antiX reinstalled, I did so a couple of times now, though I still cannot get it to boot. AntiX seems to be there, installed, but the problem now seems to be Grub: either not installed or installed in the wrong place.

I have a feeling that somehow antiX, maybe with the very 1st poor installation, has "monopolised" the eMMC drive so I cannot put any other OS on it. What I am hoping for is that I can get it fixed this time, or, better still, that someone can tell how to force-wipe the eMMC drive so I can install something like Xubuntu. Even Mint might be OK, though I think with 2 GB of RAM that might be just borderline, even if the laptop is only used for browsing and emailing.

Last edited by Klaas Vaak; 06-29-2019 at 12:39 PM.
 
Old 06-29-2019, 02:40 PM   #27
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,
I've heard of eMMC based hardware that won't properly allow eMMC erasure if it was formatted under UEFI/GPT and deletion attempts made in legacy/MBR mode ... and **vice versa**. This is aside from any "protective MBR" issues with UEFI.

You **will** be able to erase your eMMC, but you'll need tools that actually recognise your Samsung chips. In this case, any Linux distro/live version must have direct support. Once you know exactly which kernel options/addon modules that are required then it should be relatively easy to proceed.

I'll have a look at my old notes to see if I can find anything that could help.. Give me a few hours as the NAS is down for a short while.

Don't forget that installing to a GPT system partition in legacy mode **should** fail (UEFI specifications) but often doesn't properly (due to buggy UEFI firmwares).
The resulting "bixed up" partition and directory structures can be a real mess.. If you suspect something like this is happening then (when able to) use something like Gparted to kill the partition structure fully (Device, Create Partition Table...). Ensure that you use a GPT partition for UEFI mode and msdos type for legacy/MBR mode. Most partition tools (quite reasonably) assume that any devices used are in a "sane" state.. They may not be... Been there, done that!

Bodge99.
 
Old 06-29-2019, 04:18 PM   #28
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
apt-install grub-pc
suppose to be
Code:
sudo apt install grub-pc
If that doesn't work try
Code:
sudo apt-get install grub-pc

Last edited by colorpurple21859; 06-29-2019 at 04:24 PM.
 
Old 06-29-2019, 10:43 PM   #29
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,827
Blog Entries: 1

Rep: Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069Reputation: 2069
Quote:
Originally Posted by teckk View Post
Sure, use dd to erase the first couple of megabytes.
This fails on GPT disks, which mirror the partition structure written on the front of the disk to the end of the disk. Both ends must be wiped, which all recent partitioning tools with specific wipe functionality should be able to do. It may be that AntiX, LM and MX partitioning tools choke when both ends of an eMMC do not match. I doubt Atom notebooks are a favorite tool of programmers who build these tools. I don't have any.
 
Old 06-30-2019, 05:07 AM   #30
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
teckk said:
Quote:
Sure, use dd to erase the first couple of megabytes.
You said:
Quote:
Originally Posted by mrmazda View Post
This fails on GPT disks, which mirror the partition structure written on the front of the disk to the end of the disk.
So teckk's advice was wrong in this case. I did not try it anyway.

Quote:
Both ends must be wiped, which all recent partitioning tools with specific wipe functionality should be able to do. It may be that AntiX, LM and MX partitioning tools choke when both ends of an eMMC do not match. I doubt Atom notebooks are a favorite tool of programmers who build these tools. I don't have any.
My processor is not an Atom, it is a Celeron.
In any case, from what I understand you do not know of a tool that wipes both ends. GParted, which is not just any old tool, is NOT able to do it since I cannot even get it started when it is on its own independent USB stick.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Antix best distro for netbook? nejnej25 Linux - Laptop and Netbook 4 01-21-2018 09:02 PM
[SOLVED] Conky display gets corrupted since updating Antix-16 to Antix-17 hazel Linux - Distributions 3 12-18-2017 08:55 AM
LXer: Debian-Based antiX MX-16.1 Distro Introduces Experimental Encrypted Home Folders LXer Syndicated Linux News 0 06-11-2017 08:37 AM
LXer: antiX M12 test 2 : A light-weight and fast Linux distro for older systems LXer Syndicated Linux News 0 03-07-2012 11:41 PM
LXer: New AntiX distro makes older hardware usable LXer Syndicated Linux News 0 06-26-2007 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration