HOWTO: install without floppy, cdrom, or pxe.

Alfred Perlstein bright at
Mon Dec 1 00:30:26 PST 2003

* Colin Percival <colin.percival at> [031201 00:27] wrote:
> At 00:18 01/12/2003 -0800, Alfred Perlstein wrote:
> >Then type these commands into the loader:
> >unload kernel
> >load /ikernel
> >load -t mfs_root /mfsroot
> >set vfs.root.mountfrom
> >boot          ^^^^^^^^^^^^^^
>   Surely that should be vfs.root.mountfrom="ufs:/dev/md0c" ?
>   It should also be possible to put the above into /boot/loader.rc.

Setting it blank seems to do the right thing.

What happens otherwise is that the loader starts booting, then
there's some code in it that "handily" parses the currdev's /etc/fstab
for you and sets vfs.root.mountfrom to the root (/) entry from the
fstab, then you wind up booting your old userland from god knows
what kernel.

I don't know what setting it to "ufs:/dev/md0c" would do.

- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright at cell: 408-480-4684

More information about the freebsd-hackers mailing list