From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LoYju-0006Cb-B5 for mharc-grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoYjs-0006CI-W8 for grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoYjo-0006Bj-Gs for grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:28 -0400 Received: from [199.232.76.173] (port=40805 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoYjo-0006Bg-Ah for grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:24 -0400 Received: from mx20.gnu.org ([199.232.41.8]:20417) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LoYjm-00011l-Jw for grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:23 -0400 Received: from mail-fx0-f166.google.com ([209.85.220.166]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoYjl-0001bz-5h for grub-devel@gnu.org; Tue, 31 Mar 2009 03:50:21 -0400 Received: by fxm10 with SMTP id 10so2189988fxm.42 for ; Tue, 31 Mar 2009 00:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=UAGk/IA3knUXVGFTGPnNhGuryTcvxrJMuK2upIiNUTk=; b=XiSDDnGyaXadjV6wkmE9AjN69gPnknnBIQLGSgDo54LiiqTuongQUKh4PMxcolK+PU ggi/18FuDDZ6qLe5LoQhRlFFjfoMl7URGGlKbzPtV5uBs9Gl2qM8i7MJ8w4siwFqRL6Q Q2FTFopwmzESpDIg80jQjivRW66cD2TIaDA24= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Sg0ubyZWf1vkHhXPS1Y5RH7UXHTxyoWeUZjCNJkuPVMTuxMO5AMahX/luHEC2v0Oop N+XwiM3Vo0IaOnxzx1wiQIJ9XNyl25bDsFbIPnenyf1VHmq5uLZ7cgl8GRWNZ/5d7Ify M/t/9K5A/QJHG7MeiwZcjXKfodkQhwTZbK8aU= Received: by 10.223.126.10 with SMTP id a10mr4793322fas.17.1238485818995; Tue, 31 Mar 2009 00:50:18 -0700 (PDT) Received: from ?82.130.83.110? (hpx-public-dock-110-dhcp.ethz.ch [82.130.83.110]) by mx.google.com with ESMTPS id 12sm2734970fks.5.2009.03.31.00.50.18 (version=SSLv3 cipher=RC4-MD5); Tue, 31 Mar 2009 00:50:18 -0700 (PDT) Message-ID: <49D1CB39.2080309@gmail.com> Date: Tue, 31 Mar 2009 09:50:17 +0200 From: phcoder User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: The development of GRUB 2 References: <4b0e68160903291254u26b4dd18g4f974116e97b70c7@mail.gmail.com> <200903301306.42256.michael@gorven.za.net> <4b0e68160903301948o38e0b836q7a626dd9d3d6ac33@mail.gmail.com> <200903310945.56576.michael@gorven.za.net> In-Reply-To: <200903310945.56576.michael@gorven.za.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Current state of grub2 encryption support X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 07:50:29 -0000 Michael Gorven wrote: > On Tuesday 31 March 2009 04:48:02 steve wrote: >> Update, i was able to get the right modules to load into a core.img by >> making the encrypted partition start at 1mb instead of 32.5kb, the modules >> loaded into core.img were: > > Nice! I briefly looked at getting everything into core.img, but it seemed > impossible. That's a nice solution though. How big is the smallest core.img you could get? Have you tried applying my bootmove patch? > >> At boot, i issue the ls command which causes it to find the luks partition >> and ask for the password, after that point i am able to have it read a >> grub.cfg file from (lk0)/boot/grub/grub.cfg, which then loads the kernel. > > I haven't gotten round to trying this, but ideally core.img should be > configured to look for the config file on an encrypted partition so that it > automatically prompts for the password and then loads the menu. > > Michael > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko