iSCSI boot ... root?

Kristjan Eentsalu eentsalu at gmail.com
Mon Sep 16 15:45:09 UTC 2013


On 16.09.2013 13:35, Edward Tomasz Napierała wrote:> Wiadomość napisana
przez Zaphod Beeblebrox <zbeeble at gmail.com> w dniu 16 wrz 2013, o godz.
07:35:
>> Is it now possible to boot from iSCSI?  I'm not talking about an iSCSI
>> controller, but with
>>
>> pxe -> dhcp -> tftp (loads loader) -> (something) -> boot (mounts root
from
>> iSCSI)
>
> Not yet.  The iSCSI initiator requires iscsid(8) in order to work, and
you can't
> run it before mounting root.
>
> I think the proper way to do this would be by doing something similar to
Linux'
> initrd; i.e. booting from mdroot loaded by loader(8), run iscsid(8) from
there,
> setup iSCSI session, then mount the real root and pivot to it.  I'm not
sure if it's
> possible right now.
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>

Don't know if it works with CURRENT but You can use iPXE(formerly gPXE)
chainloading and isboot module.

http://ipxe.org/howto/chainloading
http://ipxe.org/howto/dhcpd
http://lists.freebsd.org/pipermail/freebsd-scsi/2012-August/005570.html


Kristjan


More information about the freebsd-current mailing list