在PC上同时安装Solaris和Linux

1.  安装Solaris/OpenSolarisPC的可以boot的硬盘(在BIOSsetup里面可以设置硬盘的启动顺序)上。注意给Linux预留空间。

2.  安装Linux(这里以Red Hat Enterprise Linux 5为例),在选择安装位置的时候指定为所有磁盘上的剩余空间。这里需要注意的是RHEL会默认删除所有磁盘分区,重新建立默认分区,所以需要选择利用磁盘的剩余分区。

3.  安装完Linux之后重启,你会发现先前安装的Solaris不见了。不过这没有关系,因为RedHatGrub没有看到Solarisbootloader

4.  修改RedHatgrub配置文件/boot/grub/menu.lst添加如下项:
title OpenSolaris build 67
    root (hd0, 0)
    chainloader +1

5.  上面的配置文件假定你使用的是IDE硬盘,同时你的Solaris安装在硬盘的第一个分区上。重新启动Linux,在grub menu出现的时候输入”e”,在出现的menu中选择OpenSolaris build 67,你会发现你的Solaris系统找回来了。


下面是mail list中提供的方法:

i previously had a machine running windows vista and ubuntu 7.04 on one GRUB boot loader. Now when i installed solaris 10, it has a new grub boot loader and vista and ubuntu aren't there! i cant even acess the other partitions!!! lease say it can be helped??P

------------------------------------------------------------------------------------------------

let's just see what other partitions you have there.

Can you boot the box up until you see GRUB and then hit ESC to stop the boot
process.

Then type c to get to a command line.

then we need to figure out what partitions are available because if they
were there before then they are still there now.

unless you repartitioned the disk ... oh dear .. then you re in trouble

but let's hope for the best

can you get to GRUB command line mode ?

if so then maybe this can help :
http://www.mepis.org/docs/en/index.php/GRUB_from_command_line

--------------------------------------------------------------------------------------------------

Hmm.. if you installed solaris on a new partition, then all the old
data is safe. you will only have to modify menu.lst (in solaris).

To make sure all your data is safe, boot up belenix from a live CD.
Belenix can mount ntfs and ext3 (theres a utility on the desktop)..
just browse through and see if all the info is safe.

Tehn open the menu.lst found in the ubuntu partition and copy all the
lines starting from the first 'title' entry, and append into the
menu.lst that is found in /mnt/solaris0/boot/grub/menu.lst

That should get the ubuntu and vista entries into the startup boot
menu. You may still not be able to boot into vista as it check a
signature in grub, but perhaps this has been taken care of in the
recent builds.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值