Skip to contentSkip to conversation

idea for storing menu.lst with 1_5 stage or equivalent on grub2

DISCUSSION adrian15 2 participants 2 messages Feb 20, 2006

lore
Share & tools
lore

adrian15

author
#0 lore raw

This is a idea for making installations of Grub safer.
It is based on Grub Legacy but I think you will find an equivalent on grub2.

Most people ask about grub showing grub> and not knowing what do to do when that happens. (Usually when they remove Linux from pc).

If I understand it correctly that means that 1_5 stage has been loaded but it does not have found /boot/grub/menu.lst because it does not exist.

My idea is that when embedd 1_5 stage we should also add a configuration file with the following contents:

timeout 0
default 0
title correct install
configfile /boot/grub/menu.lst
HERE GOES CONTENTS of /boot/grub/menu.lst
from the first title.

This way if the file /boot/grub/menu.lst is there it is loaded but if it does not exists its backup is loaded.

So... everyone is happy.

adrian15

#1 lore raw
Quoted 9 lines · adrian15 <[email protected]> writes:

My idea is that when embedd 1_5 stage we should also add a configuration file with the following contents:

timeout 0
default 0
title correct install
configfile /boot/grub/menu.lst
HERE GOES CONTENTS of /boot/grub/menu.lst
from the first title.

When grub.cfg can not be loaded because it is removed, it most likely is not possible to load normal.mod. So because of this your idea can not be realized in practise.

--
Marco