Testing Done: |
|
---|
10066 loader: Add isoboot(5) for booting BIOS systems from HDDs containing ISO images.
Review Request #1324 — Created Dec. 14, 2018 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
10066 | |
5534e32... | |
Reviewers | |
general | |
FreeBSD update: https://svnweb.freebsd.org/base?view=revision&revision=332084 This is part of a project for adding the ability to create hybrid CD/USB boot images. In the BIOS case when booting from something that isn't a CD we need some extra boot code to actually find our next stage (loader) within an ISO9660 filesystem. This code will reside in a GPT partition (similar to gptboot(8) from which it is derived) and looks for /boot/loader in an ISO9660 filesystem on the image.
Created and published the iso (http://148.52.235.80.sta.estpak.ee)
-
-
usr/src/boot/lib/libstand/cd9660read.c (Diff revision 1) I guess it's mainly to follow upstream, but it's weird that this lives in libstand, when in fact it doesn't use the libstand stuff like struct open_file etc. It's a special for isoboot only and should really be part of that dir - especially as the .c file is directly included!
So, if we want to leave this here, I think it'd be useful to add a comment explaining why it's here, its relationship to cd9660.c, and who actually uses it.
-
-
usr/src/boot/sys/boot/i386/isoboot/Makefile (Diff revision 1) Identation is a bit random in this Makefile: remove all the tabs/spaces so they're consistent?
-
-
-
-
usr/src/man/man5/isoboot.5 (Diff revision 1) Are we planning to deliver a tool, or documentation, on exactly how to construct such USB disks in the future? Right now it seems pretty obscure.
-
-
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+1114 -31) |
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+1112 -31) |
Change Summary:
rebase on 10028
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+1112 -31) |
Change Summary:
../common/drv.c:31: warning: no previous prototype for 'drvsize'
../common/drv.c:79: warning: no previous prototype for 'drvwrite'
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 5 (+1112 -33) |
Change Summary:
install needs proper filemode.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 6 (+1113 -33) |