Back up GRUB

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
chezydan

Back up GRUB

Post by chezydan »

Hi Dear Friends

I am quite newbe at Linux. I would like to back up two dual boot computer Grubs. I was explained that Grub should be backed up separated from the rest of the HD data.

Can you please give some guide?

Thanks in advance
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
StanTheMan

Re: Back up GRUB

Post by StanTheMan »

A grub install consists of --
a writing of the MBR on the Master drive (the drive which BIOS is set to boot)(not a partition)
and a set of files in the Root partition of the Linux that is doing the bootloading.
At start-up BIOS reads the MBR which tells it to next look for a boot list file in the target Root partition.
The boot list is then displayed to the User , who can then target yet another Root partition (including Microsoft if installed.)
If you have your bootloader Linux OS running, you can use this command - -
Terminal
sudo update-grub
(enter your User password)
This will update the boot list.
But there are several grub files in the Root OS
" /boot/grub/grub.cfg
/etc/default/grub
/etc/grub.d/------several text files.

If yioou evere lose your MBR , it can be re-written with a Live disk.
Locked

Return to “Installation & Boot”