Add --root=DEVICE parameter support when boot NetBSD.
PATCH 1/1 Add --root=DEVICE parameter support when boot NetBSD.
Currently grub2 tries to guess root device name in OS notation basing on BIOS number. This fails in multiple cases. This patch lets user specify root device.
Signature · 4 lines
Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git
ChangeLog +11 -0
@@ -1,5 +1,16 @@ 2009-08-23 Vladimir Serbinenko <[email protected]> + Let user specify NetBSD root device. + + * loader/i386/bsd.c (netbsd_root): New variable. + (netbsd_opts): New option 'root'. + (NETBSD_ROOT_ARG): New macro. + (grub_netbsd_boot): Use 'netbsd_root'. + (grub_bsd_unload): Free 'netbsd_root'. + (grub_cmd_netbsd): Fill 'netbsd_root'. + +2009-08-23 Vladimir Serbinenko <[email protected]> + * commands/search.c (search_fs): Try searching without autoload first. * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load filesystem module explicitly for faster booting.
loader/i386/bsd.c +34 -10
87 lines not on this page · raw message
Committed as approved by Robert Millan for fast-track acception.
Quoted 10 lines · Vladimir 'phcoder' Serbinenko
Currently grub2 tries to guess root device name in OS notation basing on BIOS number. This fails in multiple cases. This patch lets user specify root device.
--
Regards
Vladimir 'phcoder' SerbinenkoPersonal git repository: http://repo.or.cz/w/grub2/phcoder.git
Signature · 4 lines
Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git