May 28 2008

solaris u盘启动

Category: 乱up当秘笈ssmax @ 11:17:35

默认光盘好像是用grub启动的,正好有一个u盘做了grub4dos,直接拿过来试试,正常启动成功,就是不知道核心还有什么参数要传过去,汗啊。没有光驱的机器,所有系统都没有自带该网卡驱动,无法光盘安装,无法网络安装,麻烦得很,研究研究u盘安装试试,嘿嘿,还没有研究出来,主要是只有2g u盘,不够玩啊。。。solaris的dvd有2g多。。。

先抄抄它的install参数:

x86: GRUB Menu Commands for Installation

Starting in the Solaris 10 1/06 release, you can customize the network boot and installation of your system by editing the commands in the GRUB menu. This section describes several commands and arguments you can insert in the commands in the GRUB menu.

In the GRUB menu, you can access the GRUB command line by typing b at the prompt. A command line that is similar to the following output is displayed.

kernel /Solaris_10_x86/multiboot kernel/unix 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

You can edit this command line to customize your boot and installation. The following list describes several common commands you might want to use. For a complete list of boot arguments that you can use with the -B, see the eeprom(1M) man page.

Table 10–1 x86: GRUB Menu Commands and Options

Command/Option  Description and Examples 
install Insert this option before the -B option to perform a custom JumpStart installation.

kernel /Solaris_10_x86/multiboot install 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
url|ask Specifies the location of the custom JumpStart files or prompts you for the location. Insert either option with the install option.

  • url – Specifies the path to the files. You can specify a URL for files that are located in the following places:

    • Local hard disk
      file://jumpstart_dir_path/compressed_config_file

      For example:

      kernel /Solaris_10_x86/multiboot install 
      file://jumpstart/config.tar 
      -B install_media=192.168.2.1:/export/sol_10_x86/boot
      module /platform/i86pc/boot_archive
    • NFS server
      nfs://server_name:IP_address/jumpstart_dir_path/compressed_config_file

      For example:

      kernel /Solaris_10_x86/multiboot install 
      myserver:192.168.2.1/jumpstart/config.tar 
      -B install_media=192.168.2.1:/export/sol_10_x86/boot
      module /platform/i86pc/boot_archive
    • HTTP server
      http://server_name:IP_address/jumpstart_dir_path/
      compressed_config_file&proxy_info

      • If you placed a sysidcfg file in the compressed configuration file, you must specify the IP address of the server that contains the file, as in the following example:
        kernel /Solaris_10_x86/multiboot install 
        http://192.168.2.1/jumpstart/config.tar 
        -B install_media=192.168.2.1:/export/sol_10_x86/boot
        module /platform/i86pc/boot_archive
      • If you saved the compressed configuration file on an HTTP server that is behind a firewall, you must use a proxy specifier during boot. You do not need to specify an IP address for the server that contains the file. You must specify an IP address for the proxy server, as in the following example:
        kernel /Solaris_10_x86/multiboot install 
        http://www.shadow.com/jumpstart/config.tar&proxy=131.141.6.151 
        -B install_media=192.168.2.1:/export/sol_10_x86/boot
        module /platform/i86pc/boot_archive
url|ask (continued)

  • ask – When used with the install option, specifies that the installation program prompt you to type the location of the compressed configuration file after the system boots and connects to the network. If you use this option, you are not able to do a completely hands off JumpStart installation.

    If you bypass the prompt by pressing Return, the Solaris installation program interactively configures the network parameters. The installation program then prompts you for the location of the compressed configuration file.

    The following example performs a custom JumpStart and boots from a network installation image. You are prompted to input the location of the configuration file after the system connects to the network.

    kernel /Solaris_10_x86/multiboot install ask 
    -B install_media=192.168.2.1:/export/sol_10_x86/boot
    module /platform/i86pc/boot_archive
dhcp Insert this option before the -B option to instruct the installation programs to use a DHCP server to obtain network installation information that is needed to boot the system. If you do not specify to use a DHCP server by typing dhcp, the system uses the /etc/bootparams file or the name service bootparams database. For example, you would not specify dhcp if you wanted keep a static IP address.

kernel /Solaris_10_x86/multiboot dhcp 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
- text Insert this option before the -B option to perform a text-based installation in a desktop session.

kernel /Solaris_10_x86/multiboot - text 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
- nowin Insert this option before the -B option to perform a text-based installation in a console session.

kernel /Solaris_10_x86/multiboot - nowin 
-B install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
"console=serial-console" Use this argument with the -B option to instruct the system to use a serial console, such as ttya (COM1) or ttyb (COM2).

kernel /Solaris_10_x86/multiboot -B "console=ttya" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
"ata-dma-enable=[0|1]" Use this argument with the -B option to enable or disable Advanced Technology Attachment (ATA) or Integrated Drive Electronics (IDE) devices and Direct Memory Access (DMA) during the installation.

kernel /Solaris_10_x86/multiboot -B "ata-dma-enable=0" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
"acpi-enum=[0|1]" Use this argument with the -B option to enable or disable Advanced Configuration and Power Interface (ACPI ) power management.

kernel /Solaris_10_x86/multiboot -B "acpi-enum=0" 
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive
"acpi-cd-dma-enabled=[0|1]" Use this argument with the -B option to enable or disable DMA for CD or DVD drives during the installation.

kernel /Solaris_10_x86/multiboot -B "acpi-cd-dma-enabled=0"
install_media=192.168.2.1:/export/sol_10_x86/boot
module /platform/i86pc/boot_archive

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.