use loader to load kernel.gz and mfsroot.gz in an ext2 filesystem

Dan Nelson dnelson at allantgroup.com
Wed Jan 26 08:30:54 PST 2005


In the last episode (Jan 26), M. Warner Losh said:
> : I put loader,kernel.gz and mfsroot.gz in an ext2(dos) file system
> : on harddisk,and want to directly use grub or use grub and freebsd
> : loader(or other manner?) to boot the system.
> 
> You'll need to add support to libstand to read ext2 and/or DOS file
> systems.  That's the first step...

Libstand already supports both, and they are included into /boot/loader
( see the file_system[] array in /sys/boot/i386/loader/conf.c ), so it
should be able to boot off of both filessytems just fine.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list