2003-11-19
注意:各位,这部分不是任何形式的 HP 产品商业广告!事实上,我使用过的一系列 HP 电脑在电源单元、硬盘等方面都出现过故障。另一方面,笔记本电脑的电池消耗比预期更快。除了这些问题,HP 机器还是不错的。
HP Omnibook 6000
Omnibook 6000 笔记本电脑配备了“可引导”DVD 驱动器,最近,在一次 ICT 会议上,我购买了一张带有 Mandrake Linux 9.1 安装程序的可引导 DVD-ROM。使用该可引导 DVD 引导笔记本电脑后,它会直接进入 Linux 安装菜单。
HP Vectra VL420(用作服务器)
相反,HP Vectra VL420 没有 DVD 驱动器(只有 CD 驱动器),因此无法直接从该特定安装 DVD 进行安装。但是,可以制作启动软盘来启动安装过程。事实上,对于那些没有(可引导或不可引导)DVD 驱动器的用户,有几个启动镜像可用。其中一个镜像是一个“网络”镜像。这意味着,在局域网中必须有一个 NFS、FTP 或 HTTP 服务器,安装将从中进行。
HP Vectra VL420(用作工作站)
我使用的另一台 VL420 桌面系统也有一块来自之前 Windows 2000 服务器安装的备用 HDD(实际上,这块 IDE 硬盘是从另一台电脑上取下来的,它原来是主硬盘,在这里它是第二块硬盘,用于备份数据)。好消息是它安装了 HTTP 和 FTP 服务器(当然,如果系统从该硬盘启动,则可以使用)。这很好,所以我现在可以使用其中一个服务器。
因此,我制作了一个“网络”可引导软盘,并使用它启动了第一台 Vectra VL420(计划用作 Linux 服务器)。过了一会儿,它到了选择安装方法(NFS 或 FTP 或 HTTP 服务器)的地步。起初,我想使用上面提到的另一台 Vectra 上的第二个“备用”HTTP 服务器,但无论我尝试给 Windows 用户的“Everyone”组什么权限,我总是从 Linux 安装程序得到以下答案
错误:无法获取文件 ...(或类似内容)
然后我尝试使用第二台 Vectra 上的 FTP“备用”服务器,起初它也要求提供本地和远程 IP 地址。那次成功了,它开始将一部分远程 Linux 文件加载到其内存中,没有任何抱怨。不久之后,它到了与 Omnibook 6000 完全相同的位置:它直接进入安装菜单,要求用户选择安装使用的语言。
>从那时起,安装过程几乎相同...
我已选择/确认以下项目
- 要使用的语言,除了默认的英语(美国):我添加了 Unicode 和塞尔维亚语(西里尔文和拉丁文);- 鼠标和键盘;- 安全级别 - 我接受了默认值:笔记本电脑为“标准”,服务器为“较高”;
下一个重要的任务是选择 DrakX 分区选项之一
- 对于笔记本电脑,我选择了“使用 Windows 分区上的可用空间”,因为笔记本电脑有一块 IDE 硬盘,我希望它使用一部分空间用于 Linux(除了已安装的 Windows 2000 Prof.)。Windows 的磁盘管理报告
Disk 0 15 MB FAT (HP Diagnostics or like) 7.13 GB FAT32 (C: "HPNOTEBOOK") 20.80 GB Free space
这两个分区(FAT & FAT32)是在使用 HP 提供的安装 CD 的安装过程中创建的。
起初,Linux 安装程序抱怨我的 Windows 分区“过于碎片化”,并要求我在 Windows 下重启,运行“defrag”实用程序,然后重新启动 Mandrake Linux 安装。碎片整理过程花费了大约 1.5 小时才完成!当重新启动安装程序时,它想使用 7.13 GB 的 Windows 分区,而不是 20.80 GB。我选择“使用可用空间”。然后它为 Linux 创建了分区:/dev/hda5 和 /dev/hda7。
- 对于 Vectra VL420,我使用了“自定义磁盘分区”,因为那里我有两个 SCSI 磁盘,其中一个已经安装了 Windows 2000 Server,另一个我想完全用于 Linux 服务器。顺便说一句,我不确定“擦除整个磁盘”选项在下一步会做什么(擦除整个磁盘还是一个分区?),尽管它也可能是合适的解决方案。DrakX 将两个 SCSI 磁盘识别为 sda 和 sdb,我选择 sdb 安装 Linux。第一步是“全部清除”,然后是“自动分配”第二个磁盘上的空间。最后,在“完成”之后,它似乎创建了 /dev/sdb1 和 /dev/sdb6 Linux 分区。
HP Omnibook 6000
boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda5 initrd=/boot/initrd.img append="quiet devfs=mount acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda5 initrd=/boot/initrd.img append="failsafe devfs=nomount acpi=off" read-only other=/dev/hda2 <--- /dev/hda1 seems to be reserved for some HP diags. label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe
HP Vectra VL420(安装为桌面客户端 Linux 系统)
boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hda5 initrd=/boot/initrd.img append="quiet devfs=mount acpi=off" vga=788 <--- that line is missing at laptop with LCD screen above. read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda5 initrd=/boot/initrd.img append="devfs=mount acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hda5 initrd=/boot/initrd.img append="failsafe devfs=nomount acpi=off" read-only other=/dev/hda1 <--- /dev/hda1 seems not to be reserved for HP diags here. label="windows" There I have Windows 2000 Professional already table=/dev/hda installed (probably without HP's supplied CD's). other=/dev/hdb1 <--- that is the spare disk with Windows 2000 Server. label="windows2" Actually I had some data on it and used it as a table=/dev/hdb second, backup disk on that desktop workstation. map-drive=0x80 I have never tried to boot the computer from it, but to=0x81 Mandrake's setup offered it as a boot option. map-drive=0x81 (And that was useful as a FTP server, needed to install to=0x80 Mandrake Linux on the other box - without DVD drive too). other=/dev/fd0 label="floppy" unsafe
HP Vectra VL420(安装为具有服务器功能的桌面 Linux 系统)
boot=/dev/sda <--- /dev/sda is the first SCSI disk where LILO resides (MBR). map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/sdb1 <--- /dev/sdb1 is the second SCSI disk where Linux resides. initrd=/boot/initrd.img append="quiet devfs=mount acpi=off" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/sdb1 initrd=/boot/initrd.img append="devfs=mount acpi=off" read-only image=/boot/vmlinuz-secure label="linux-secure" <--- something related to the Linux server security? root=/dev/sdb1 initrd=/boot/initrd-secure.img append="quiet devfs=mount acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/sdb1 initrd=/boot/initrd.img append="failsafe devfs=nomount acpi=off" read-only other=/dev/sda1 <--- /dev/sda1 is the first partition on the first SCSI disk where Windows resides. label="windows" table=/dev/sda
>从上面的例子中,你可以看到我一直在使用各种计算机形式,以及各种类型的硬盘。有的地方只有一个 IDE 驱动器,有的地方有两个,还有的地方有几个 SCSI 驱动器等等。尽管如此,我总是尝试将 LILO 放入 MBR - 位于第一个磁盘上。现在看来 Linux 终于设法解决了旧的 1024 cyl 问题。事实上,LILO 似乎能够引导 Linux,无论它是否靠近 Linux 分区的其余部分。
还有一些与上述实验相关的其他考虑因素,但它们是另一份优秀文档的一部分:Linux+WindowsNT mini-HOWTO。