Hot answers tagged

4

I finally solved it by nuking the Arch partition and its boot files in my Ubuntu's /boot directory from orbit. Ubuntu is fine again now, all remaining GRUB entries are working again. Here's a list of what I did: Delete Arch's initramfs files: sudo rm /boot/initranfs-linux* Delete Arch's vmlinuz file: sudo rm vmlinuz-linux Format the Arch partition ...


3

You are confusing filesystem (organization) semantics with partition (storage) semantics. Linux filesystem hierarchy is like a single giant tree with a stem (/) , branches ( /boot, /home, /bin, /usr, /var ) and sub-branches ( /usr/bin, /var/log ...). This metaphor is equivalent of the parents, children and grandchildren. All these symbols/names ...


2

Warnings as errors are usually result of -Werror passed somewhere to the compiler. It can be intentional enforcement from developer to see how much mistakes are still there and being left only because it's still in development, or intentional enforcement in mission critical software. Anyway, you need to find out where -Werror is. grep is a nice tool for ...


2

SELinux context is stored in file's extended attributes (xattr, man 5 attr). Tools for working with them are available in core/attr package. Attributes, including SELinux context, can be retrieved with getfattr. There is a twist though: by default getfattr lists only attributes from user. namespace; and selinux attribute we need is in security namespace. So ...


2

I can now happily confirm that accessing the built-in flash drive works without problems using kernel 4.6.0-rc7 and manually binding the device using: echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id I'll submit a patch which will make the manual binding superfluous. During testing I had one episode of spurious timeouts which I was never able to ...


2

Okay, after joe pointed me the right direction in comments, this is how I did it: basicly just install pacman -S linux-lts (optional) check if kernel, ramdisk and fallback are available in ls -lsha /boot remove the standard kernel pacman -R linux update the grub config grub-mkconfig -o /boot/grub/grub.cfg reboot Note, for syslinux you'll need to edit the ...


2

According to the systemd.special man-page, you should use Before=poweroff.target. poweroff.target A special target unit for shutting down and powering off the system. Applications wanting to power off the system should start this unit. runlevel0.target is an alias for this target unit, for compatibility with SysV. Additionally, as I mentioned in my ...


2

They are on the two keys to the right of P: pressing the first with Alt Gr produces "«", the second produces "»".


2

It looks like that the hook lvm2 run after the hook encrypt during Arch Linux's Initial RAM filesystem phase is not able to activate thinly provisioned logical volumes. With the same storage configuration as depicted in my question except for normal logical volumes instead of thinly provisioned ones the volume group containing these can be activated without ...


2

The right tool for this job is paccache1: paccache -r -k 1 -c /path/to/cache/dir This deletes -r all cached versions of each package except for the most recent one -k 1 in the cache directory specified via -c You can always move the old packages to another dir instead of deleting them immediately and only delete them later on. Run paccache -h for more ...


2

In the case of MBR (and 1/2 KiB blocks) the information are stored in the first block (first 512 bytes) and for historical reasons and out of compatibility with various OSes the first really useful block would be the 63th. The space in-between is often used by boot-loaders for the program code for one of their levels. In the case of GPT you have the ...


2

I've done something like that on an Arch server. The server had enp4s8 as the "external" network, and wlp1s0 as the "internal" network. enp4s8 had a statically-defined IP address of 10.0.0.3, and a default route to 10.0.0.1, the DSL modem. /usr/bin/ip link set dev wlp1s0 up /usr/bin/ip addr add 172.16.0.1/24 dev wlp1s0 sleep 10 modprobe iptable_nat echo ...


1

Removing setuid/setgid from system applications isn't done routinely (though there are occasional guidelines which do suggest just that). Doing this invalidates the package configuration, making it necessary for someone to make special-cases when investigating discrepancies between package content and the installed system. The usual approach is to not ...


1

Partitions do not contain other partitions. Every partition that you use has a mounting point. The main (root) partition, needs to be automatically mounted on / during boot, and then other partitions can be mounted in any existing location you chose. One important thing to note is that mounting a partition somewhere will hide what is already present at ...


1

I believe the Fn keys are mapped to X86... named keys. Therefore, I'm assuming you have to install the x-server first. As for the brightness issue, ArchWiki has some relevant information, among which is the possible systemd-backlight problem/workaround: Inverted Brightness (Intel i915 only) Symptoms: after installing xf86-video-intel ...


1

The most common cause of touchpad issues on Arch Linux, including the one you are describing, is not installing the Synaptics touchpad driver. The package is called xf86-input-synaptics Go ahead and run pacman -Syu xf86-input-synaptics and then restart X, and your touchpad should start behaving normally.


1

Run: sudo systemctl enable sshd.socket To enable service to run on boot.


1

It seems that kernel erroneously detected some device as floppy or just created a non existent reference because your machine does not have real floppy drive. So these blk_update_request for fd0 are completely unrelated to your hard drives. Many disk managing programs such as fdisk like to enumerate all available block devices, and definitely fdisk did hit ...


1

Your computer is not seeing the nearest wifi AP as it is in channel 13, which by definition should not be used in the US. I advise you to try and configure wpa_supplicant for your country code. In wpa_supplicant.conf please add the directive: country=CZ Then disable and enable wifi again. Hopefully if the card has not any other limitation, you might see ...


1

There is a component called Polkit that is used by many applications to request root permissions to do things (it can do so because it's a daemon running as root). Polkit can be configured to ask for a password (either your user account password or the root password) or to just allow it without a password prompt. That decision can be based on any number of ...


1

Take a look at https://wiki.archlinux.org/index.php/Dm-crypt/Specialties. You can switch the mkninitcpio encrypt hook for encryptssh and then add some things to your kernel bootline. I'm using the dropbear hook and it works pretty well.


1

MEGA is now offering a megasync package for ArchLinux. You can download it from: https://mega.nz/#sync. It will also configure their official repo, so that updates will work and you can install nautilus extension.



Only top voted, non community-wiki answers of a minimum length are eligible