From: "Pascal Bellard" <pascal.bellard@ads-lu.com>
To: Riley@Williams.Name
Cc: Linux-Kernel@vger.kernel.org
Subject: [i386 BOOT CODE] kernel bootable again
Date: Tue, 13 Sep 2005 15:46:16 +0200 (CEST) [thread overview]
Message-ID: <33542.85.68.36.53.1126619176.squirrel@212.11.36.192> (raw)
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
Hello,
Please find attached a patch to build i386/x86_64 kernel directly
bootable. It may be usefull for rescue floppies and installation
floppies.
System sector count is updated by tools/bluid.c at offset 495. The
system could be up to 32 Mb long.
-- support any drive geometry --
Disk geometry detection assumes that no error raises on first track.
First track is read sector by sector and the first error determinates
the sectors per track count. Next, reads are performed track by track.
Tested on floppy H2/S18 and harddisk H16/S63. Should work on
every exotic drive supporting Int13h CHS.
-- cmdline support --
If ram_size (offset 504) bit 13 is set, the kernel cmdline
is load from the sector following the kernel image.
If Ctrl, Alt, Shift or CapsLock is pressed the kernel cmdline is
prompted until Enter key. BackSpace is supported.
Regards,
-pascal
[-- Attachment #2: linux-2_6_13-bootblock_u.DEFANGED-1 --]
[-- Type: application/DEFANGED-1, Size: 34289 bytes --]
next reply other threads:[~2005-09-13 13:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 13:46 Pascal Bellard [this message]
2005-09-13 19:04 ` Frank Sorenson
2005-09-13 19:42 ` H. Peter Anvin
2005-09-14 9:42 ` Pascal Bellard
2005-09-14 9:55 ` Martin Mares
2005-09-14 16:38 ` H. Peter Anvin
2005-09-17 15:26 ` Giuseppe Bilotta
2005-09-17 15:56 ` Jesper Juhl
2005-09-17 16:19 ` Giuseppe Bilotta
2005-09-19 2:13 ` Coywolf Qi Hunt
2005-09-14 9:52 ` Pascal Bellard
2005-09-20 17:13 Etienne Lorrain
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=33542.85.68.36.53.1126619176.squirrel@212.11.36.192 \
--to=pascal.bellard@ads-lu.com \
--cc=Linux-Kernel@vger.kernel.org \
--cc=Riley@Williams.Name \
/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
all inboxes | Powered by JetHome®