Re: Understanding Grub2

2018-04-15 Thread sashab
Hi Richard, On 15/04/18 23:34, Richard Owlett wrote: > On 04/15/2018 09:16 AM, Goh Lip wrote: >> >> >> 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

Re: Understanding Grub2

2018-04-15 Thread Goh Lip
On 16/04/18 08:25, Goh Lip wrote: The following should do. insmod part_msdos set root='hd0,msdos1' search.fs_uuid root set prefix=($root)/boot/grub timeout=10 If you have specific requirements, add these (as an example) set gfxmode=1024x768x32 set gfxpayload=1024x768x

Re: Understanding Grub2

2018-04-15 Thread Goh Lip
On 16/04/18 05:34, Richard Owlett wrote: I am now investigating what my grub.cfg should look like. >I suspect that > grub-mkconfig -o /boot/grub/grub.cfg > will do what I need. You can do that. A much simpler one would suffice. The following should do. insmod part_msdos set root='hd0,msdo

Re: Understanding Grub2

2018-04-15 Thread Richard Owlett
On 04/15/2018 09:16 AM, Goh Lip wrote: 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-direc

Re: Understanding Grub2

2018-04-15 Thread Goh Lip
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 you

Understanding Grub2

2018-04-15 Thread Richard Owlett
Underlying motivation: I find how Debian uses Grub has _petty_ annoyances. Historical background: When asking questions in past the response was "OS specific". Tentative project description: "A *MINIMALIST* install of a pure GNU GRUB system" Underlying assumption: I have a lot of reading a