Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 18:45:06 +0300
From:      Kristjan Eentsalu <eentsalu@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: iSCSI boot ... root?
Message-ID:  <CAH9ezV3JP2LQC8tYX5BkyjAGE4%2BamOiT0_h=4Rruwo1P41RqUQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
On 16.09.2013 13:35, Edward Tomasz Napiera=B3a wrote:> Wiadomo=B6=E6 napisa=
na
przez Zaphod Beeblebrox <zbeeble@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH9ezV3JP2LQC8tYX5BkyjAGE4%2BamOiT0_h=4Rruwo1P41RqUQ>