Difference between revisions of "Booting Into PC-BSD®/9.2/en"

From PC-BSD Wiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
 
(38 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{NavHeader|back=Post Installation Configuration and Installation Troubleshooting|forward=Language Screen|custompagename=Booting Into PC-BSD{{r}}|custompagecategory={{PAGENAME}}}}</noinclude>
+
{{UseTOC{{putVers}}|Nav|title=Booting Into PC-BSD{{r}}}}</noinclude>
  
 
After installation, PC-BSD® will reboot and you will be prompted to configure your system and to login to a desktop.
 
After installation, PC-BSD® will reboot and you will be prompted to configure your system and to login to a desktop.
 +
[[File:Boot1b.png|thumb|400px|'''Figure 4.1a: PC-BSD® Graphical Boot Menu''']]
  
The graphical PC-BSD® bootloader menu, is shown in Figure 4.1a.
+
Once the first boot is complete, the installer will attempt to set the optimal display settings. A pop-up menu will ask if you would like to accept these settings. Simply click "Yes" to continue. PC-BSD® will then play a short video before proceeding to the first {{local|link=Language_Screen|post configuration}} screen. You can press Esc to skip the video. If you wish to watch the video at a later time, it is located in ''/usr/local/share/pcbsd/movies/''.  
  
[[File:Boot1a.png|thumb|400px|'''Figure 4.1a: PC-BSD® Graphical Boot Menu''']]
+
Read through the rest of this section if your system hangs at boot time or if you have problems setting the display settings. If you are dual booting and your other operating system was not automatically added to the graphical boot menu by the installer, refer to {{local|link=Dual Booting}}.
  
This menu is provided by GRUB and will show the installed operating systems and any previously created [[Multiple Boot Environments|boot environments]]. If you are familiar with editing GRUB, you can press ''e'' to access the GRUB editor or ''c'' to access the GRUB command line.
+
===Interrupting the Boot to Access the Boot Menu===
  
'''NOTE:''' if you are dual booting and your other operating system was not automatically added to GRUB by the installer, see [[Dual Booting]].
+
By default, the graphical PC-BSD® bootloader menu shown in Figure 4.1a is not displayed at boot time.
  
Unless you press a key, this screen will pause for a few seconds then continue to the screen shown in Figure 4.2a.
+
This menu is used to display the installation of PC-BSD®, any boot environments created with {{local|link=Boot Manager}}, and other operating systems installed on a dual-boot system.
  
[[File:Boot2a.png|thumb|400px|'''Figure 4.1b: PC-BSD® Graphical Boot Menu Options''']]
+
To access this menu, you have to be quick. As soon as the boot process starts and you see a "GRUB loading" message in the upper left corner, press Esc. After the system boots, you can increase the timer value in {{local|link=Boot Manager}} if you find that the boot delay is too quick.[[File:Boot2b.png|thumb|400px|'''Figure 4.1b: PC-BSD® Graphical Boot Menu Options''']]
  
There are 6 boot options and 4 actions to choose from:
+
Once you access the graphical menu, it will pause for a few seconds then continue to boot PC-BSD®. If you wish to select a different operating system or specify how PC-BSD® boots, press a key to pause this screen. If multiple operating systems are available and you want to boot into PC-BSD®, make sure it is highlighted and press enter. This will load the PC-BSD® boot options screen shown in Figure 4.1b.
  
'''1 Disable ACPI:''' ACPI controls power management but may be problematic on some hardware. Select this option if you are unable to boot into PC-BSD®.
+
The following boot options are available:
  
'''2 Enable Safe Mode:''' select this option if the installation hangs when probing your hardware. It will boot with a forced PIO mode (disabling the use of DMA), disable write caching for all IDE hard drives and CD ROM drives, disable the probing of EISA slots (as very few systems have them), and (on i386 systems) disable the use of ACPI and APICs.
+
* '''Normal Bootup:''' continues to boot PC-BSD®.  
  
'''3 Enter single user mode:''' advanced users can use this option to fix critical system failures.
+
* '''Single User Mode:''' advanced users can select this option to fix critical system failures.
  
