help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding Grub2


From: Goh Lip
Subject: Re: Understanding Grub2
Date: Sun, 15 Apr 2018 22:16:56 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0



On 15/04/18 20:58, Richard Owlett wrote:
a MBR BIOS is used.
I wish to dedicate the first partition to Grub



Assuming partition is sda1, from any working grub 2 bios-legacy OS in your computer.
sudo mount /dev/sda1 /mnt
sudo grub-install --boot-directory=/mnt/boot /dev/sda

Then put in your grub.cfg in sda1/boot/grub/grub.cfg (or /boot/grub2/grub.cfg if applicable)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]