[arch-general] Reconfiguring grub 2
Hi, I just reverted my ParabolaGNUlinux into ArchLinux. First, I set the Arch mirror list. Then update the whole system: # pacman -Syyu Then replace the linux-libre kernel with 3.15.3-1-ARCH kernel. Then reboot, but grub 2 want to boot system with linux-libre kernel. I edited the grub entry so I can to boot the system with the new kernel. But, how can I generate the new Grub config? I tried followings: # pacman -S grub # grub-mkconfig -o /boot/grub/grub.cfg Still, when reboot, I get the Grub menu es it was before, when did using linux-libre kernel. What must I do to solve this problem? -- Regards from Pal
On July 4, 2014 4:36:55 AM EDT, "Alexey M. Kosorotov" <kam@os72.ru> wrote:
04.07.2014 14:03, Csányi Pál пишет: Hi,
I tried followings: # pacman -S grub next, enter the command:
# grub-install --recheck /dev/sda
where /dev/sda is you boot device
and next:
# grub-mkconfig -o /boot/grub/grub.cfg
Also make sure your /boot partition is mounted correctly. If it wasn't, you may need to uninstall grub, mount /boot, then reinstall grub and follow the above instructions. -- --Sean
Hello Sean, 2014-07-06 23:00 GMT+02:00 Sean Greenslade <sean@seangreenslade.com>:
On July 4, 2014 4:36:55 AM EDT, "Alexey M. Kosorotov" <kam@os72.ru> wrote:
04.07.2014 14:03, Csányi Pál пишет:
I tried followings: # pacman -S grub next, enter the command:
# grub-install --recheck /dev/sda
where /dev/sda is you boot device
and next:
# grub-mkconfig -o /boot/grub/grub.cfg
Also make sure your /boot partition is mounted correctly. If it wasn't, you may need to uninstall grub, mount /boot, then reinstall grub and follow the above instructions.
Moreover, I edited the /etc/default/grub file also: GRUB_DISTRIBUTOR="Arch" I can't remember whether was I who edited it to be GRUB_DISTRIBUTOR="Parabola" or it was automatically edited. I must revert it to be "Arch". I have now reconfigured grub2 and it works fine. -- Regards from Pal
participants (3)
-
Alexey M. Kosorotov
-
Csányi Pál
-
Sean Greenslade