📄 00000265.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: linuxrat (叫我老鼠错不了), 信区: Linux <BR>标 题: How to Dual Boot Solaris[tm] and Linux[Forward] <BR>发信站: BBS 水木清华站 (Thu Dec 30 13:43:24 1999) <BR> <BR> I got it from www.sun.com for someone's need. :) Hope SunGuys lucky. <BR> It's a little bit long, so be patient. :) <BR> Copyright(C) 2000 by Sun Microsystem. I haven't got permissions yet. <BR>====================Begin posting by Linuxrat============================== <BR>How to Dual Boot Solaris[tm] and Linux <BR> The following instructions discuss how to dual boot the Solaris(TM) <BR> operating environment in partition 0 and Linux in partition 8. <BR> <BR> If you are not a current Solaris user, please visit our Free <BR> Solaris(TM) program and try Solaris for noncommercial and educational <BR> use. <BR> <BR> 1. Install UltraPenguin Linux (1.1.9 or later) or equivalent in the <BR> usual way (CD-ROM or net). <BR> * When the installer prompts for partitioning, allocate partition 8 <BR> for Linux root and 7 for Linux swap. Allocate partition 1 for <BR> Solaris ("SunOS root") and partition 2 for "SunOS swap". You can <BR> also allocate other partitions as desired for Solaris or Linux <BR> use. The Linux installer calls the first partition 1, and has <BR> codes for the Solaris partitions. Partition 3 (or 4) should be the <BR> whole disk. <BR> * Make partition 8 the root partition, and install Linux there. <BR> Install Linux swap in partition 7. <BR> * Complete the Linux install as usual. <BR> IMPORTANT: Install the silo boot loader in the same partition as <BR> the Linux root. Let it put the Silo location in nvalias; you can <BR> change it later. It should show up as "boot-device disk:h" in <BR> printenv at the OK prompt on the Ultra systems. <BR> * Boot the system with Linux to check install. (startx will get the <BR> X windows up). <BR> * "halt" will sync the system and halt the OS (OK prompt). <BR> <BR> 2. Install Solaris in the usual way (net or CD-ROM). <BR> <BR> * During the Solaris partitioning, the installer will ask if you <BR> want to preserve data. Click on "preserve data", then preserve all <BR> the partitions used for Linux. <BR> * Create one or more partitions for use with Solaris, and let <BR> Solaris format them. This is optional. <BR> * Install Solaris on partition 0 (first partition). <BR> * When the installer asks if you want to make the new root partition <BR> the default boot in NVRAM, say yes. <BR> * The installer will then complete the Solaris install as usual, and <BR> will reboot automatically to Solaris if you ask it to do that. <BR> <BR> 3. At the OK prompt, type "show-disks" The disk paths will be printed. <BR> Type "devalias" to get the path format for the disk you are using. <BR> * Choose the correct hard disk path (only one for Ultra5) <BR> * Type "nvalias linux ^Y <disk_path_from_above>$0,0:h>" <BR> * If you wish, type <BR> "nvalias solaris ^Y <disk_path_from_above>@0,0:a" <BR> * Fix the printenv: "setenv boot-device disk:a". <BR> To change the default to Linux, substitute :h for :a. <BR> * Set autoboot on if you wish. <BR> <BR> 4. "boot" or "boot solaris" or "boot disk"" boots Solaris from <BR> partition a. "boot linux" boots Linux from partition h. <BR> <BR> 5. You can reinstall Linux or Solaris as many times as you want, <BR> without bothering the other installation. <BR>====================End of post by Linuxrat========================== <BR>-- <BR>|======================+========================+====================| <BR>| 以无法为有法 , | 拳本无法,有法也空; | 我爱GNU/Linux, | <BR>| 以无限为有限 | 一法不立,无法不容。| 因为我爱自由! | <BR>| | | | <BR>| 截拳道宗师-李小龙 | 意拳宗师-王芗斋 | 土人 Linuxrat | <BR>|======================+========================+====================| <BR> <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 202.112.168.252] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -