Yesterday I posted how much I hate to modify /etc/fstab, and a solution. Today I'll post about another file that I just hate to edit, namely /boot/grub/menu.lst. As I often install and remove Linux distro's (Now I actually use VM's, because I'm using a Mac) for testing them, I often have to edit /boot/grub/menu.lst. On one computer, until a few days ago I still had an old SUSE entry from 5 months ago, since I don't like editing menu.lst and I was waiting for another occasion to edit it.
A few weeks ago, I bought this Mac. Of course, I installed Ubuntu on it. In order to boot Ubuntu, a special bootloader, named rEFIt, was required. Well, I installed rEFIt (which was very easy, but after all, it's a Mac we're talking about, right?), and what suprised me was that it didn't had a menu.lst or something similar. Instead, each time it boots, it automatically detects any OS'es present and creates a nice boot menu (I mean the graphical with icons for each OS kind of nice, not the MS-DOS like text boot menu kind of nice) with all OS'es on my Mac! Well, Ubuntu could use something like that. If you read my other post (Automatically mount present filesystems), you will see that it fits exactly into the same idea. Simply tell the patched Grub to automatically add ROOTDEV=/dev/blablablah to the boot param's. Easy as what, and yet another config file eliminated.
Tags:
(none)