Skip to contentSkip to conversation

Grub-devel Digest, Vol 65, Issue 17

DISCUSSION Battail Yannick 1 participant 1 message Jul 8, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 13 lines
Quoted 8 lines
Quoted 5 lines

With LUA, we can have a more user friendly interface. I like way rEFIt works, it doesn't require configuration. At runtime, it detects os and shows an icon for each of them. We can achieve similar goal using lua. Of course, advanced user can write the menu manually, but for most user, a smart auto-generated menu may be more appealing.

But we have grub-mkconfig for that. This is what distributions shipping GRUB are using.

That's what distributions shipping GRUB2 are using. Fedora is totally unaware of grub-mkconfig, so I have to rerun it every time I install a new kernel.

Quoted 8 lines

grub-mkconfig won't pick up all filesystems, mounted and unmounted. Processing unmounted filesystem would require a binary with GRUB filesystem code linked into it, perhaps grub-fstest or a separate binary.

And let's not forget about recovery disks. That's where lua would really shine.

os-detecte is a good idea:
I have an external hard drive with an ubuntu on it.
When I plug it, thanks to os-detect, I dont have to boot the OS in my internal drive
and run grub-mkconfig
I just choose the good line in the menu