Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
@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.
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.
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.
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?
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
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..
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.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
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!
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.
Sure, use dd to erase the first couple of megabytes.
You said:
Quote:
Originally Posted by mrmazda
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.