Hot answers tagged grub2
Oops! Here's what to do: Boot a live distro. This can be your Ubuntu installation disc or another one such as Knoppix. Find the drive/partition where you have installed your root filesystem. To do this you can open a terminal and run either sudo parted -l or sudo fdisk -l. If you can't tell, then edit your question and add the output. Assuming that your ...
This is not going to be straightforward so bear with me. I cannot give you specific instructions as each system is a bit different but here are the major steps you need to do to fix your issue. The first thing you need to do is boot the system from a live medium. Any Linux distro should work as long as it has the same architecture of the installed distro. ...
Hmm ... apparently this line was the clue: grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet.. Previously I had installed btrfs directly on /dev/sda and /dev/sdb. That's why both of them had a FSTYPE and LABEL attached (as shown in lsblk). Solution: I have now wiped both /dev/sda and ...
you have to boot from live cd and type in terminal sudo update-initramfs -u;sudo update-grub; if the problem still exist you have to reinstall grub from the live cd terminal sudo mount /dev/sda5 /mnt; sudo GRUB-install --root-directory=/mnt/ /dev/sda; sudo update-grub;
You can probably fix this problem by reinstalling grub. You need to mount your existing root directory to /mnt and then arch-chroot /mnt. Then you can follow the instructions at GRUB- Arch Linux Wiki to reinstall grub. If you absolutely cannot get grub to work, you can always try a different bootloader.
You can find the Answer here: http://unix.stackexchange.com/a/177647/83339 if you are already on Debian you can follow the steps without need to boot from live CD
The easy way is to install grub-customizer tool: sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo apt-get install grub-customizer When Grub Customizer starts up, you’ll see a list of all the items that show up in the boot menu. To hide entries that you don’t want to see anymore, simply uncheck the checkbox next to ...
So you probably overwrote the beginning of your hard drive, I guess you're lucky anything it booting from it. I'd expect it's written it's own partition & maybe even MBR/GPT. Using a good live cd/dvd/usb should let you delete the new unwanted partition(s) and attempt to fix things, but restoring the overwritten data from a backup may be required. When ...
Only top voted, non community-wiki answers of a minimum length are eligible