'''4 Enable verbose logging:''' select this option if you would like to see more detailed messages during the boot process. This can be useful if you are troubleshooting a piece of hardware.
+
* '''Verbose Mode:''' select this option if you would like to see more detailed messages during the boot process. This can be useful if you are troubleshooting a piece of hardware.
 
<noinclude>[[category:troubleshooting]]</noinclude> <!-- This category tag causes this page to be included -for referencing this topic -->
 
<noinclude>[[category:troubleshooting]]</noinclude> <!-- This category tag causes this page to be included -for referencing this topic -->
  
'''5 Run X in VESA mode:''' select this option if PC-BSD® is unable to load your video driver. PC-BSD® will default to VESA mode which should work on any system with a video card.
+
* '''Run the Display Wizard:''' if you are unable to access the GUI due to a display setting, enable this option to boot into the display settings wizard.
  
'''6 Run the Display Wizard:''' if you are unable to access the GUI due to a display setting, enable this option to boot into the display settings wizard.
+
* '''Run X in vesa mode:''' try this option if the screen goes black or the system freezes when booting into PC-BSD®.
  
Press the number of an option to select that option. As you make a selection, the FreeBSD bobble-head icon will be filled in, indicating that that option has been selected. To de-select an option, press its number again.
+
Use the arrow keys to select an option then press enter to boot using that option.  
  
Once you have made your selection(s), you can choose from the following actions:
+
This menu is provided by GRUB. If you are familiar with editing GRUB, you can press ''e'' to access the GRUB editor or ''c'' to access the GRUB command line.[[File:Display1.png|thumb|400px|'''Figure 4.1c: Display Settings Wizard''']]
 
+
'''B Boot PC-BSD® with above options:''' starts PC-BSD® with the selected options enabled.
+
 
+
'''D Restore default options:''' clears your selections.
+
 
