From: Beeblebrox <zaphod@berentweb.com>
To: grub-devel@gnu.org
Subject: Fwd: grub2 boot freedos kernel.sys
Date: Fri, 30 Aug 2013 09:50:42 +0300 [thread overview]
Message-ID: <CAPSTskvPD7q+xh71mfyy_uUEc_FUGK0YX2D5JX-iEYV286vbGg@mail.gmail.com> (raw)
In-Reply-To: <CAPSTsksNaYcSDPCkz0NoyjgJu784oLBz0bduzo4MH-AMK4pNQA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]
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 (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)
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.
Thanks.
[-- Attachment #2: Type: text/html, Size: 1846 bytes --]
next prev parent reply other threads:[~2013-08-30 6:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 9:04 grub2 boot freedos kernel.sys Beeblebrox
2013-08-28 14:43 ` Lennart Sorensen
2013-08-28 17:21 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-28 19:19 ` Lennart Sorensen
2013-08-30 6:50 ` Beeblebrox [this message]
2013-08-31 4:42 ` Andrey Borzenkov
2013-09-05 7:29 ` Beeblebrox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPSTskvPD7q+xh71mfyy_uUEc_FUGK0YX2D5JX-iEYV286vbGg@mail.gmail.com \
--to=zaphod@berentweb.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).