- 论坛徽章:
- 0
|
大家好!小弟最近在尝试用simics安装solaris9,遇到了些麻烦,请大家帮忙解决!先谢谢了!
首先,我从sun网站上下载了5个iso文件,sol-9-905hw-install-ga-sparc,sol-9-905hw-ga-sparc-v1,sol-9-905hw-ga-sparc-v2,sol-9-905hw-lang-ga-sparc,sol-9-905hw-ga-supp,然后按照peanut-sol9-cd-install.simics文件的说明,分别把名字改为sol-9-u7-sparc-v1,....,sol-9-u7-sparc-v5,然后开始安装。
1、第一张顺利,到第2张的时候,有个地方不确定,
Reboot automatically after software installation [y]?
Eject a cd/dvd automatically after software installation [y]?
这两个选项第一选y吧,第二个选项是选y还是n?选y的话我就装不下去第2个iso文件了
2、我的peanut-sol9-cd-install2.simics文件的内容如下:看过一位兄弟写的文章,说要把不同的iso文件都加入,还要改cd数目,但是小弟不才,不知道改怎么改,还望指教!
# we don't want automatic login
$do_login = "no"
# path to CD-ROM, use default if none given by user setup variables.
if not $cdrom_path {
$cdrom_path = "sol-9-u7-sparc-v2.iso"
}
if not `SIM_lookup_file(simenv.cdrom_path)` {
echo "Cannot find the CD-ROM specified as : " + $cdrom_path
echo "Please add this file, or edit the path in this script."
echo ""
quit
}
echo "Using CD-ROM image file: " + $cdrom_path
$create_network = "yes"
$disk_size = 8513945600
$os = "none"
run-command-file "%script%/peanut-common.simics"
load-persistent-state peanut-sol9-p1.state
@image = sim.objects[simenv.scsi_disk].object_list['sd_image']
@image.files = [["peanut-sol9-install.disk", "rw", 0, simenv.disk_size]]
# create and insert CD media
($scsi_cdrom.get-component-object cd).insert (new-file-cdrom $cdrom_path)
echo "Capturing output to 'peanut-install-log.txt'"
$con = ($console.get-component-object con)
$con.capture-start "peanut-install-log.txt"
set-memory-limit 512
run-command-file "%script%/../common/solaris9-install.include"
script-branch {
$solaris9_phase2 = 1 # trigger script
$con.wait-for-string "Resetting..."
stop "Installation complete"
save-persistent-state peanut-sol9-p2.state
}
echo "Start at : " + `time.ctime(time.time())`
run
echo "Ready at : " + `time.ctime(time.time())`
echo ""
echo "Now exit Simics and continue with the peanut-sol9-cd-install3.simics "
echo "script."
echo ""
2、若是安装完peanut-sol9-cd-install2.simics 文件,peanut-sol9-cd-install3.simics 文件改对应哪个iso文件?
3、3个文件都安装完成后,该怎么启动装好的solaris,只在peanut-common文件中加入$os="solaris9"就好了吗?
4、当系统启动后,该怎么样配置才能进入CDE呢?
小弟在这里谢谢大家了!希望大家能多多支持! |
|