OpenSolaris
Collectives
Discussions
Documentation
Download
Source Browser
Free CD
Log-in
|
en
Community Group documentation
:
Doc Reviews
>
Doc Plan: Dual-Boot OpenSolaris DP2 with a Second Operating System
>
Dual-Booting OpenSolaris DP2 with Ubuntu Linux
>
Dual-Booting OpenSolaris with Linux: Installing OpenSolaris on the New Partition
Top Menu
Show
:
Comments
Attachments
History
Information
Print
:
Print
Print preview
Export as PDF
Export as RTF
Export as HTML
Export as XAR
Wiki code for
Dual-Booting OpenSolaris with Linux: Installing OpenSolaris on the New Partition
Hide Line numbers
1: = Installing OpenSolaris on the New Partition 2: 3: ===== Determine Where Ubuntu Sits on the Hard Drive 4: 5: 1. Click on the **Applications** button from the taskbar, click **Accessories**, and open **Terminal**. 6: The Terminal window opens. 7: 1. Sign in for administrator privileges. 8: **$ sudo** 9: 1. At the prompt, enter your password. 10: For the remainder of this session, you are designated as an administrator. 11: 1. Open the GRUB menu text file. The contents of the GRUB menu.lst file determines which operating systems are displayed in the list of available operating systems when you boot the system. 12: **# vi /boot/grub/menu.lst** 13: The **menu.lst** file prints to the screen. 14: 1. Write down this information. Check it, character-by-character, and put it to the side. 15: 1. Toward the very end of the file is the information you will need to add Ubuntu Linux back to the boot registry, after you install Solaris. Pay particular attention to the first stanza after the **## ## End Default Options ##** line break. This step might require knowing a bit about [[how to use vi>>http://network.east/oreilly/unix/unixnut/ch08_01.htm]], the text editing program. The information you need should look something like the information below: 16: **title Ubuntu 7.10, kernel 2.6.22-14-generic 17: root (hd0,0)d 18: kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b-661784b5-8dbf-451b-b1a8-c1b1f375cb6a ro quiet splash 19: initrd /boot/initrd.img-2.6.22-14-generic 20: quiet ** 21: 1. Exit to command mode 22: Press **Shift** and **:** 23: 1. Exit vi without saving. 24: **# q!** 25: 26: ===== Create an OpenSolaris Live CD 27: 28: 1. Download an ISO file of the OpenSolaris Developer Preview 2 from one of the following locations: 29: 30: **HTTP/FTP:** 31: 32: * > [[http://dlc.sun.com/osol/indiana/downloads/current/in-preview2.iso>>http://dlc.sun.com/osol/indiana/downloads/current/in-preview2.iso]] (California, US) 33: * > [[http://www.genunix.org/distributions/indiana/in-preview2.iso>>http://www.genunix.org/distributions/indiana/in-preview2.iso]] (California, US) 34: * > [[http://osol.acm.jhu.edu/in-preview2.iso>>http://osol.acm.jhu.edu/in-preview2.iso]] (Maryland, US, Internet2) 35: * > [[ftp://ftp.df.lth.se/pub/indiana/current/in-preview2.iso>>ftp://ftp.df.lth.se/pub/indiana/current/in-preview2.iso]] (Sweden) 36: 37: > **BitTorrent:** 38: 39: * > [[http://dlc.sun.com/torrents/info/in-preview2.iso.torrent>>http://dlc.sun.com/torrents/info/in-preview2.iso.torrent]] (California, US) 40: 41: 1. Burn the ISO file onto a CDR to make a bootable CD. 42: 43: Follow the steps you took to [[make a bootable CD>>Community Group documentation.Preparing-and-Backing-Up-Hard-Drive]] for GParted. 44: 45: ===== Boot Your Computer From the OpenSolaris Live CD 46: 47: 1. Insert the OpenSolaris Live CD and reboot the primary computer. 48: The computer reboots. 49: 1. To ensure that your computer boots from the CD drive, rather than the system drive, press **F9** as the computer launches, select **Boot from the CD**, and press **Enter**. 50: The GNU GRUB appears. 51: 1. Select OpenSolaris Developer Preview 2 and press enter. 52: A short setup for the OpenSolaris Developer Preview launches. 53: 1. Select a keyboard layout. 54: United States English is the default. 55: 1. Read the Users Agreement, and then close it. 56: Our lawyers made us say that. 57: 1. Explore the OpenSolaris Developer Preview environment. 58: The Live CD boots to a fully functional GNOME desktop environment, akin to recent releases of Ubuntu. 59: 60: ===== Delete the Partition to be Taken by OpenSolaris 61: 62: 1. Right-click the desktop and select **Open Terminal**. 63: The Terminal window opens. 64: 1. Claim user privileges and examine the computer’s available hard drives. 65: **$ pfexec format** 66: 1. At the prompt, enter the password. 67: 1. The machine searches for disks, and then prompts you to specify one. The screen might look something like this: 68: **AVAILABLE DISK SELECTIONS:** 69: **0. c8t0d0 <drive type unknown>** 70: **/pci@0, 0/pci103c, 30c1@1f, 2/disk@o, 0** 71: **Specify disk (enter its number):** 72: The name of the disk in this example is **c8t0d0**. Write down the name of your hard disk. 73: 1. Quit the **format** utility. 74: **: ^c** 75: The above notation means hold down the **Control** button and press **c**. 76: 1. Load the disk formatting utility with the **fdisk** command. The disk that you plan to partition is used as an argument, with **p0** added to the end to specify the entire disk. For example: 77: **# fdisk /dev/rdsk/c8t0d0p0** 78: The fdisk utility loads. 79: 1. Determine which partition upon which you plan to install OpenSolaris. 80: For reference, the Ubuntu partition should already be active. The partitions’ size and architecture are also useful guides. 81: 1. Open the **Delete a partition** function. 82: **: 3** 83: 1. Specify which partition to delete and confirm your choice. 84: 85: The partition to delete is the number from step six. **y** confirms your choice. 86: 87: ===== Create a Solaris2 Partition 88: 89: 1. Open the **Create a partition** function. 90: **: 1** 91: A list of partition types appears. 92: 1. Create a **Solaris2** partition. We will do this one more time before the partition is actually created. This is just an intermediate step, so you can find out how much room on the disk is available for the Solaris2 partition. 93: **: 1** 94: 1. Specify the percentage of the disk to be used for the Solaris2 partition. Because you do not know how much of the space is available for the partition, trick the system by choosing the entire disk. 95: **: 100** 96: An error message, similar to the one below, appears: 97: **fdisk: Maximum percentage available is 45.** 98: 1. Again, open the **Create a partition** function. 99: **: 1** 100: A list of partition types appears. 101: 1. Create a Solaris2 partition. 102: Once again, you are asked to specify how much of the disk is to be used for the Solaris2 partition. 103: 1. Type in a number equal to, or less than, the number specified by the maximum percentage available, specified in step three. 104: A query about whether to make the Solaris2 partition the active partition appears. 105: 1. Make the Solaris2 partition active. 106: **: y** 107: 1. Save your changes and exit the **fdisk** tool. 108: **# 5** 109: 1. Close the terminal and return to the desktop. 110: 111: ===== Launch the OpenSolaris Installation Wizard 112: 113: 1. Execute the OpenSolaris installer by clicking on the **Install OpenSolaris** icon near the top left of the desktop. 114: The OpenSolaris installer opens. 115: 1. Move forward by clicking **Next**, on the bottom right corner. 116: Disk management options are presented. 117: 1. Select “Use existing Solaris partition,” and then click **Next**. 118: Clock and calendar options are presented. 119: 1. Select the correct time zone, time, and date, and then click **Next**. 120: User account options are presented. 121: 1. Fill in the appropriate boxes, and then click **Next**. 122: A summary of user input is displayed. 123: 1. Click **Install**. 124: A progress bar indicates the percentage of completion of the installation. Once complete, a window announces that installation is finished. 125: 1. Click **Reboot**, on the bottom right. 126: 127: The GNU GRUB appears. 128: 129: ===== Add Ubuntu Linux Back to the GRUB Menu 130: 131: 1. Select **Boot from Hard Disk**, and press **Enter**. 132: 1. Select `**OpenSolaris Developer Preview 2**, and press **Enter**. 133: OpenSolaris boots. The system cycles through some first-time startup tasks, so this might take more time than usual. Sign-in screens prompt you to enter your username and password. 134: 1. Enter your username and password. 135: The computer boots to a clean desktop. 136: 1. Right click on the desktop and select **Open Terminal** from the drop-down list. 137: The Terminal window opens. 138: 1. Claim user priviliges and navigate to the GRUB menu. 139: **$ pfexec cd /rpool/boot/grub** 140: 1. Open the GRUB menu text file. The contents of the GRUB menu.lst file determines which operating systems are displayed in the list of available operating systems when you boot the system. 141: **# vi menu.lst** 142: The GRUB **menu.lst** file displays, looking something like this: 143: **splashimage /boot/grub/splash.xpm.gz 144: timeout 30 145: default 0 146: #~---------- ADDED BY BOOTADM - DO NOT EDIT ~---------- 147: title OpenSolaris Developer Preview 2 snv_79b X86 148: kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS 149: module$ /platform/i86pc/$ISADIR/boot_archive 150: #~------------------- END BOOTADM ~-------------------- 151: - 152: - 153: -** 154: 1. Add Ubuntu Linux back to the GRUB menu file by entering the boot information copied from your machine’s **menu.lst** file while in Ubuntu, in Step 1. This step requires knowing a bit about [[how to use vi>>http://network.east/oreilly/unix/unixnut/ch08_01.htm]], the text editing program. It should end up looking similar to this example: 155: **splashimage /boot/grub/splash.xpm.gz 156: timeout 30 157: default 0 158: #~---------- ADDED BY BOOTADM - DO NOT EDIT ~---------- 159: title OpenSolaris Developer Preview 2 snv_79b X86 160: kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS 161: module$ /platform/i86pc/$ISADIR/boot_archive 162: #~------------------- END BOOTADM ~-------------------- 163: - 164: title Ubuntu 7.10, kernel 2.6.22-14-generic 165: root (hd0,0)d 166: kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=b-661784b5-8dbf-451b-b1a8-c1b1f375cb6a ro quiet splash 167: initrd /boot/initrd.img-2.6.22-14-generic 168: quiet 169: - 170: -** 171: 1. Save and quit vi. 172: 173: * Press **Shift** and **:** 174: 175: **# wq!** 176: 1. Reboot the computer. 177: The GRUB menu displays. It should list both OpenSolaris and Ubuntu Linux. 178: 1. Select the operating system of your choice and press **Enter**. 179: Enjoy.
Search
Collectives
Community Group
Academic and Research
Accessibility
Advocacy
Appliances
Approachability
Architecture Process and Tools
BrandZ
Chinese Users
Community Advisory Board
Databases
Desktop
Device Drivers
Distribution
Documentation
DTrace
Emerging Platforms
Fault Management
Games on OpenSolaris
HA Clusters
HPC Developer
Installation and Packaging
Internationalization and Localization
Laptop
Logical Domains
Modular Debugger (MDB)
Networking
NFS
Observability
OpenSolaris Governing Board (OGB)
OpenSolaris Printing
OS/Net (ON)
Performance
Power Management
PowerPC
Security
Service Management Facility (smf(5))
Software Porters
Solaris Volume Manager
Storage
Systems Administration Community Group
Testing
Tools Home
Unix File Systems (UFS)
Website Community
X Window System
Xen
ZFS
Zones
Project
ADSL Modem Enhancement
ARC Process Definition
ARM Platform Port
Automatic Data Migration
BIND Update
Bluetooth Stack & Drivers
Brocade FC HBA - Initiator
Brocade FC HBA - Target
Brussels - unified network link configuration
Caiman, Solaris Install Revisited
Celeste
Český portál
Chime Visualization Tool for DTrace
CIFS client for Solaris
CIFS Server
Clearview: Network Interface Coherence
Cluster Agent: Informix Dynamic Server
Cluster Agent: OpenSolaris Container
Cluster Agent: OpenSolaris xVM
Cluster Agent: Oracle E-Business Suite
Cluster agent: PostgreSQL
Cluster Agent: Samba
Cluster Agent: Tomcat
CMT
Coarse Data Flow Parallelism
Colorado: Open HA Cluster on OpenSolaris
Command Assistant
Common Array Manager
Companion - /opt/sfw: Free and Open Source software
COMSTAR: Common Multiprotocol SCSI Target
Content
Contest
CPU Observability
Credentials Process Groups
Crossbow: Network Virtualization and Resource Control
Crypto KMS Agent Toolkit
Cryptographic Framework
Data Migration Manager
Data Tethers
Deutsches Portal
Device Detection Tool
Device Driver Utility
Device Manager
Device Mapper
Direct Rendering Infrastructure & 3D drivers
DTrace Guide
Duckwater: Simplified name services management
Easy Tools
Emancipation
Emulex Fibre Channel Device Driver
Emulex Advanced Ethernet Device Driver
Enable/Enhance Solaris support for Intel Platform
Enhance the support of USB webcams
Enhanced SMF Profiles
Enhancements for AMD-based Platforms
Erlang DTrace Integration
Ethernet bridge module for Solaris
Evaluate Conary
Events Registry
Ext3 file system support
F/OSS Package Base
Facilitation
Fibre Channel over Ethernet
Fine Grained Access Policy (FGAP)
Fingerprint Authentication
Flexible Mandatory Access Control
Forensic Tools
Fully Open X Project
Fuse on Solaris
gcore
Generic Machine Check Architecture Improvements
Google SOC
HA-JBoss
HA-MySQL
Hadoop Live CD
Hitachi
HoneyComb Fixed Content Storage
HPC Stack
Image Packaging System
Improved Performance MIB
Indiana
Innovation Awards
Input Method
Intel Graphics
Interrupt Resource Management
IP Datapath Refactoring
IP over Infiniband
IPsec Tunnel Reform
iSCSI Extensions for Remote DMA (iSER)
iSNS Server
JeOS - Just enough Operating System
JKstat - a java binding for libkstat
Journaled File System (JFS)
K Desktop Environment
Kerberos
Kernel Sockets
Kernel SSL Enhancements
Key Management Framework
Korn Shell 93 integration/migration project
Labeled IPsec
LatencyTOP
Layer 2 Filtering
LDoms Manager
Lending
libMicro - portable microbenchmarks
Link Layer Discovery
Live Media: Technologies for distributions running from CD and other media
Locale Data
lofi compression and cryptography support
lx64 brand
Media Management System
Mega_sas
Mexico
MilaX minimal Live Distribution
MIPS Platform Port
Mozilla DTrace
MRSL.NONsharedDevice
Multi-lingual Glossary
Multi-pathing software (MPxIO)
Multiple disk sector size support
Multiple DOI
Muskoka: An open repository for OpenSolaris technical content
Navigator
Nemo: A Framework for High-Performance Networking
Network Auto-Magic
Network Data Management Protocol
Network MIBs
Network Storage
Network Time Protocol (NTP)
Nevada Globalization
New Design of 4over6 Mechanism Based on OpenSolaris
NFS RDMA transport update and performance analysis
NFS Server in non-Global Zones
NFS version 4.1 pNFS
NFSv4 namespace extensions
Nightingale: Port Songbird to OpenSolaris
NPort ID Virtualization (NPIV)
NUMA
Object Storage Device (OSD) support for Solaris
OHACGE Script Based Plug-in
ON/Nevada (ONNV) Project
Open Development Infrastructure
Open HA Cluster Utilities
Open Sound System
OpenGrok
OpenPegasus CIM Server
OpenRTI
OpenSolaris Busybox
OpenSolaris Desktop
OpenSolaris Hispano
OpenSolaris Security Audit
OpenSolaris support for the QEMU processor emulator: host and guest
PEF: Packet Event Framework
Performance Wrappers
Pkgfactory
Polski Portal
Portail Francophone
Portal Brasil
Portals
Power Management Usability Interfaces
Presto: Automatic Printing Configuration
Printable Many Page Solaris Manuals
Promise SuperTrak RAID HBA Driver
QLogic Converged Network Adapter GLDv3 NIC Driver
Quagga Routing Protocol Suite Integration
RAID Configuration Utility
RBridge (IETF TRILL) support
RDMA Offload Framework
Reno: Login Process Enhancements for Interop
Resource Management
s10brand
SAM/QFS
SCM Migration Project
SCSI RDMA Protocol
SDcard Drivers
Sensor Abstraction Layer
Session Initiation Protocol
SFW
Shell: bourne shell, korn shell, C shell, etc.
Sierra: Intel WiFi Chipsets Support
Simple Panels
SM-HBA Based SAS HBA Management
SMF Documentation
Solaris iSCSI Target
Solaris PowerPC Port
SourceJuicer
Sparks: name service switch/nscd enhancements
Squashfs
Star integration/migration project
Starfish
Starter Kit
Storage Power Management
Sun Security Toolkit
Sun StorageTek Availability Suite
Support for OpenFabrics User Verbs / API on OpenSolaris OS
Support gcc4/GCCfss in Solaris
Suspend/Resume
SVR4 Packaging
Systemz
Tamarack: Removable Media Enhancements in Solaris
Tesla: OpenSolaris Enhanced Power Management
Test Development
Tickless Kernel Architecture
TIPC
Trademarks
Trusted networking interface policy database for Trusted Extensions
Trusted Platform Module support
Use Case
Validated Execution Project
Virtual Console
Virtual Network Machines
Visual Panels
Visualization for HPC
Volo
VRRP: Virtual Router Redundancy Protocol Implementation
VSCAN service
Web Stack
Website
Winchester: Schema mapping and ID mapping for AD Interoperability
Wireless USB Support
Wireless Wide Area Network
X Consolidation
x86 Generic FMA Topology Enumerator
Xen Gate
Xfce: A lightweight desktop environment
ZFS Boot and Install
ZFS on disk encryption support
Zone Manager
Zone Statistics
Русский портал
البوابة العربية
भारतीय पोर्टल
中国门户
日本ポータル
한국 포탈
User Group
Adelaide
Argentina
Arizona
Atlanta
Baltimore-Washington
Bangalore
Bangkok
Bangladesh
Beijing
Bélem
Berlin
Bhimavaram
Bloomington
Campus Ambassadors
Capital Region
Cardiff
Charlotte
Chengdu
Chennai
Chihuahua
Chile
Cleveland
Colombia
Columbus
Connecticut
Cracow
Czech
Dallas/Ft. Worth
Danish
Delaware
Edinburgh
Egypt
Finland
Florida
Front Range
FuZhou
Great Lakes
Greece
Hangzhou
Hawaii
HeFei
Houston
Hyderabad
Indonesia
Irish
Israel
Italian
Jinan
Kabul
Kansas City
Latvia
London
Madurai
Manchester
Mato Grosso
Melbourne
Minas Gerais
Minnesota
Montreal
Moscow
Mumbai
Munich
NEA
Netherlands
New England
New York City
New Zealand
NIT Hamirpur
Noroeste
Oklahoma City
Osnabrück
Peru
Philadelphia
Piaski
Pittsburgh
Porto Alegre
Puget Sound
Pune
Queensland
Research Triangle Park
Romania
Russia
San Antonio
San Diego
San Francisco
São Paulo
Scottish
Serbia
Shanghai
Shenzhen
Silicon Valley
Singapore
Slovak
South African
Southern Connecticut
St. Louis
Sweden
Switzerland
Sydney
Szczecin
Taiwan
Tecum
Thames Valley
Tokyo
Toronto
Trondheim
Tulsa
Turkey
Ukraine
University of Melbourne
Vale do Paraíba
Vancouver
Venezuela
Welsh - Cymru
Wisconsin
Xi'an
Subsites
Code Reviews
Code Repositories
Package Search
Bugster
Bugzilla
Test Machines
Planet
Mailing Lists
Elections & Polls
ARC Case Logs
Source Juicer
Package Factory
User Authentication
Community Group documentation Pages
Developer Documentation
Contributor Resources
Docs Wiki
How To Participate
Man Page Guidelines
Persistent Links to Man Pages
Documentation Style Resources for OpenSolaris
Documentation Tools
OpenSolaris: Documentation Projects
OpenSolaris Primer
Examples
Files
Hardware Documentation
Build, Install, Patch, and Upgrade Documentation
New-to-Solaris FAQ
Doc Reviews
Doc Plan: Dual-Boot OpenSolaris DP2 with a Second Operating System
System Administration Documentation
Doc Downloads
Current Open Source Documentation
OpenSolaris Documentation License Information