summaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall
Commit message (Collapse)AuthorAgeFilesLines
* Provide an error message and error handling if there are no networkNathan Whitehorn2011-10-251-0/+7
| | | | | | | | | | | interfaces in the system. This is a non-fatal error except when doing a network installation. PR: bin/161950 MFC after: 3 days Notes: svn path=/head/; revision=226741
* Provide an error message instead of silent failure if no disks are presentNathan Whitehorn2011-10-251-4/+13
| | | | | | | | | | in the system. PR: bin/161950 MFC after: 3 days Notes: svn path=/head/; revision=226739
* Avoid some "Invalid argument" errors in the installer.Nathan Whitehorn2011-10-231-3/+20
| | | | | | | | PR: bin/161926 MFC after: 5 days Notes: svn path=/head/; revision=226666
* Escape the newline so we get a proper line continuation. Without thisKen Smith2011-10-181-1/+1
| | | | | | | | | | the text of the menu selections doesn't get displayed properly and it makes the installer appear to lock up for no obvious reason. Reviewed by: nwhitehorn Notes: svn path=/head/; revision=226507
* Avoid magicking into existence sub-partitions due to leftover blocks whenNathan Whitehorn2011-10-081-11/+22
| | | | | | | | | | | creating new ones by destroying any geom that may have come into existence immediately after adding a partition. The EBR partition scheme is particularly enthusiastic about false positives in this case. MFC after: 3 days Notes: svn path=/head/; revision=226161
* Usability enhancements: do not allow setting a mountpoint on bsdlabelNathan Whitehorn2011-10-081-1/+30
| | | | | | | | | | | container partitions, which didn't do anything anyway, and check for an existing freebsd-boot partition before bothering the user to make one. PR: bin/160931 MFC after: 3 days Notes: svn path=/head/; revision=226160
* Work around some behavior of gpart that I absolutely do not understand inNathan Whitehorn2011-10-074-62/+42
| | | | | | | | | | | order to make every operation of the partition editor fully revertable. Under *no circumstances* will it any longer touch the disks until the user presses Finish and confirms it. MFC after: 3 days Notes: svn path=/head/; revision=226083
* Move "Exit" to the first entry in the list, so that it is the defaultNathan Whitehorn2011-10-061-2/+2
| | | | | | | | | | choice. PR: bin/160913 MFC after: 3 days Notes: svn path=/head/; revision=226059
* Ask if you want to set the keymap before invoking kdbmap to preventNathan Whitehorn2011-10-061-0/+2
| | | | | | | | | | confusion. PR: bin/160913 MFC after: 3 days Notes: svn path=/head/; revision=226058
* Inquire about terminal type if starting from a serial console and doNathan Whitehorn2011-09-171-6/+4
| | | | | | | | | | | | not configure the host's networking if netbooted [1]. Also fix FTP installations behind some firewalls [2]. PR: bin/159583 [2] Reported by: stas [1] Approved by: re (kib) Notes: svn path=/head/; revision=225637
* Fix a typo introduced in r219892 that prevented file system options fromNathan Whitehorn2011-09-161-1/+1
| | | | | | | | | being set correctly. Approved by: re (kib) Notes: svn path=/head/; revision=225613
* Fix WPA setup broken by changes to shell argument passing inside theNathan Whitehorn2011-09-161-0/+1
| | | | | | | | | | installer network configuration. PR: bin/159558 Approved by: re (kib) Notes: svn path=/head/; revision=225612
* Allow WPA PSKs up to 63 characters, the max length according toChristian Brueffer2011-09-131-1/+1
| | | | | | | | | | | | wpa_supplicant.conf(5). Up to now, the PSK was truncated to 15 characters (the length of the input field). PR: 159559 Submitted by: Gavin Chappell <gavin.chappell@gmail.com> Approved by: re (kib) Notes: svn path=/head/; revision=225539
* Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.Christian Brueffer2011-09-101-0/+1
| | | | | | | | | PR: 157210, 157211 Submitted by: Niclas Zeising <zeising@lysator.liu.se> Approved by: re (kib) Notes: svn path=/head/; revision=225467
* Correct a typo.Bjoern A. Zeeb2011-09-071-1/+1
| | | | | | | | | Submitted by: gcooper Reviewed by: nwhitehorn Approved by: re (kib) Notes: svn path=/head/; revision=225430
* Fix two problems:Bjoern A. Zeeb2011-09-072-4/+8
| | | | | | | | | | | | | | | 1) if no default gateway is given the route command will fail and the script will abort with an error leading to an endless loop unless configuration is cancelled or changed. [1] 2) In the IPv6 case add -inet6 to not alter the legacy IP default route. Reported by: Oleg Ginzburg (olevole olevole.ru) [1] Tested by: Oleg Ginzburg (olevole olevole.ru) [1] Approved by: re (kib) Notes: svn path=/head/; revision=225429
* Swap FTP paths to be MACHINE/MACHINE_ARCH instead of MACHINE_ARCH/MACHINE.Nathan Whitehorn2011-08-301-1/+1
| | | | | | | | | | | | | This follows what the output of make targets looks like, and reduces the number of directories needed on the FTP server, since we now have only one architecture with multiple machine types (i386, which has i386 and pc98), but 3 machines with 9 architectures between them (powerpc, mips, and arm). Requested by: kensmith, bz Approved by: re(kensmith) Notes: svn path=/head/; revision=225270
* Implement support for GRAID volumes in the installer partition editor,Nathan Whitehorn2011-08-214-17/+60
| | | | | | | | | | rename a few options, clarify some help text, and add help text for the buttons on the main partition editor screen. Approved by: re (kib) Notes: svn path=/head/; revision=225066
* Make messages about typos appear on the screen instead of in the log file.Nathan Whitehorn2011-08-212-2/+2
| | | | | | | | Reported by: lev Approved by: re (kib) Notes: svn path=/head/; revision=225065
* Fix a bug that prevented docsinstall from being able to use DNS in mostNathan Whitehorn2011-08-181-1/+11
| | | | | | | | | | cases and provide a better error handling mechanism during package installation. Approved by: re (kib) Notes: svn path=/head/; revision=224972
* Add back ftp4, a new machine has taken its place. ftp2 and ftp8 are both ↵Ollivier Robert2011-08-051-2/+3
| | | | | | | | | | | | IPv6 capable mirrors. cvsup4/ftp4 have already been added to the handbook. Reviewed by: nathanw Approved by: re (kib) Notes: svn path=/head/; revision=224656
* To inet or not two inet. Unbreak static IPv4 configuration. If you triedBjoern A. Zeeb2011-07-281-1/+1
| | | | | | | | | | | you were stuck in an endless loop. Reported by: kensmith Approved by: re (kib) for BETA1 Pointy hat to: bz - wonder why I had not tested legacy IP thoroughly.. Notes: svn path=/head/; revision=224470
* Add PS3 partitioning (and framework for future pseries support) to theNathan Whitehorn2011-07-161-2/+25
| | | | | | | installer. Notes: svn path=/head/; revision=224108
* Run newaliases at the end of the install process.Nathan Whitehorn2011-07-131-0/+4
| | | | | | | Submitted by: kevlo Notes: svn path=/head/; revision=223980
* Per request of the docs team, install docs as packages, instead of viaNathan Whitehorn2011-07-093-4/+78
| | | | | | | | | | the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and for putting up with me taking entirely too long to commit this! Submitted by: blackend Notes: svn path=/head/; revision=223897
* Add an extra tab between fs_file and fs_vfstypeKevin Lo2011-07-071-1/+1
| | | | | | | Reviewed by: nwhitehorn Notes: svn path=/head/; revision=223832
* I forgot what year it is, apparently.Nathan Whitehorn2011-06-121-1/+1
| | | | | | | Submitted by: brucec Notes: svn path=/head/; revision=223012
* Long-overdue man page for bsdinstall.Nathan Whitehorn2011-06-112-0/+188
| | | | Notes: svn path=/head/; revision=222998
* Remove TODO which is not longer needed and the default.Bjoern A. Zeeb2011-06-061-1/+0
| | | | Notes: svn path=/head/; revision=222747
* Fix resolv.conf search list creation:Bjoern A. Zeeb2011-06-041-3/+7
| | | | | | | | | | | 1) do not print out an empty "search ", things do not like it. 2) the search list is not comma separated. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222681
* Write the multi step netconfig to a temporary file and only move thatBjoern A. Zeeb2011-06-023-9/+10
| | | | | | | | | | | | | to the final name if netconfig was completely finished. This fixes reentrance problems even better than r222611. Suggested by: nwhitehorn Reviewed by: nwhitehorn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222619
* Empty the network configuration only after the user decided to pick anBjoern A. Zeeb2011-06-021-2/+2
| | | | | | | | | | | | | interface. Otherwise an accidental start of the netowrk configuration and immediate cancel after the install has finished removes the previously configured settings. Discussed with: nwhitehorn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222611
* Fix opening a shell on the new system (prevent the shell's stderr fromNathan Whitehorn2011-06-021-1/+1
| | | | | | | ending up in the install log). Notes: svn path=/head/; revision=222607
* Contrary to the rc.conf framework, when manualy enabling IPv6 we haveBjoern A. Zeeb2011-05-301-1/+1
| | | | | | | | | | to -ifdiabled ourselves. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222502
* While doing it right for current configuration, fix the entry for rc.confBjoern A. Zeeb2011-05-301-1/+1
| | | | | | | | | | adding the missing mandatory "inet6" keyword. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222482
* Split netconfig into three parts:Bjoern A. Zeeb2011-05-294-43/+351
| | | | | | | | | | | | | | | | | | - netconfig - what auto will call which in turn will check for IPv4 and IPv6 to be available and ask the user to configure it by calling - netconfig_ipv4 doing DHCP and static IPv4 addresses, and - netconfig_ipv6 doing rtsol and static IPv6 addresses, and then checking, querying and updating resolv.conf upon return. Both DHCP and rtsol (in the future) might update resolv.conf already so we seed ourselves from that file if available. Reviewed by: nwhitehorn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Notes: svn path=/head/; revision=222468
* Fix shell-based partitioning.Nathan Whitehorn2011-05-281-1/+1
| | | | Notes: svn path=/head/; revision=222425
* Disconnect sun4v architecture from the three.Attilio Rao2011-05-141-3/+0
| | | | | | | | | | | | Some files keep the SUN4V tags as a code reference, for the future, if any rewamped sun4v support wants to be added again. Reviewed by: marius Tested by: sbruno Approved by: re Notes: svn path=/head/; revision=221869
* Fix mirror selection, which was broken by stderr redirection.Nathan Whitehorn2011-04-192-2/+2
| | | | | | | Reported by: Garrett Cooper Notes: svn path=/head/; revision=220834
* Update to reflect net install changes.Nathan Whitehorn2011-04-171-12/+44
| | | | Notes: svn path=/head/; revision=220753
* Make the keymap script continue to work now that stderr is beingNathan Whitehorn2011-04-111-1/+2
| | | | | | | redirected to the log file. Notes: svn path=/head/; revision=220541
* Rename the "Reboot" option to "Exit", which reflects what it actuallyNathan Whitehorn2011-04-091-1/+1
| | | | | | | | | does. The rc.local wrapper script will also soon grow an option to use the live environment after installation, so an immediate reboot isn't even necessarily implied. Notes: svn path=/head/; revision=220499
* Check correctly for whether there are any available wireless networks. ThisNathan Whitehorn2011-04-051-1/+1
| | | | | | | was tested on a train in the middle of an upstate New York swamp. Notes: svn path=/head/; revision=220351
* Improve logging by always sending stderr to the installation log file.Nathan Whitehorn2011-04-051-1/+3
| | | | | | | Reduce warnings by making sure the temporary etc directory exists. Notes: svn path=/head/; revision=220350
* Committing while tired is never a good idea. Remove an unconditional errorNathan Whitehorn2011-03-281-2/+0
| | | | | | | exit left over from debugging. Notes: svn path=/head/; revision=220089
* Improve error handling.Nathan Whitehorn2011-03-281-5/+4
| | | | Notes: svn path=/head/; revision=220088
* Add mirror selection for FTP installs. To support TBEMD installsNathan Whitehorn2011-03-273-4/+235
| | | | | | | | | | | | | (e.g. powerpc64), this looks in a slightly different default path than now, specifying both $MACHINE and $MACHINE_ARCH: MIRROR/pub/FreeBSD/releases/`uname -p`/`uname -m`/`uname -r` How to handle TBEMD properly probably merits some more discussion, but, since no such 9.0-CURRENT distfiles exist at the moment, all existing mirrors presently fail anyway. Notes: svn path=/head/; revision=220080
* Mark any distfiles with no checksum entries in the manifest "Skipped"Nathan Whitehorn2011-03-231-5/+11
| | | | | | | instead of "Passed". Notes: svn path=/head/; revision=219903
* Allow setting of parameters for file systems (e.g. softupdates), turn onNathan Whitehorn2011-03-232-20/+121
| | | | | | | | SUJ by default, and allow creation and mounting of FAT filesystems from the installer. Notes: svn path=/head/; revision=219892
* Turn on softupdates by default. We need a UI to set filesystem parameters.Nathan Whitehorn2011-03-151-1/+1
| | | | Notes: svn path=/head/; revision=219667