+
'''L Escape to loader prompt:''' advanced users can select this option to perform advanced operations, such as changing kernels or loading kernel modules. This prompt provides a limited set of commands which are described in the {{citelink|fbsdh|url=boot-blocks.html#BOOT-LOADER|txt=FreeBSD Handbook}}.
+
 
+
'''R Reboot:''' reboots the computer.
+
 
+
As the system continues to boot, the PC-BSD® splash screen will appear. If you prefer to watch the boot messages, press any key.
+
  
 
=== If Your Display is Not Automatically Detected ===
 
=== If Your Display is Not Automatically Detected ===
  
Once the first boot is complete, the installer will attempt to set the optimal display settings. A pop-up menu will ask if you would like to accept these settings. Simply click "Yes" to continue. PC-BSD® will now play a short video. You can press Esc to skip the video and move on to the [[Language Screen | Language screen]] of the post-installation process.
+
If the optimal display settings can not be determined during first boot, if you select “No” in the “Confirm Resolution” screen when asked to confirm the display settings, or if you select “Run the Display Wizard” from the boot menu, the “Display Settings” screen shown in Figure 4.1c will launch.
  
If you instead select "No", or if for some reason the installer is unable to find the optimal display settings, you will instead see the "Display Settings" screen shown in Figure 4.1c:
+
The settings in this screen are described in more detail in {{local|link=Display}}. If you wish to return to this display wizard at a later time, go to {{traverse|Control Panel|Display|here=Display}}.
 
+
[[File:Display1.png|thumb|400px|'''Figure 4.1b: Display Settings Wizard''']]
+
 
+
The settings in this screen are described in more detail in [[Display]]. If you wish to return to this display wizard at a later time, go to ''[[Control Panel]]'' ➜ ''[[Display]]''.
+
  
 
If you change any display settings, click the "Apply" button for the settings to be tested. If anything goes wrong during testing, you will be taken back to the "Display Settings" screen so that you can try another setting. Once you are happy with the tested setting, click the "Yes" button to save the setting and to proceed.
 
If you change any display settings, click the "Apply" button for the settings to be tested. If anything goes wrong during testing, you will be taken back to the "Display Settings" screen so that you can try another setting. Once you are happy with the tested setting, click the "Yes" button to save the setting and to proceed.
Line 61: Line 48:
 
PC-BSD® uses a "fast boot" script to decrease the amount of time that it takes the system to boot to the login screen. When this script is enabled, which is the default, services are started in the background and the boot process does not wait for confirmation from each service as it starts. This is referred to as delayed mode.
 
PC-BSD® uses a "fast boot" script to decrease the amount of time that it takes the system to boot to the login screen. When this script is enabled, which is the default, services are started in the background and the boot process does not wait for confirmation from each service as it starts. This is referred to as delayed mode.
  
The fast boot script is controlled by these lines in ''/etc/rc.conf'':
+
The fast boot script is controlled by these lines in ''/etc/rc.conf.pcbsd'':
 
+
{{txtbox|wrap|box=fastboot_enable="YES"
+
fastboot_earlyrc="/etc/rc.d/netif /etc/rc.d/moused /etc/rc.d/dhclient /etc/rc.d/pf /etc/rc.d/routing /etc/rc.d/devd /usr/local/etc/rc.d/pefs /usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/gdm"}}
+
 
+
* fastboot_enable - If set to YES, will only start the services listed in fastboot_earlyrc before showing a login prompt.
+
 
+
* fastboot_earlyrc - List of service files to start before showing a login prompt. (Dependencies started automatically)
+
 
+
* /var/log/rc_delay.log - Output of services started in the background
+
 
+
The logfile ''/var/log/rc_delay.log'' shows the startup messages for the services which were started in delayed mode. If this log indicates that a delayed mode service is not starting correctly, become the superuser, remove the path to that service in the ''fastboot_earlyrc'' line of ''/etc/rc.conf'', and reboot to see if that fixes the problem.
+
 
+
If a faster boot time is not important to you and you prefer to watch each service as it starts at boot time, you can disable fast boot by changing the ''"YES"'' to a ''"NO"'' in the ''fastboot_enable'' line of ''/etc/rc.conf''.
+
 
+
These mods are contained in /etc/rc && /etc/rc.delay.
+
 
+
=== Creating a Custom Boot Theme ===
+
 
+
If you would like to change the image in the graphical boot loader, create a {{citelink|wp|url=PCX|txt=PCX}} image file. It is important that the file is saved in ''.pcx'' format as that is the only image format that the boot loader understands. Additionally, the image must be 640 x 480 pixels and 16 colors. The RGB colors that will be available in the menu text will be taken from the image's palette.
+
 
+
The default PC-BSD® graphical boot theme is found in ''/boot/themes/default/''. To create your own theme, create a new directory in ''/boot/themes/'' (e.g. '''mkdir /boot/themes/mytheme''') and copy your PCX file to that new subdirectory.
+
 
+
Next, copy ''/boot/themes/default/theme.conf'' to your new subdirectory. Open the copied file and edit this line to point to the location of your PCX file:
+
 
+
{{txtbox|box=theme_background="/boot/themes/default/bglogo.pcx"}}
+
  
You can change the theme's colors by editing the RGB values in this file. You can also change the font by modifying the ''theme_font'' path to point to the font to use. Finally, you can change the locations of the list of options and the actions menu. These are defined with the *_xy settings in the configuration file. The value must be two numbers which specify the X and Y coordinates in pixels, relative to the upper left corner.
+
{{txtbox|box=fastboot_enable="YES"<br />fastboot_earlyrc="/etc/rc.d/moused /etc/rc.d/pefs /usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/gdm"}}
  
To enable your theme, modify this line in ''/boot/loader.conf'' to point to the location of your ''theme.conf'' file:
+
The logfile ''/var/log/rc_delay.log'' shows the startup messages for the services which were started in delayed mode. If this log indicates that a delayed mode service is not starting correctly, become the superuser, copy the ''fastboot_earlyrc'' line to ''/etc/rc.conf'', remove that service from that line, and reboot to see if that fixes the problem.
  
{{txtbox|box=beastie_theme="/boot/themes/default/theme.conf"}}
+
If a faster boot time is not important to you and you prefer to watch each service as it starts at boot time, you can disable fast boot by adding ''fastboot_enable="NO"'' to ''/etc/rc.conf''.
  
 
<noinclude>
 
<noinclude>
{{refheading}}
 
 
[[category:Booting Into PC-BSD®]]
 
[[category:Booting Into PC-BSD®]]
 
[[category:Post Installation Configuration and Installation Troubleshooting]]
 
[[category:Post Installation Configuration and Installation Troubleshooting]]

Latest revision as of 01:55, 18 December 2013


Contents


After installation, PC-BSD® will reboot and you will be prompted to configure your system and to login to a desktop.

Figure 4.1a: PC-BSD® Graphical Boot Menu

Once the first boot is complete, the installer will attempt to set the optimal display settings. A pop-up menu will ask if you would like to accept these settings. Simply click "Yes" to continue. PC-BSD® will then play a short video before proceeding to the first post configuration screen. You can press Esc to skip the video. If you wish to watch the video at a later time, it is located in /usr/local/share/pcbsd/movies/.

Read through the rest of this section if your system hangs at boot time or if you have problems setting the display settings. If you are dual booting and your other operating system was not automatically added to the graphical boot menu by the installer, refer to Dual Booting.

[edit] Interrupting the Boot to Access the Boot Menu

By default, the graphical PC-BSD® bootloader menu shown in Figure 4.1a is not displayed at boot time.

This menu is used to display the installation of PC-BSD®, any boot environments created with Boot Manager, and other operating systems installed on a dual-boot system.

To access this menu, you have to be quick. As soon as the boot process starts and you see a "GRUB loading" message in the upper left corner, press Esc. After the system boots, you can increase the timer value in Boot Manager if you find that the boot delay is too quick.
Figure 4.1b: PC-BSD® Graphical Boot Menu Options

Once you access the graphical menu, it will pause for a few seconds then continue to boot PC-BSD®. If you wish to select a different operating system or specify how PC-BSD® boots, press a key to pause this screen. If multiple operating systems are available and you want to boot into PC-BSD®, make sure it is highlighted and press enter. This will load the PC-BSD® boot options screen shown in Figure 4.1b.

The following boot options are available:

  • Normal Bootup: continues to boot PC-BSD®.
  • Single User Mode: advanced users can select this option to fix critical system failures.
  • Verbose Mode: select this option if you would like to see more detailed messages during the boot process. This can be useful if you are troubleshooting a piece of hardware.
  • Run the Display Wizard: if you are unable to access the GUI due to a display setting, enable this option to boot into the display settings wizard.
  • Run X in vesa mode: try this option if the screen goes black or the system freezes when booting into PC-BSD®.

Use the arrow keys to select an option then press enter to boot using that option.

This menu is provided by GRUB. If you are familiar with editing GRUB, you can press e to access the GRUB editor or c to access the GRUB command line.
Figure 4.1c: Display Settings Wizard

[edit] If Your Display is Not Automatically Detected

If the optimal display settings can not be determined during first boot, if you select “No” in the “Confirm Resolution” screen when asked to confirm the display settings, or if you select “Run the Display Wizard” from the boot menu, the “Display Settings” screen shown in Figure 4.1c will launch.

The settings in this screen are described in more detail in Display/9.2. If you wish to return to this display wizard at a later time, go to Control Panel → Display/9.2.

If you change any display settings, click the "Apply" button for the settings to be tested. If anything goes wrong during testing, you will be taken back to the "Display Settings" screen so that you can try another setting. Once you are happy with the tested setting, click the "Yes" button to save the setting and to proceed.

[edit] Fast Boot

PC-BSD® uses a "fast boot" script to decrease the amount of time that it takes the system to boot to the login screen. When this script is enabled, which is the default, services are started in the background and the boot process does not wait for confirmation from each service as it starts. This is referred to as delayed mode.

The fast boot script is controlled by these lines in /etc/rc.conf.pcbsd:

fastboot_enable="YES"
fastboot_earlyrc="/etc/rc.d/moused /etc/rc.d/pefs /usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/gdm"

The logfile /var/log/rc_delay.log shows the startup messages for the services which were started in delayed mode. If this log indicates that a delayed mode service is not starting correctly, become the superuser, copy the fastboot_earlyrc line to /etc/rc.conf, remove that service from that line, and reboot to see if that fixes the problem.

If a faster boot time is not important to you and you prefer to watch each service as it starts at boot time, you can disable fast boot by adding fastboot_enable="NO" to /etc/rc.conf.

Other languages:German 10% • ‎English 100% • ‎French 45% • ‎Ukrainian 10%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox