summaryrefslogtreecommitdiffstats
path: root/release/amd64/make-memstick.sh
Commit message (Collapse)AuthorAgeFilesLines
* Prevent memstick installation medium from attempting to mountgjb2016-01-051-0/+2
| | | | | | | | | | | the root filesystem read-write. This causes problems booting the memstick installation medium from write-protected USB flash drives. Submitted by: A.J. Kehoe IV [1], Oliver Jones [2] PR: 187161 [1], 205886 [2] MFC after: 1 week Sponsored by: The FreeBSD Foundation
* Now that GENERIC can boot on UEFI systems (r268158), switch the build to usenwhitehorn2014-07-021-10/+3
| | | | | UEFI-compatible images. These will boot as before on BIOS systems, but will boot using the UEFI loader on UEFI-aware systems.
* Fix indentation for diff reduction with commits to follow.gjb2014-04-251-11/+11
| | | | Sponsored by: The FreeBSD Foundation
* Revert r264907 and r264908:gjb2014-04-251-61/+16
| | | | | | | | | | | | Restore make-memstick.sh back to its original state to unbreak booting for machines that do not support GPT. I have in-progress work to keep the MBR layout and add the EFI partition, but it is not yet ready, and does need at least one full release build to be certain it does not break. Sponsored by: The FreeBSD Foundation
* Style cleanupgjb2014-04-251-24/+24
| | | | | | | | | | - Indent 1 full tab where needed - Use $() for shell exec - Insert a space between '$(( ))' parens MFC After: 1 week X-MFC-With: r264907 Sponsored by: The FreeBSD Foundation
* Refactor make-memstick.sh to avoid creating the 'dangerouslygjb2014-04-251-6/+51
| | | | | | | | | | | | | | | | | | | dedicated' partition scheme, reported to cause the memstick.img to fail to boot. Similar to how make-memstick.sh worked on stable/8, use makefs(8) to create the actual filesystem. Then calculate the size of the resulting image file, create the GPT partition scheme, then dd(1) the filesystem created with makefs(8) to the freebsd-ufs GPT partition. This was tested on a known-working machine[1] for regression, and a known-not-working machine[2] to ensure the boot issue has been resolved. Testers: myself [1], db [2] MFC After: 1 week Sponsored by: The FreeBSD Foundation
* Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT tonwhitehorn2011-10-091-35/+5
| | | | | | fix problems with some BIOSes. MFC after: 3 days
* Mount memsticks read-only by default to prevent them being filled bynwhitehorn2011-07-301-1/+1
| | | | | | user modifications and subsequently preventing a functioning installation. Approved by: re (kib)
* Use labels to find release media instead of hard-coded device paths. Thisnwhitehorn2011-03-221-14/+9
| | | | | | | | 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
* Add generation of memstick images to the bsdinstall release makefile fornwhitehorn2011-03-131-0/+83
i386 and amd64. This involved moving the memstick generation script to the arch directories from scripts/, in analogy to mkisoimages.sh. This script was never called from /usr/src/release/Makefile, so that hasn't been updated.
OpenPOWER on IntegriCloud