[Top][All Lists]

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

Re: Understanding Grub2

From: Goh Lip
Subject: Re: Understanding Grub2
Date: Mon, 16 Apr 2018 08:25:05 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

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,msdos1'
search.fs_uuid xxxxxxxxxxxxxxxxxxxx root
set prefix=($root)/boot/grub

Followed by your menu entries.
xxxxxxxxxxxxxxxx is uuid of sda1

Good luck.

ps: if you want a theme, there's more to put in.

reply via email to

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