From owner-freebsd-current@FreeBSD.ORG Mon Sep 16 15:45:09 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F38DBE0B for ; Mon, 16 Sep 2013 15:45:08 +0000 (UTC) (envelope-from eentsalu@gmail.com) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 914052732 for ; Mon, 16 Sep 2013 15:45:08 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id cb5so3627713wib.3 for ; Mon, 16 Sep 2013 08:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=rOdBigA9kKY6nDztkY4lMrNbumhvD9+pdt8XNZYyKKM=; b=XyD0DvP5meTHqiIY3URY8ndJPh5AheFapPSS7qHL8++L6YQfRusvRZjQ9Nb9AdmhQC GAw8UDdVFj8GkYrtKpYCjFk12XEI2dkX2br7KoLTDvditR7EsBhNbTQswVsgNuPYz7lt 2Q3VjgbH+9BUz4Ejako+kx5YQo3yw7G4PcWfM7H3azsyA/aTk/OLSBCo0Dkbv5lUb4Vv OQQ6y6ZY2jqpr6zXEJrSbqW2IotZV00nSRZpheExbpTBfLvqNPcBBxQixF+2mOzOO3vY jJ5Vne9d4oCDoj2ojfysuKGVJc/dY56uUcWEBRC043FrvnoKThfBNiVa3symX+2kXZbR O6cQ== MIME-Version: 1.0 X-Received: by 10.180.212.51 with SMTP id nh19mr14028579wic.14.1379346307061; Mon, 16 Sep 2013 08:45:07 -0700 (PDT) Received: by 10.216.57.71 with HTTP; Mon, 16 Sep 2013 08:45:06 -0700 (PDT) Date: Mon, 16 Sep 2013 18:45:06 +0300 Message-ID: Subject: Re: iSCSI boot ... root? From: Kristjan Eentsalu To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Mon, 16 Sep 2013 15:45:09 -0000 On 16.09.2013 13:35, Edward Tomasz Napiera=B3a wrote:> Wiadomo=B6=E6 napisa= na 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.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