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