欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Winxp,solaris10,linux,freebsd install in a system
winxp,solaris10,linux,freebsd (80G硬盘)
先安装Winxp (40G)
接着安装Solaris 10
选择Solaris Interactive Text (Console Session)
手工分配10G左右的空间给Solairs, 剩下30G留给RHEL4和FreeBSD
要选自动弹出CD
安装完第一张CD后,需要重新启动系统,这时会提示你插入2,3,4光盘继续后面的安装
solaris10能检测和保留安装的winxp, winxp能启动,
接着安装 Linux, 系统会检测出 Solaris安装的格式:Linux swap
提示:Would you like to format this partition as a swap partition?
一定要选 No , 否则要把Solaris 10 干掉
Linux GRUB是安装在 /dev/hda Master Boot Record(MBR) 还是安装在 /dev/hda3 linux ext3的系统上?选 在/dev/hda3 ext3 上上安装Redhat
选用GRUB接管Solaris的引导程序,
Where do you want to install the boot loader?
然后选 /dev/hda Master Boot Record(MBR) // 这里很重要
且不要新建Linux swap ,因为Solaris 10整个文件系统格式就是Swap
你只要创建一个单一的/ 就直接安装Linux就可以啦。Swap 我想 Linux会从 Solaris 10中拿点出来用 ?
这时,只能找到winxp的 other 选项,solaris 10看不到了,
要手工修改grub.conf,添加solairs 10的引导
title solaris 10
rootnoverify (hd0,1) chainloader +1 makeactive boot
OK, Solaris 系统也引导成功 :)
接着安装 FreeBSD, 创建FreeBSD的文件系统
在Install Boot Manager for drive ad0?时要注意:
选择None // 这里很重要
重新启动,也需要象添加solaris 10的方式,添加
title FreeBSD 5.2.1 root (hd0,3,a) kernel /boot/loader
这个动作是进入linux后,通过修改/etc/grub.conf完成
我实验的三种情况:
1、winxp,linux,freebsd 2、winxp,linux,solaris 3、winxp,solaris,linux,freebsd
以上也是系统的安装顺序
四个系统安装成功,其引导都是在修改 grub.conf 完成的
我将80G分为两大部分:40G给winxp,其他 40G给solaris10,rhel4,freebsd5 三个操作系统,
安装顺序:winxp,solaris,linux,freebsd
在grub.conf中的内容:
title RHEL AS (2.6.9-5.EL) root (hd0,2) kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/ initrd /boot/initrd-2.6.9-5.EL.img
title WinXP rootnoverify (hd0,0) chainloader + 1
title Solaris 10 rootnoverify (hd0,1) chainloader + 1 makeactive boot
title FreeBSD 5.2.1 root (hd0,3,a) kernel /boot/loader
用grub引导多操作系统很方便 :)
Debian 3.1 要麻烦些
huihoo@debian:~$ dmesg | grep solaris
p1: <solaris: [s0] p5 [s1] p6 [s2] p7 [s3] p8 [s4] p9 [s5] p10 [s6] p11 [s7] p12 >
cd /dev debian:/dev# fdisk -l hda
Disk hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
hda1 * 1 1275 10240272 82 Linux swap / Solaris
hda2 1276 4144 23045242+ 83 Linux
debian:/home/huihoo# sfdisk -l /dev/hda
Disk /dev/hda: 79656 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 79656/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 1274- 1275- 10240272 82 Linux swap / Solaris
start: (c,h,s) expected (0,32,1) found (1022,254,63)
end: (c,h,s) expected (1023,254,63) found (1022,254,63)
/dev/hda2 1275 4143 2869 23045242+ 83 Linux
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
Booting solairs 10 Filesystem type unknown, partition type 0x82
Error 22: No such partition Error 5: Partition table invalid or corrupt