From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VFd1l-0005On-K5 for mharc-grub-devel@gnu.org; Sat, 31 Aug 2013 00:43:13 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFd1e-0005Cx-N6 for grub-devel@gnu.org; Sat, 31 Aug 2013 00:43:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFd1a-0007qb-8n for grub-devel@gnu.org; Sat, 31 Aug 2013 00:43:06 -0400 Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:49796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFd1a-0007na-1V for grub-devel@gnu.org; Sat, 31 Aug 2013 00:43:02 -0400 Received: by mail-lb0-f180.google.com with SMTP id q8so2416951lbi.25 for ; Fri, 30 Aug 2013 21:43:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=B3A/vmEUPvf0aNgc0fl5TBcKfrdpPxhxZ+GbMtKz02I=; b=fRkzdJa0E2XYwghYJH1VfJVxkuCLvuHg9w9iwwNIa4/bPcz/9MQhNsMQTFFNXT4/ky qqmDLEMCuT/NPEZddKQVJPMUgdiFaVBIxnX1Wl34bQWvGNahZ5SIN2HOh8eq2+akaGpk qypczhhmWy+hYMk4jvph5FmhDdQ/h0qX8e4hGJyOXCossF7YHNbPMGPjDmU4COToaFo7 UbOIt4nY2oXHDvSUqCCuwocJ/q7lw439+Q0fPTiyzjiaIw12eJ96NTDPc/cVqXEhUn5+ NJfT46thUzwHR9X+gphXVLzReAnbsBAx/+MF+X/l978nL6ruBmZupeNUivfYj9sdUu+3 cTCA== X-Received: by 10.152.44.225 with SMTP id h1mr11028146lam.15.1377924180395; Fri, 30 Aug 2013 21:43:00 -0700 (PDT) Received: from opensuse.site (ppp79-139-160-84.pppoe.spdop.ru. [79.139.160.84]) by mx.google.com with ESMTPSA id vs11sm546292lac.3.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 30 Aug 2013 21:42:59 -0700 (PDT) Date: Sat, 31 Aug 2013 08:42:58 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: grub2 boot freedos kernel.sys Message-ID: <20130831084258.62e9f493@opensuse.site> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 Cc: zaphod@berentweb.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Sat, 31 Aug 2013 04:43:11 -0000 В Wed, 28 Aug 2013 12:04:31 +0300 Beeblebrox пишет: > I would like to know if the following is possible: > > * USB thumb drive has grub-1.98 on hd(0,1) gpt layout (boot-bios is hd0,2) > * hd(0,1)/boot/freedos has files > autoexec.bat, command.com, config.sys, kernel.sys, sys.com > Un-tarred from freedos FDOEM.144 and copied into folder > * Boot into USB drive's grub2 boot menu and try to boot freedos by: > menuentry "DOS kernel" { > root=UUID=8D40-EC8D > chainloader --ebx=0x0180 (hd0,1)/boot/freedos/kernel.sys > boot } > gives err msg: "wrong signature". Probably expected, since files being > booted are for a "virtual floppy", but I also tried it with the files from > ke386f32 .zip as well. > > Q: Is what I'm trying to do possible? > I don't want to boot into a ram-limited 1.44 or 2.88 virtual floppy. My > purpose for this is to be able to make mobo BIOS-updates (place BIOS > dosflash.exe + bios.rom files on USB drive, boot into grub2 -> chainload to > dos, mount thumbdrive in dos to make files visible, run dosflash.exe) > If I understand correctly what you are trying to do, the following should work: http://sourceforge.net/apps/mediawiki/freedos/index.php?title=USB It describes how to create bootable FreeDOS USB stick using grub legacy which should be trivially extrapolated to grub2. > I asked this question on the freedos mail list, but they could not help > much because of insufficient grub2 expertise. The feasibility of the > concept is described here: > http://www.novell.com/coolsolutions/feature/3612.html > I would appreciate some help on how to get this done, or if someone has > ideas on how to flash the BIOS using the grub2 menu, that would also work. > Regards.