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.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
Quote:
I cannot run GP from a flashdrive, the computer does not accept it, like it does not accept distros. That is why I want to wipe the eMMC drive with a command. You gave me a command, but you still have not told me how to ebcome root from the flashdrive/live USB.
Err.. yes I have.
When you attach a USB flashdrive or other external storage device, the device, when mounted, becomes part of a single file system. This differs from windows, which uses the concept of drive letters.
In Linux, everything is part of one filesystem. Your OS may helpfully add a newly plugged in USB flashdrive automatically to the filesystem. You are free to override this and manually mount this device to exactly where you choose. It really is totally up to you.
To access this device **at hardware level** normally requires you to have root privileges. This differs from "normal" access, which includes file actions such as editing, copying etc. This leads onto the concept of file and directory ownership rights.
On a multiuser system user Joe may not want user Jane to be able to read or alter his personal files.. The beauty of OS's that are based on (IMHO) sound Unix principles is that the system is built (designed) with security in mind from the outset. This is **A VERY GOOD THING** although you might not think so at 2AM in the morning when trying to solve problems.
The use of root (All hail MING!!.. Errr..sorry, wrong film..) allows you to perform tasks that you as a normal user, would not be able to perform.
Indiscriminate use of root is viewed "as a bad thing" as it can allow you to perform actions that could compromise a working system. That is why you log in as a normal user and that some stuff "appears" locked down. There are reasons why, which may not be immediately apparent to normal users.
You need root privileges when performing most "low level" actions. On your own systems, this is easy to obtain i.e. sudo su changes you from a "normal" user to "the one" with full administrative powers.
To modify your laptop system drive at hardware level you need two things:
Boot from an external source. This ensures that your system drive is not "in use" or "active".
To perform any low level procedure you need to have root privileges. The easiest way on a standard single user system (as this action is not specifically disallowed) is to use sudo su .
Typical "gotchas" from the running system is that partitions may be automounted (added to the filesystem). Here you then need to manually dismount **every** partition on the drive **before** you can proceed.
Existing swap partitions **in use** can be shown from the command line (terminal).
Code:
swapon -s
If the swap is "in use" on your eMMC (when booted from the flashdrive) then use the terminal command:
Code:
swapoff /dev/{path to swap partition}
or use the swapoff option in gparted. Right click on the swap partition and select "swapoff".
If you cannot boot from usb, can you boot a already installed system from hard drive/emmc??
If you can boot from whatever system you have on there you can boot a llot of distros right off your hdd in live
toram mode and they will not be mounted to any drive automatically
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631
Rep:
Quote:
Originally Posted by Klaas Vaak
There are no partitions to mount - see my reply to Bodge99 below.
I opened a terminal: when I type sudo it gives me the various switches I can use.
When I type su, it asks for a password, but typing demo returns "Authetication failure".
I asked you to open the root terminal option in the menu, not to open a terminal.
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.
I wasn't suggesting switching distros. I was suggesting a larger troubleshooting net. Different build toolsets and/or library versions might produce a results that suggests hardware rather than software, or vice versa. I'm not in favor of upgrades at 6 month intervals either, therefore I'm using openSUSE Leap (~24 months) on my primary PC.
If Firefox continues the same problem after you have a working installation , maybe gfx.xrender.enabled=true will help.
I wasn't suggesting switching distros. I was suggesting a larger troubleshooting net. Different build toolsets and/or library versions might produce a results that suggests hardware rather than software, or vice versa. I'm not in favor of upgrades at 6 month intervals either, therefore I'm using openSUSE Leap (~24 months) on my primary PC.
If Firefox continues the same problem after you have a working installation , maybe gfx.xrender.enabled=true will help.
I am not against switching distro, it just depends which one. If I manage to wipe the eMMC properly I might well switch.
However, if have to stay with antiX I will certainly try your Firefox suggestion. Thanks for mentioning it.
If you cannot boot from usb, can you boot a already installed system from hard drive/emmc??
When I said " I did creat a multiboot USB with an app called MultiBootUSB - I added 6 distros to it. But I was disappointed by the quality of the resulting USB: booting was slow, other distros, such as Fedora and MX, did not boot at all."
I should have specified that I tried that USB stick on my other laptop that runs well, so I did not bother to try it on the tablet.
On the tablet I can boot from the live antiX USB only.
Quote:
If you can boot from whatever system you have on there you can boot a llot of distros right off your hdd in live
toram mode and they will not be mounted to any drive automatically
I did that but when I tried to boot from a live USB stick with Mint on, it does not boot - I get a black flashing screen, some text and the LM logo. If I use compatibility mode, it boots fine, but when I then try to install the installer crashes somewhere along the line. This is the exact same behaviour I have been having since I tried to install another OS. The eMMC seems to something installed on it that cannot be removed and blocks installation of another OS.
I tried sudo, and sudo su, both give the same result: Permission denied.
So how do I get those rights? Catch 22?
To which I did not receive an answer, unless I missed it. Anyway, let's move on.
Quote:
Existing swap partitions **in use** can be shown from the command line (terminal).
Code:
swapon -s
Like I said before, I deleted the partitions. But, just to make absolutely sure, I checked with the swapon command, and that did not return anything, so no swap partition was in use.
Anyway, I tried the thorough wipe as per fatmac's instruction, but that did not do the trick either - see my comment #100.
Distribution: Artix, Slackware, Devuan etc. No systemd!
Posts: 368
Rep:
Quote:
Originally Posted by bodge99 View Post
Err.. yes I have.
Err... no, you have not.
Sorry, but I have described how to obtain root privileges
Quote:
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).
Again, from a terminal
Code:
sudo su
You can see your new status by entering this
Code:
whoami
This will return
Code:
root
To clarify, your new root status only applies to actions taken within this terminal. Other terminals and gui tools that are started from the menu will still have your normal user privileges. e.g. They are being run as user bodge99 etc.
bdid you get this when you ran sudo su or some other command and if so what command?
I got it when I ran
Code:
sudo cat /dev/zero > /dev/mmcblk0
I also got it when I ran that same command with sudo su.
But today, when I ran fatmac's
Code:
sudo dd if=/dev/zero of=/dev/mmcblk0
I did not get it.
What happened with fatmac's command is that after the command the cursor in the terminal jumped to the next line as a white block, and stayed that way. I thought it was working on the wipe, but it stayed that way for a long time - 1 hour+.
Eventually I closed the terminal, but when I tried to install Mint it failed - see my comment #100.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.