Newsgroups: fa.freebsd.questions Date: 2002-03-13 04:16:13 PST
> one advantage of Booteasy is that it keeps the last selected choice > as the default for the next boot process. I haven't found such a > feature neither in Lilo nor in Grub.
Grub doesn't make the last selected choice the default by default; you have to do it in the boot entry in the menu with the "savedefault" command. That will make the entry currently booting the default entry next time you boot. I.e., mine looks like:
title FreeBSD-stable savedefault root (hd0,1,a) makeactive kernel /boot/loader
title FreeBSD-current savedefault root (hd0,3,a) makeactive kernel /boot/loader
title TurboLinux savedefault root (hd0,2) kernel /boot/vmlinuz root=/dev/hda3
title Floppy root (fd0) chainloader +1
If I boot to Linux or FreeBSD, it makes that the default next time. If I boot from floppy, it doesn't - which behavior I much prefer.
mike
> > have to do it in the boot entry in the menu with the "savedefault" > Tank you. This is what i've been looking for!
You're welcome. Twice, as I wrote the code that implements that.
> > title FreeBSD-stable > > savedefault > > root (hd0,1,a) > > makeactive > > kernel /boot/loader > Is `kernel /boot/loader' better with FreeBSD than `chainloader +1'? > (I sometimes map in another BSD on the forth partition.)
Using /boot/loader skips the need for a boot block on the partition. Other than that, I don't think there's any difference.
mike