- 论坛徽章:
- 0
|
回复 #1 Mira 的帖子
以下是安装opensolaris前linux的grub 内容
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,7)
# kernel /boot/vmlinuz-version ro root=/dev/sda8
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=1
timeout=13
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25-14.fc9.x86_64)
root (hd0,7)
kernel /boot/vmlinuz-2.6.25-14.fc9.x86_64 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.25-14.fc9.x86_64.img
title XP
rootnoverify (hd0,0)
chainloader +1
现在opensolaris的 menu.lst内容如下:
Splashimage /boot/grub/splash.xpm.gz
background 215ECA
timeout 30
default 0
#---ADDED BY BOOTADM-DO NOT EDIT---
title OpenSolaris 2008.11snv_98 x86
findroot (pool_rpool,1,a)
bootfs
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot-archive
#---END BOOTADM---
title Windows
rootnoverify(hd0,0)
chainloader +1
tltle Fedora (2.6.25-14.fc9.x86_64)
root(hd0,7)
kernel /boot/vmlinuz-2.6.25-14.fc9.x86_64 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.25-14.fc9.x86_64.img
#Unknown Partition of type 15 found on /dev/rdsk/c4d0p0 partition:3
#It maps to the GRUB device hd0,2) |
|