From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NGgTK-0008NR-4w for mharc-grub-devel@gnu.org; Fri, 04 Dec 2009 17:17:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGgTH-0008MF-T9 for grub-devel@gnu.org; Fri, 04 Dec 2009 17:17:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGgTH-0008Ll-23 for grub-devel@gnu.org; Fri, 04 Dec 2009 17:17:51 -0500 Received: from [199.232.76.173] (port=58425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGgTG-0008Le-Qm for grub-devel@gnu.org; Fri, 04 Dec 2009 17:17:50 -0500 Received: from fg-out-1718.google.com ([72.14.220.155]:36324) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGgTG-0002CF-JP for grub-devel@gnu.org; Fri, 04 Dec 2009 17:17:50 -0500 Received: by fg-out-1718.google.com with SMTP id 19so94953fgg.12 for ; Fri, 04 Dec 2009 14:17:47 -0800 (PST) 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 :x-enigmail-version:content-type; bh=0IrwsMdDSBAwGQnPkNm3YOlEYMGnVeAOxazXCdKpD1s=; b=A3NQn6tJHHdw/H2y5U1rDx4h3SS0oRGsEiQV2SHFJ18UuRllzw7ZpBJNxmuahmfVeR soTeUfjH6Ia4E6mqoquW3uR1NFe+5/HWPwDp/GxL3dt8IQm45DIfRh96u6MYLRZhGd8C DXJTQ55bzGIdnTFNhuLFaoWZQbpFhTjo3N5kA= 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:x-enigmail-version:content-type; b=hlxceOV8P1IB5AASkn1FK3wgMVGwr0f4P9xnnUUSqjMhyWxD0C/l64zZ2s46cejMpJ 8mBz4CtXpT9/x8Y2kw9yUl8+HvyZB/l8ebthXnKGBieYpGG0NAWorrc3eMs6/TtLy6BJ +QIZAITfKl+t83Ulq/8dMdyBzoCaEo2VenTZE= Received: by 10.86.184.35 with SMTP id h35mr3063618fgf.18.1259965067396; Fri, 04 Dec 2009 14:17:47 -0800 (PST) Received: from debian.bg45.phnet (189-12.0-85.cust.bluewin.ch [85.0.12.189]) by mx.google.com with ESMTPS id l19sm22827105fgb.28.2009.12.04.14.17.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Dec 2009 14:17:46 -0800 (PST) Message-ID: <4B198A82.7060505@gmail.com> Date: Fri, 04 Dec 2009 23:17:38 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20091202202646.GD23641@turki.gavron.org> <4B17D641.4070000@gmail.com> <2e59e6970912031627h5c9839b7wcf01171ee7574c8c@mail.gmail.com> <20091204213649.GP1528@thorin> In-Reply-To: <20091204213649.GP1528@thorin> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigAF90666F347BA377F0DC5E73" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: USB device not seen by grub X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2009 22:17:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAF90666F347BA377F0DC5E73 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Robert Millan wrote: > On Thu, Dec 03, 2009 at 06:27:07PM -0600, richardvoigt@gmail.com wrote:= > =20 >> 2009/12/3 Vladimir '=CF=86-coder/phcoder' Serbinenko : >> =20 >>> Chris Jones wrote: >>> =20 >>>> I am trying to have grub boot off a partition on a USB stick. >>>> >>>> >>>> =20 >>> You can't chainload to disk invisible by BIOS. But you can load >>> supported OSes from it. >>> =20 >> What would be necessary to enable chainload to such devices? Install >> an IRQ 19 handler? >> =20 > > Yeah, something like that. In essence, GRUB acting as a BIOS. Sounds = awful, > but hey we already have "efiemu". > > =20 It's by far not the same thing. EfiEmu emulates only RuntimeServices. EFI has two types of functions: BootServices and RuntimeServices. BootServices are only available when boot loader is running and are terminated on kernel launch. RuntimeServices are always available but have very small number of functions. And actually GRUB acts only as a loader to efiemu??.o and real functions are contained in efiemu??.o which is quite small For BIOS disks emulations we would need much more functions but we could adopt a similar approach. E.g: bioshook usbbios.o chainloader (usb0,1)+1 usbbiso.o may of course be compiled from GRUB files but has to be standalone. There are few tricky parts associated with this process but basically it would be an overblown drivemap. But I don't see any real reason to make even small fraction of required effort since GRUB2 is able to load many free OS directly and so can load them of an BIOS-invisible disks without any problems. Some free OS are still out of GRUB family like Minix is but I would gladly accept a port of it (which is orders of magnitude easier to do) As of proprietary OS I think we need to support them only to the etent of what they are able to do themselves. Documentation on such OS are often scarce and anything we do may completely break with new version. And all of this only to make good to someone who would like to see every free software die? --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigAF90666F347BA377F0DC5E73 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksZiogACgkQNak7dOguQglqJwD/UMpL5MleSprAf7G7JZSl9dvd Zwwfzq2vTxZfd4tNTp0A/jlImUk96kRBD9M2lMrOmiAJgCEMjKJRhFnEEYVLEmnF =Y7C6 -----END PGP SIGNATURE----- --------------enigAF90666F347BA377F0DC5E73--