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 07-01-2019, 03:50 PM   #61
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66

Full eMMC backup and restore:

See the worked example using AntiX below:

NOTE: The restore procedure overwrites whatever is on the eMMC, There is no need to delete anything or do anything with any partition. Everything is overwritten.

Overview:
Boot the computer from your AntiX (or other Linux) live USB flashdrive.
Allow the system to start up fully.
Now connect your backup device. Mount the device if it is not automatically mounted.
Make a note of the full path to the backup device.
Open a terminal, become root and change directory to your backup device. This step saves having to type in the full path to the backup device in the backup or restore commands.

From here use the relevent command. Backup or restoration will take about 10 - 20 minutes or so, depending on the speed of your backup device and USB ports. Just wait until the command prompt returns.

Backup eMMC:
Code:
cat /dev/mmcblk0 | gzip -c > {path-to-backup-device}/{backup-filename}
The eMMC is read sequentially, data is passed to the compression utility. The backup file is created and compressed data is then written to it.


Restore eMMC:
Code:
cat {path-to-backup-device}/{backup-filename} | gunzip -c > /dev/mmcblk0
The backup file is read sequentially, data is passed to the decompression utility. The uncompressed data is directly written to the eMMC.
Both commands will finish when the relevant data source is exhausted.

Worked example:

With the computer booted from your AntiX flashdrive, open a terminal and become root.
Insert your backup device and change directory to its location. A USB stick is used here as an example.
Text between braces are comments and are not to be entered. It is a good idea to use the sync command to ensure that any buffers are flushed.

Code:
sudo su {become root}
cd /media/sdb1-usb-TOSHIBA_TransMem/ {Full path to my particular flashdrive, automounted in AntiX}
Backup: Create a compressed archive:
Code:
cat /dev/mmcblk0 | gzip -c > backupfullemmc.img.gz
sync
Restore: Extract the archive and write to the eMMC:
Code:
cat backupfullemmc.img.gz | gunzip -c > /dev/mmcblk0
sync
For completeness... If you wish to use a checksum file:

Create a checksum text file:
Code:
sha256sum backupfullemmc.img.gz > backupfullemmc.checksum.txt
Verify the backup file before restoration
Code:
sha256sum -c backupfullemmc.checksum.txt
The choice of backup filename is arbitrary. I try to use names that describe what the file is...
backupfullemmc - self explanatory..
.img An image of a drive (or a partition).
.gz A compressed archive created by gzip.

I hope that this helps.. Just ask if you have any questions.

Bodge99.

Last edited by bodge99; 07-01-2019 at 05:38 PM. Reason: Missed a bit..
 
Old 07-02-2019, 12:15 AM   #62
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Bodge99, yesterday I was a bit too quick to claim victory. The scrolling issue was back, that's probably how the computer handles antiX, so this morning I wanted to run Mint from a the live USB stick - I had to use the compatibility mode, but when I tried to install Mint the installer crashed along the way.

I booted into antiX from the eMMC and launched GParted. The lay-out: exactly the same as I reported before, showing 3 partitions, but the unallocated space unaffected with used and unused both at zero (3 dashes).

I then did the same as your suggestion: create a new GPT table, then use the Mint live USB to install. But the same thing happens: the installer crashes along the way.

Conclusion: I am back to square 1, and, as far as I can tell, it is not possible to use the eMMC drive on this computer for anything else than antiX.

Last edited by Klaas Vaak; 07-02-2019 at 12:46 AM.
 
Old 07-02-2019, 12:20 AM   #63
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Full eMMC backup and restore:

See the worked example using AntiX below:

NOTE: The restore procedure overwrites whatever is on the eMMC, There is no need to delete anything or do anything with any partition. Everything is overwritten.
Bodge99 thanks a lot for this, I will study it. Meanwhile, I am back to square 1 it seems. See my previous comment.
 
Old 07-02-2019, 12:51 AM   #64
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by mrmazda View Post
These are all Debian based, primarily on Debian Stable. The *buntus while Stable based do come with updated support every six months. A Stable base can be quite old. Stretch 9.0 was released 24 months ago. While PPAs are available to those desiring newer hardware support, its availability during installation tends to be problematic in itself if not impossible. Having the same foundation commonly means the same foibles, whether desktop, kernel, drivers or support tools, such as partitioners.

Those having newer hardware related trouble would do well to at least test with something else with more mature hardware support, Debian Testing, Debian Unstable, or any of the non-Debian distros with competent GUI installers and/or live media that are released more frequently, e.g. Fedora (late April, every 6 months), or have had their latest release well after the Stable (Stretch 9.x) on which Debian derivatives are based, e.g. openSUSE Leap 15.1 (late May), Mageia (June) or PCLinuxOS (June).
My tablet is just a simple computer that's used for internet browsing and emailing. I want a stable, hassle-free distro that does not need to be replaced every 6 or 12 months with an upgrade.
 
