Commit Graph

22 Commits

Author SHA1 Message Date
Marcel Moolenaar
849bfe07e3 Fix the bootable CD:
o   We need wait a bit before attempting the root mount. The CD drives
    on HP machines (typical) go through the management controller so
    that it can be virtualized. In practice what this means is that it
    is slow to detect and attach.
o   Tell the kernel what to use as the root file system. The /etc/fstab
    trick doesn't work, because we're on the EFI-compatble file system.
2013-08-03 20:14:29 +00:00
Hiroki Sato
de17cbcc7e - Add CHECKSUM.* support in Makefile[1].
- Use ln -fs to create a symlink.
- Remove pkgadd for docports.
- Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no.
- Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE.
- Use makefs(8) and gpart(8) for sparc64 ISO image[2].
- Add publisher option to makefs(8)[2].

Based on work by:	gjb[1]
Discussed with:		marius, nwhitehorn[2]
2013-02-03 10:26:24 +00:00
Marcel Moolenaar
9328129346 Add now missing color.4th. 2013-01-12 23:44:13 +00:00
Hiroki Sato
0e4b6f5ed7 ISO 9660 specification allows only "d-characters" and "a-characters" in the
Volume Descriptor (section 7.4).  In short, upper-case alphanumeric + some
symbols only.  While the makefs utility automatically converts the characters,
$LABEL should be consistent in the scripts.
2013-01-08 21:13:58 +00:00
Marcel Moolenaar
fd1c5f4365 Add check-password.4th and screen.4th to the boot image. They are
needed by the loader.
2011-11-06 21:57:12 +00:00
Marcel Moolenaar
ad1de6722c Don't clobber the hosts /etc/fstab. $1 is empty at this point. 2011-06-06 18:25:11 +00:00
Marcel Moolenaar
4032939145 Fix ia64 ISO creation:
o   boot/mfsroot.gz is no more. Copy it only when it exists so as still
    to be compatible with Makefile.sysinstall.
o   while here, make ispfw.ko optional as well.
o   '-b bootimage' is not a valid argument for makefs. What was meant
    was '-o bootimage'.
o   create the boot image in the current directory so that makefs can
    find the file. Previously it had to be created under $BASE because
    that's how mkisofs wanted it.
2011-06-06 01:52:15 +00:00
Nathan Whitehorn
87930d9da2 Convert IA64 ISO script to use makefs instead of mkisofs. 2011-05-05 14:16:40 +00:00
Nathan Whitehorn
0877c11eda Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by:	many
2011-03-22 01:14:53 +00:00
Marcel Moolenaar
dbd9a3aab3 The EFI system partition used to make the CD image bootable is running
out of space. Bump it up...
2010-05-28 17:50:35 +00:00
Marcel Moolenaar
1cf165afe7 Increase the size of the EFI system partition from 16M to 20M.
We just ran out of space...
2008-04-08 02:57:59 +00:00
Ken Smith
9253618760 The current version of mkisofs is warning us that the -P option will
be changing with the next version, and we should be using -publisher
instead.

Also warned by:	trhodes
MFC after:	1 week
2005-01-30 21:10:52 +00:00
Marcel Moolenaar
eb6000e2f3 Put the ispfw.ko module on the EFI boot partition when creating a
bootable ISO. HP machines (like the rx2600) that (also) have isp(4)
may have a non-standard firmware on the controller. Our isp(4) driver
is not able to work with those and even panics. This makes installing
FreeBSD rather impossible. By adding the ispfw.ko module, we give the
user a chance to upload a certified firmware onto the card and so make
it possible to either use the isp(4) successfully or otherwise avoid
the panic.
2004-08-29 19:52:33 +00:00
Marcel Moolenaar
a6c0289214 Favor building the cdrtools port over fetching the package. There
hasn't been any package build for ia64 for a long time and in this
case it means that the cdrtools package on the FTP sites is one that
doesn't have mkisofs. This breaks the release build. By trying to
build the port first, we protect ourselves a bit more against this.
2004-08-10 05:43:40 +00:00
Murray Stokely
f009648120 Add a publisher variable with the URL for the FreeBSD Project, and put
this into the ISO headers by specifying the -P option to mkisofs.

Obtained from: share/examples/worm/makecdfs.sh
2004-07-15 09:28:03 +00:00
Kris Kennaway
57a3bc4163 Set BATCH=yes to avoid bumping into interactivity in the port builds.
XXX /usr/ports is still hardcoded, should be ${PORTSDIR}
2004-07-12 07:59:25 +00:00
Marius Strobl
156b04cce4 mkisofs(8) is now installed by sysutils/cdrtools.
This will be instantly MFC'ed.
2004-06-02 22:21:15 +00:00
Ruslan Ermilov
8189277801 - Removed vestiges of the IA64 boot floppy support.
- Fixed the bootable CD-ROM support for IA64.

Reviewed by:	marcel
Tested by:	marcel
2003-08-03 15:06:00 +00:00
Ruslan Ermilov
0902bdbe14 Make IA64 a second port that comes with NO_FLOPPIES.
Reviewed by:	marcel
2003-07-29 18:29:44 +00:00
Marcel Moolenaar
4d34acc792 Double the size of the EFI boot image. 5MB is not enough. The kernel
is not compressed.
2002-11-11 00:48:35 +00:00
Marcel Moolenaar
89d0068681 Make bootable ISO images by either 1) extacting the EFI partition
we created for the boot floppy, or 2) construct an EFI partition
by copying bits from /boot. The first approach creates a bootable
CD image that loads a memory disk and starts sysinstall, the second
approach creates a generic bootable CD.
2002-11-10 09:12:42 +00:00
Marcel Moolenaar
5070e7e402 Shamelessly copy the files over from the sparc64 port. Since there
was no history to speak of, a repocopy would not have bought us
anything. Versions copied:
	../sparc64/boot_crunch.conf,v 1.3 2002/11/01 15:29:35 jhb
	../sparc64/dokern.sh,v 1.1 2002/10/13 18:36:06 jake
	../sparc64/mkisoimages.sh,v 1.1 2002/10/13 18:36:06 jake

obtained from: jake, jhb
chapeau: jkh (mkisoimages.sh)
2002-11-02 20:31:54 +00:00