[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#579742: kfreebsd



Package: win32-loader

Hi.  Loading kfreebsd from win32-loader is simple, I made this patch based on grub.cfg from the D-I images.

Sorry I don't know about NSIS part, but if the files are in C:/win32-loader/ it should boot.

Index: main.nsi
===================================================================
--- main.nsi	(revision 63034)
+++ main.nsi	(working copy)
@@ -653,8 +653,10 @@
 $\n'
   ${Endif}
   FileWrite $0 "\
-linux	/win32-loader/linux $preseed_cmdline$\n\
-initrd	/win32-loader/initrd.gz$\n\
+kfreebsd		/win32-loader/kfreebsd.gz$\n\
+kfreebsd_module_elf	/win32-loader/acpi.ko$\n\
+kfreebsd_module		/win32-loader/mfsroot.gz type=mfs_root$\n\
+set			kFreeBSD.vfs.root.mountfrom=ufs:/dev/md0$\n\
 boot$\n"
   FileClose $0
 

Reply to: