BigAdmin System Administration Portal
Feature Article
Print-friendly VersionPrint-friendly Version

Creating a Multi-Boot Disk for Machines With AMD Opteron Processors


Step-by-Step Installation Procedure: Solaris Operating System (x86 Platform Edition) and SuSE Linux 9.0 Professional

By Craig Winter

Installing Solaris 10 OS on x86 Platforms

The first operating system to install is the Solaris 10 OS on x86 platforms.

Place the first CD (number one of three) in the player and reboot the system. The machine will boot from the CD and display the first screen. Proceed with the installation as follows:

Solaris Device Configuration Assistant:     F2_Continue

Bus Enumeration:                            Enter_Continue

Identified Devices:                         F2_Continue

Boot Solaris:                               [X] CD
                                            F2_Continue

Solaris Interactive:                        3 Solaris Interactive
                                              Text-only Installer
                                            Enter

Select a Language:                          0. English
                                            Enter

The Solaris Installation Program:           F2_Continue

kdmconfig:

  Introduction:                             F2_Continue

  View and Edit Window System
    Configuration:                          Configure the Monitor and
                                            Graphics Device for your
                                            Machine
                                            F2_Continue

  Window System Configuration Test:         F2_Continue

Is this display okay?:                      Test the Display
                                            Click on "Yes"

Identify This System:                       F2_Continue

Network Connectivity:                       Site Dependent
                                            F2_Continue
..
..
..

Time Zone:                                  [X] <Your Continent>
                                            F2_Continue

Time Zone:                                  [X] <Your Country>
                                            F2_Continue

Date and Time:                              Verify the date and time
                                            F2_Continue

Confirm Information:                        F2_Continue

Root Password:                              Your discretion
                                            F2_Continue

Solaris Interactive Installation:           F2_Standard

Eject a CD/DVD Automatically?:              [X] Automatically eject CD/DVD
                                            F2_Continue

Reboot After Installation:                  [X] Auto Reboot
                                            F2_Continue

Information:                                F2_OK

Initializing...

License:                                    F2_Accept_License

Select Geographic Regions:                  [/] North America
                                              [X] U.S.A. (en_US.ISO8859-1)
                                            F2_Continue

Select System Locale:                       [X] U.S.A. (en_US.ISO8859-1)
                                            F2_Continue

Select Products                             Your Discretion
                                            F2_Continue

Additional Products:                        [X] None
                                            F2_Continue

Select Software:                            [X] Entire Distribution plus
                                                OEM Support
                                            F2_Continue

Select Disks:                               Enter

No Solaris fdisk Partition:                 F2_OK

Create Solaris fdisk Partition:             [X] Manually create fdisk
                                                partitions
                                            F2_OK

Customize fdisk Partitions for Disk: c0d0:  F3_Delete

Delete fdisk Partition?:                    F2_OK

Note: If the disk has been previously used, you may need to delete all of the existing partitions. To delete the partition, arrow down to the partition number and use F3 and F2.

Customize fdisk Partitions for Disk: c0d0:  F4_Create

fdisk Partition Size:                Partition type: SOLARIS
                                Partition size (MB):   36864
                               Partition size (Cyl):   18725
                                            F2_OK

The table now shows only one SOLARIS partition and should look something like this:

Partition   Type                          Size    Start Cylinder
================================================================
1           SOLARIS                      36864                 1
2           <unused>                         0                 0
3           <unused>                         0                 0
4           <unused>                         0                 0
        ========================================================
                      Capacity:     76316 MB
                     Allocated:     36864 MB
                Rounding Error:         1 MB
                          Free:     39451 MB

Customize fdisk Partitions for Disk: c0d0:  F2_OK

Select Disks:                               F2_Continue

Automatically Layout File Systems?:         F2_Auto_Layout

Automatically Layout File Systems:          F2_Continue

File System and Disk Layout:                F2_Continue or F4_Customize

Note: Space can be allocated in the same manner as during a standard Solaris OS installation on the SPARC platform.

Mount Remote File Systems?:                 Your Discretion
                                            F2_Continue

Profile:                                    F2_Begin_Installation

Warning:                                    F2_OK

Solaris Initial Install...

Note: After the installation of the core Solaris software, the machine will automatically reboot. The first CD is still in the player, so it will begin the installation process again. Use the following steps to make the machine boot from the hard disk and continue installing the Solaris OS.

Solaris Device Configuration Assistant:     F2_Continue

Bus Enumeration:                            Enter_Continue

Identified Devices:                         F2_Continue

Boot Solaris:                               F4_Boot Tasks

Boot Tasks:                                 [X] View/Edit Autoboot Settings
                                            F2_Continue

View/Edit Autoboot Settings:                [X] Set Default Boot Device
                                            F2_Continue

Set Default Boot Device:                    [X] Disk
                                            F2_Continue

View/Edit Autoboot Settings:                [X] Accept Settings
                                            F2_Continue

Boot Tasks:                                 F3_Back

Boot Solaris:                               [X] Disk
                                            F2_Continue

Specify Media:                              (*) CD/DVD
                                            Next >

Insert Disk:                                2 of 3
                                            Close the CD tray
                                            OK >

Ready to Install:                           Install Now >

Installing...

Specify Media:                              (*) CD/DVD
                                            Next >

Insert Disk:                                3 of 3
                                            Close the CD tray
                                            OK >

Ready to Install:                           Install Now >

Installing...

Reboot:                                     Reboot Now

Installing SuSE 9.0 Professional for AMD64

The second operating system to install is SuSE 9.0 Professional for AMD64.

Place the SuSE DVD in the DVD player (or SuSE CD number one in the CD player) and then reboot the machine. When the SuSE boot options screen appears, use the down arrow key to go to Installation and then press Enter. This will load the Linux kernel from the media.

Select your language:        English
                             Accept

Installation Settings:       If a "YaST2" Error form appears,
                             OK

Installation Settings:       If a "YaST2" form appears,
                               Select "New Installation"
                             OK

Installation Settings:       Software

Software Selection:          Click on "Detailed Selection"
                             Select all of the packages in the left box
			     Accept
			     Press Continue on the "Changed Packages" form

Installation Settings:       Partitioning

Expert Partitioner:          Create
                             YaST2:  Primary Partition
                             OK
                             Format->Format:
                               File system: Ext3
                             Size->End: +36GB
                             Fstab Options:
                               Volume Label: SuSE
                               OK
                             Mount Point: /
                             OK

                             Create
                             YaST2:  Primary Partition
                             OK
                             Format->Format:
                               File system: Swap
                             Size->End: 155060 (default)
                             Mount Point: swap
                             OK

The Partition Table should look like the following:

Device      Size F Type                Mount   Start     End  Label

/dev/hda  76.6GB   WDG                             0  155060
/dev/hda1 36.0GB   Linux swap                      0   74899
/dev/hda2 36.0GB F Linux native (Ext3) /       74900  149798  SuSE
/dev/hda3  2.5GB F Linux swap          swap   149799  155060
/dev/hda5 33.9GB   Linux native                74900  145615
/dev/hda6  2.0GB   Linux native               145616  149779
/dev/hda7 35.9GB   Linux native               149780  224671

Note: The Start and End sizes shown here may differ, depending on the brand of disk drive that is used. Some show the sizes in kilobytes, others in cylinders, and so on. Don't worry about the entries for /dev/hda5, /dev/hda6, or /dev/hda7.

Expert Partitioner:          Next

Installation Settings:       Accept

Installation Settings:       "YaST2"
                             Yes, install

Note: Both of the Linux partitions (/ and Swap) will be formatted at this time, but not the partition reserved for the Solaris OS. When the installation has finished, the machine will reboot itself from the "Harddisk".

Installation...

Password for "root":         Your discretion
                             Next

Network Configuration:       Specify for your network

Test Internet Connection:    Your discretion

Note: If you choose to do this, you will be prompted to download and install dozens of updated patches, which may take quite a while.

User Authentication Method:  Your choice

Hardware Configuration:      Use Following Configuration

Note: Make sure that the monitor and graphics device are correctly specified, along with the resolution that you want to have.

Installation Completed:      Finish

Log in to SuSE.

Open a terminal window.

mv /boot/grub/menu.lst /boot/grub/menu.lst-orig
cp /boot/grub/menu.lst-orig /boot/grub/menu.lst
vi /boot/grub/menu.lst

Add a Solaris OS entry to the file so that it looks like the following:

title SuSE 9.0 Professional AMD64 Linux
    kernel (hd0,1) /boot/vmlinux root=/dev/hda2 vga=0x31a \
        splash=silent desktop hdc=ide-scsi hdclun=0 showopts
    initrd (hd0,1)/ boot/initrd
title 32-bit Solaris 10 x86
    root (hd0,0)
    makeactive
    chainloader +1

Reboot.

As the machine reboots, it will display the SuSE version of the GRUB Boot Loader. Use the arrow keys to select which operating system to boot. If you do not change the selection, the first entry (in this case SuSE) will be loaded.


About the Author

Craig Winter is a Staff Engineer for the HPTC Group in Market Development Engineering at Sun Microsystems, Inc.


Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin
  
 
 
 
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc.