aboutsummaryrefslogtreecommitdiff
path: root/release/amd64/make-memstick.sh
Commit message (Collapse)AuthorAgeFilesLines
* Now that GENERIC can boot on UEFI systems (r268158), switch the build to useNathan Whitehorn2014-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. Notes: svn path=/head/; revision=268162
* Fix indentation for diff reduction with commits to follow.Glen Barber2014-04-251-11/+11
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264933
* Revert r264907 and r264908:Glen Barber2014-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 Notes: svn path=/head/; revision=264922
* Style cleanupGlen Barber2014-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 Notes: svn path=/head/; revision=264908
* Refactor make-memstick.sh to avoid creating the 'dangerouslyGlen Barber2014-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 Notes: svn path=/head/; revision=264907
* Use UFS labels and bsdlabels (like the 8.x memsticks) instead of GPT toNathan Whitehorn2011-10-091-35/+5
| | | | | | | | | fix problems with some BIOSes. MFC after: 3 days Notes: svn path=/head/; revision=226170
* Mount memsticks read-only by default to prevent them being filled byNathan Whitehorn2011-07-301-1/+1
| | | | | | | | | user modifications and subsequently preventing a functioning installation. Approved by: re (kib) Notes: svn path=/head/; revision=224504
* Use labels to find release media instead of hard-coded device paths. ThisNathan Whitehorn2011-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 Notes: svn path=/head/; revision=219856
* Add generation of memstick images to the bsdinstall release makefile forNathan Whitehorn2011-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. Notes: svn path=/head/; revision=219584