|
From: | Pascal Hambourg |
Subject: | Re: grub-uninstall |
Date: | Tue, 8 Nov 2022 20:43:50 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 |
Le 08/11/2022 à 12:00, Narcis Garcia a écrit :
My mistake was to do "grub-install /dev/sda" when I need to boot from /dev/sdbNow I've done "grub-install /dev/sdb" but I don't want GRUB messages appear on /dev/sda when BIOS boot goes there. It's confusing.I want to know how to revert actions done by grub-install on first disk sectors, without losing partitions.
AFAIK, grub-install does not back up copy the original contents of sectors the boot image and core image are written to. So the best you can do is overwrite GRUB's boot image in the MBR with another boot program, e.g. with install-mbr from package "mbr".
[Prev in Thread] | Current Thread | [Next in Thread] |