New answers tagged

0

If you have change your hard disk or the partition table, then your computer will save a session, but it won't be able to resume it upon power up, acting as if it was rebooted rather than hibernated. In this case, you have to inform initramfs-tools about the correct partition uuid. First of all, take note of the id of your swap partition with $ ls ...


0

I'd suggest borrowing a few minutes on somebody else's machine to make an install USB. Download an Ubuntu install .iso, dd onto the USB stick (check the size), and re-install. The installer may be able to save (some of?) your old partitions, but don't bet on it.


0

I think you shoud try this. Maybe the order is wrong. grub> linux (hd0,2)/boot/vmlinuz-4.3.0-kali1-amd64 root=/dev/sda2 grub> initrd (hd0,2)/boot/initrd.img-4.3.0-kali1-amd64 grub> boot


0

Because you're usign debian, it will be very easy to recover grub, using the installation CD. Boot the install Debian CD and select Advanced options -> Rescue Mode There you will have options to reinstall grub or to go to a chroot shell, and reinstall grub using: grub-mkdevicemap grub-install /dev/sda update-grub


0

The order that you see is determined by the order of the entries in the file /boot/grub/grub.cfg. You could edit that file, but it probably says at the top that you shouldn't edit it as the file automatically generated. My grub.cfg states in the header: # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from ...


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 ...


1

I would guess those two processes are kworker or another kernel task. It appears that presently, isolcpus= only affects user space threads, and hence, kernel threads will show up on the isolated CPU's. From the RHEL documentation (emphasis mine), 3.3.6.2. Isolating CPUs You can isolate one or more CPUs from the scheduler with the isolcpus boot ...


0

If you know the root password, you can run su -s /bin/bash to get a root bash shell. sudo -s /bin/bash should work too, and depending on how sudo is configured you'll either need to know only your own password or no password. You can then use chsh -s /bin/bash to change root's shell back to bash. BTW, it's generally a bad idea to change root's shell on ...


0

You cannot edit files from the Grub prompt (Grub can only read files, it doesn't have any write support). You need to boot Linux¹. If you can't log in normally, you can completely bypass the normal boot process and start just a kernel and a shell. At the Grub prompt, press e to edit the boot sequence, add init=/bin/bash to the end of the linux=… line, and ...


-2

Pls try sudo vi /etc/passwd And enter your currently logged user password. Also you can find shell correct path in /etc/shell And to check current shell pls try echo $SHELL


1

You should remove from the password file the which word... It should be something like : root:x:0:0:root:/root:/bin/zsh Where /bin/zsh is the path to the Z shell binary. In the current config, the login process is trying to execute which zsh and that command is failing. Also, edit the file as root, with sudo vim /etc/passwd for example because it is ...


0

Solution for all Corsair mechanical keyboards with usbhid quirks. sudo nano /etc/default/grub or any other editor you like to use instead of nano. you will see this line GRUB_CMDLINE_LINUX_DEFAULT="" make sure to put the usbhid.quircks between the quotes and save that. In my case I had to change it to this line ...


0

The /etc/default/grub file is used to generate the final grub.cfg file that actually governs the behavior of grub. After editing the grub file you have to run sudo update-grub to generate a new /boot/grub/grub.cfg (usual location).



Top 50 recent answers are included