Fix for grub 2.00/bzr kfreebsd to boot 9.1 kernels



Hi!

I'm in the process of testing 9.1 on the laptop where I use grub2
because I had to put bsd in an `extended' slice, and I found out
grub2 won't boot the 9.1 kernel. Asked on #grub where phcoder
found the fix after I made him a test iso using grub-mkrescue:

http://paste.debian.net/180121/

Applied that to grub 2.00 from here:

http://ftp.gnu.org/gnu/grub/grub-2.00.tar.xz

(built on a Linux debian slice with checkinstall), and that got
the 9.1 kernel booting. So maybe the sysutils/grub2 maintainer
(Cc'd) wants to update the port to 2.00 and add the patch in
files/? :) (It's still at 1.98 currently where the patch doesn't
apply.)

The kfreebsd way to boot this affects is the same as in this
earlier post:

http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-March/011828.html

(i.e. this is not chainloading bsd's loader but grub loading the
kernel and klds itself. I think this way to boot was originally
added by the debian kfreebsd guys, hence the command kfreebsd...)

HTH,
Juergen
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: lilo removal in squeeze (or, "please test grub2")
    ... In what way is it a vast improvement over LILO? ... how exactly would grub be a better choice for me? ... If something goes wrong converting from LILO to Grub2, ... custom kernel to grub rather than lilo should affect your kernel ...
    (Debian-User)
  • Fix for grub 2.00/bzr kfreebsd to boot 9.1 kernels
    ... I'm in the process of testing 9.1 on the laptop where I use grub2 ... because I had to put bsd in an `extended' slice, ... grub2 won't boot the 9.1 kernel. ... Applied that to grub 2.00 from here: ...
    (freebsd-stable)
  • Re: Fix for grub 2.00/bzr kfreebsd to boot 9.1 kernels
    ... An update of grub2 is long overdue, so I'll work on that right now. ... grub2 won't boot the 9.1 kernel. ... Applied that to grub 2.00 from here: ... The kfreebsd way to boot this affects is the same as in this ...
    (freebsd-stable)
  • Re: Fix for grub 2.00/bzr kfreebsd to boot 9.1 kernels
    ... An update of grub2 is long overdue, so I'll work on that right now. ... grub2 won't boot the 9.1 kernel. ... Applied that to grub 2.00 from here: ... The kfreebsd way to boot this affects is the same as in this ...
    (freebsd-current)
  • Experiences with FreeBSD 9.0-BETA2
    ... The new installer, while it's streamlined, still has many of the quirks of sysinstall and is missing a few features upon which I've come to rely. ... if the file system was being lumped together in one place, why break out the swap to an entirely separate slice? ... Next thing I did was try to recompile the kernel to streamline it and add features I want compiled in, ...
    (freebsd-current)