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:
linux-2_6_13-bootblock_u.DEFANGED-1
Description: application/defanged-1
- Follow-Ups:
- Re: [i386 BOOT CODE] kernel bootable again
- From: Frank Sorenson <[email protected]>
- Re: [i386 BOOT CODE] kernel bootable again
- Prev by Date: Re: [PATCH 2.6.13 2/14] sas-class: README
- Next by Date: Re: [2.6.14-rc1] sym scsi boot hang
- Previous by thread: [2.6.14-rc1] sym scsi boot hang
- Next by thread: Re: [i386 BOOT CODE] kernel bootable again
- Index(es):