From owner-freebsd-current@FreeBSD.ORG Tue Sep 17 08:21:15 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4BEE451A for ; Tue, 17 Sep 2013 08:21:15 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CE990241D for ; Tue, 17 Sep 2013 08:21:14 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id w7so5021050lbi.22 for ; Tue, 17 Sep 2013 01:21:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=8emWp2n0MKYEm3Refwogi3S379PdOK3UVAjwr3KTwoI=; b=tw4cqWSCEP2bPtKgjAg1k6mX+udbDDTniDIXQt3bu2Z0aLUIJJp8CzWfPL41MA1qLJ X0PqiQzefBJcLDQnYjYrjjUlH33oHGWvEkhJ9lUxAV2KhwkuTnnApwOcLVBrR7lbh/Jp AbieWziThQc0ehuDjfcvE3yYfYq7OVDsVob/2N74Nt5ks+5xj5Qo/VuqupYyxENLGKDw 95bNSrwCtI8BayHCNoXbjprOdxG+XQ/xc/yDlXjGvr9x3tE51Tf76RXE65nB5sDRyjsd pLGbGCMoZ4XWU5wCaRrmFuJhLZp9mwtygTM7+cu9dSKBhJicdGsjmHplCSfx9G3aWlqi MT7g== MIME-Version: 1.0 X-Received: by 10.112.40.110 with SMTP id w14mr264248lbk.42.1379406072176; Tue, 17 Sep 2013 01:21:12 -0700 (PDT) Received: by 10.112.155.137 with HTTP; Tue, 17 Sep 2013 01:21:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 17 Sep 2013 10:21:12 +0200 Message-ID: Subject: Re: iSCSI boot ... root? From: Daniel Nebdal To: Kristjan Eentsalu Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Sep 2013 08:21:15 -0000 On Mon, Sep 16, 2013 at 5:45 PM, Kristjan Eentsalu wro= te: > On 16.09.2013 13:35, Edward Tomasz Napiera=B3a wrote:> Wiadomo=B6=E6 napi= sana > przez Zaphod Beeblebrox 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.or= g" >> > > 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 Oh wow, that is rather neat. I don't actually have any use for it, but now I'm kind of tempted to try and find one.