Old 07-02-2019, 02:20 AM   #65
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Arrghhh..

Sorry to hear that the problems continue.

Am I correct in this? AntiX generally seems works apart from your scrolling issue with a browser (Firefox??).
Mint seem to be a "no go" at this time.

Don't bother attempting to install a specific distro if you can't access the eMMC using the live distro's tools. If the system cannot access the eMMC then you won't be able to install it (yet!!!). More on this specific point when I've done some research.

I would put AntiX back on using exactly the same method as before. At least you will have a bootable computer that has basic tools available and your eMMC storage in a "known good" state. Try to reduce the number of "unknowns" at this stage.

Can you describe your scrolling issue in more detail please? Does this only happen with Firefox or in other gui programs as well? Have you tried another browser? Are you using the trackpad or an external mouse/trackball. Can you try an external mouse/trackpad??

If AntiX used to work perfectly well but doesn't now, then **something** must have changed. This can only be one of 3 things:-

Software is corrupt/damaged (It's not this as you have a fresh install)
Software (or settings) has been changed/updated. Something is being "handled" slightly differently than before.
There is a hardware problem of some kind (Need to prove the trackpad functionality etc.)

As mentioned above, this could be related to some sort of graphics issue. It should be solvable once the exact cause has been identified.
We need to identify if the problem is software or hardware related.

We **will** resolve this, one way or another!

Bodge99
 
Old 07-02-2019, 03:32 AM   #66
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Arrghhh..
Am I correct in this? AntiX generally seems works apart from your scrolling issue with a browser (Firefox??).
Mint seem to be a "no go" at this time.
Correct.

Quote:
Can you describe your scrolling issue in more detail please? Does this only happen with Firefox or in other gui programs as well?
Just with Firefox.
What happens is when you scroll down a web page the scroll bar slider will suddenly jump back (i.e. scroll back fast) to the beginning of the page. Clicking on ESC stops it at that point in time, for an undetermined period (20 mins. 1 hour, 2 hours0 when it will recur.

Quote:
Have you tried another browser?
Tried Opera, same problem.

Quote:
Are you using the trackpad or an external mouse/trackball.
Trackpad

Quote:
Can you try an external mouse/trackpad??
It's not practical.

Quote:
If AntiX used to work perfectly well ....
No, it did not. It just takes a bit of time using FF to be confronted with the issue.

Quote:
As mentioned above, this could be related to some sort of graphics issue. It should be solvable once the exact cause has been identified.
We need to identify if the problem is software or hardware related.
Bodge99
Let me give a little bit of background.
We bought the computer in 2016 with Win 8.1/64-bit installed. It worked very well without any problems, and certainly not this issue. Late last year the cursor froze on the screen and the audio volume level got stuck at zero. Neither a refresh nor a reinstall of Windows changed 1 iota to the problem. I don't know what the problem was due to, can't remember if it occurred after an update, which may well be the case in view of the disgraceful mess Microsoft has made of its updating system.

So I decided to ditch Windows and install a light Linux distro. Since I happened to have tried antiX in a Windows-hosted VM last year, I opted for antiX, which I installed @ the beginning of March this year. If I recall, the issue has been there from the beginning, although I am not 100% sure of it.
 
Old 07-02-2019, 03:49 AM   #67
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,520

Rep: Reputation: Disabled
Quote:
Late last year the cursor froze on the screen and the audio volume level got stuck at zero. Neither a refresh nor a reinstall of Windows changed 1 iota to the problem. I don't know what the problem was due to, can't remember if it occurred after an update, which may well be the case in view of the disgraceful mess Microsoft has made of its updating system.
If, after a re install of 'Windows' didn't help, (& I'm no fan of that system), then you have a hardware problem I would think - changing distros won't help.

You'll likely need to check all connections, maybe a loose wire somewhere, touchpads can be finicky.
I would try an external mouse as an easy check to see if it is related to the touchpad.
 
Old 07-02-2019, 04:32 AM   #68
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Quote:
Just with Firefox.
What happens is when you scroll down a web page the scroll bar slider will suddenly jump back (i.e. scroll back fast) to the beginning of the page. Clicking on ESC stops it at that point in time, for an undetermined period (20 mins. 1 hour, 2 hours0 when it will recur.
I'm wondering if this could be related to touchpad sensitivity.. I disable every touch action on mine apart from cursor movement.. it drives the Misses mental as she like the "tap to click" stuff. Another possibility is some sort of interaction between the desktop manager and the trackpad driver. As fatmac rightly points out, hardware problems are possible but obviously can be harder to identify. I personally don't think so.. (yet!).

Try one change at a time.. So you can identify when or if a particular change helps things..

Can you try another desktop manager (change from fluxbox to icewm or jwm). This should rule out any specific desktop manager interaction.
Now try a usb mouse.. ideally disable the touchpad totally. This will show if the touchpad hardware or driver is problematic.

More later.. My Daughter is special needs and I'm needed..

Bodge99
 
Old 07-02-2019, 04:45 AM   #69
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by fatmac View Post
If, after a re install of 'Windows' didn't help, (& I'm no fan of that system), then you have a hardware problem I would think - changing distros won't help.
The Windows reinstall, which was done from within Windows itself, in my opinion is not a proper reinstall. The reason I say that is because the cursor and volume problems weren't even mitigated in the slightest. Whereas, when I installed antiX, those 2 problems were gone completely. So you saying that I have a hardware problem does not make sense.

Besides, I should still be able to test that with another distro, yet no other distro can be installed. That could indeed be a hardware problem, specifically an eMMC problem.

Isn't there a way to completely, thoroughly, properly wipe the eMMC drive clean of any traces of antiX, and even of Windows? Creating a new GPT table, which says it will wipe off all the existing data, is an incomplete process. I cannot believe there isn't a way to get the drive squeaky clean.
 
Old 07-02-2019, 04:56 AM   #70
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,392

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
to remove windows fast boot has to be disabled under advance power settings in windows and make sure your shutting down the system from windows not sleep or hybernate mode. For linux mint would suggest the xfce version it will be a little ligher. I also believe that the problem you having is a settings issue, but I don't use antix so can't give any advice on the easist way to change settings.

Last edited by colorpurple21859; 07-02-2019 at 04:57 AM.
 
Old 07-02-2019, 05:12 AM   #71
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by colorpurple21859 View Post
to remove windows fast boot has to be disabled under advance power settings in windows and make sure your shutting down the system from windows not sleep or hybernate mode. For linux mint would suggest the xfce version it will be a little ligher. I also believe that the problem you having is a settings issue, but I don't use antix so can't give any advice on the easist way to change settings.
Like I said in my comment above, Windows was removed prior to installing antiX.
I have the XFCE version of Mint on a USB stick simply because that is what I have on my 2 other laptops. But it cannot be installed on the tablet because the tablet now only accepts antiX, which IMO indicates a less than clean eMMC drive.

Therefore, rather than trying to figure out a way to make antiX work, I am looking for is a way to wipe the eMMC drive <b>squeaky clean</b> so it allows me to install another distro instead of only accepting antiX.
 
Old 07-02-2019, 05:34 AM   #72
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Just "dipped in" for a couple of minutes.. still busy!

You can wipe your eMMC from your AntiX boot flashdrive.

Open a terminal, become root and enter this:

Code:
cat /dev/zero > /dev/mmcblk0
This will overwrite every storage location in the eMMC with zeros. Effectively clearing everything.

Bodge99.
 
Old 07-02-2019, 05:48 AM   #73
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi,

Just "dipped in" for a couple of minutes.. still busy!

You can wipe your eMMC from your AntiX boot flashdrive.

Open a terminal, become root and enter this:

Code:
cat /dev/zero > /dev/mmcblk0
This will overwrite every storage location in the eMMC with zeros. Effectively clearing everything.

Bodge99.
OK, thanks a lot, I am very keen to try that. How do I "become root"?
I know that on an installed OS you use sudo, then use the user password. But how does it work when using a flashdrive?

Edit: I went ahead, open the terminal from the flashdrive, then typed:
Quote:
sudo cat /dev/zero > /dev/mmcblk0
Output:
Quote:
bash: /dev/mmcblk0: Permission denied

Last edited by Klaas Vaak; 07-02-2019 at 06:40 AM.
 
Old 07-02-2019, 06:30 AM   #74
bodge99
Member
 
Registered: Oct 2018
Location: Ashington, Northumberland
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368

Rep: Reputation: 66
Hi,

Run a command as root : sudo {command}

Become root, if logged in as a normal user: sudo su (or su - , if your /etc/sudoers file is not set up).

Some folk detest sudo and view it as a security concern..

It's possible to "lock down" a normal user so they cannot do **anything** with root (administrator) privileges. Very useful at times..

A terminal error message that includes "Permission Denied" normally means that you don't have enough rights to perform the required action i.e. you need to be root.

Bodge99

Last edited by bodge99; 07-02-2019 at 06:43 AM. Reason: Added a bit.
 
Old 07-02-2019, 06:52 AM   #75
Klaas Vaak
Member
 
Registered: Feb 2019
Distribution: Mint
Posts: 253

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by bodge99 View Post
Hi,

Run a command as root : sudo {command}

Become root, if logged in as a normal user: sudo su (or su - , if your /etc/sudoers file is not set up).

Some folk detest sudo and view it as a security concern..

It's possible to "lock down" a normal user so they cannot do **anything** with root (administrator) privileges. Very useful at times..

A terminal error message that includes "Permission Denied" normally means that you don't have enough rights to perform the required action.

Bodge99
I tried sudo, and sudo su, both give the same result: Permission denied.
So how do I get those rights? Catch 22?

Last edited by Klaas Vaak; 07-02-2019 at 07:09 AM.
 
  


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 07:23 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