|
终于选定了P4P800+SATA硬盘,料想可以爽一把了,却碰上了无法安装RH的问题,郁闷中翻了各大贴子,终于找到一份在SATA硬盘上安装debian的贴子——Install debian to ICH5R's SATA disk。
不过,如何安装RH呢?
我把它的方法摘录如下,请各位高人一起解读。
……// 前面部分省略
4. Step 1: Disable SATA
a. At BIOS Setup Main Menu, choose IDE configuration. At the submenu, set "Onboard IDE Operate Mode" to "Compatible Mode", and set "IDE Port Settings" to "-ATA Ports Only" to disable SATA.
b. At BIOS Setup Boot Menu, set "Boot Device Priority" to as follows:
1st Boot Device [1st FLOPPY DRIV]
2nd Boot Device [SM-MATSHITADVD-]
3rd Boot Device [PM-Maxtor 4R120]
c. At the same menu, set "Hard Disk Drives" to as follows:
1st Boot Device [PM-Maxtor 4R120]
5. Step 2: Debian Install
6. Step 3: Kernel Install
7. Step 4: Enable SATA
a. At BIOS Setup Main Menu, choose IDE configuration. At the submenu, set "Onboard IDE Operate Mode" to "Enhanced Mode", and set "Enhanced Mode Support On" to "-ATA+S-ATA" to enable SATA.
b. At BIOS Setup Boot Menu, set "Hard Disk Drives" to as follows:
1st Drive [PM-Maxtor 4R120]
2nd Drive [3M-ST3120026AS]
8. Step 5: Install The Base System
a. Install debootstrap.
# apt-get install debootstrap
我要问的地方就在这里,我可以怎样将RH装到我的新的SATA硬盘上呢,RH下是否有同样的debootstrap方法吗?
也看到另一篇贴子,他的方式是将SATA硬盘分区、格式化、mount后,再将IDE硬盘上的资料全部拷过去,但结果是无法启动系统。
//后面部分大家可以慢慢看,我的疑问就在这里了,呵呵,从这里开始,我就不懂了:p。
b. Partion the SATA disk as you planned. Create at least 2 partitions, one root and another swap.
# fdisk /dev/hde
c. Create file systems to non-swap partitons. For example, to create an ext3 file system on partition /dev/hde3 (that's our example root partiton):
# mkfs.ext3 /dev/hde3
d. Initialize the swap partition (substitute the partiton for your planned swap partition):
# mkswap /dev/hde2
e. Create a mount point for the new SATA root partition, and mount to it the partition created at substep c.
# mkdir /mnt/target
# mount /dev/hde3 /mnt/target
f. Using debootstrap, create the basic debian system on /mnt/target.
# debootstrap --arch i386 woody /mnt/target \
http://http.us.debian.org/debian
//这位高人是使用debootstrap来在SATA硬盘上来安装一个新的debian系统。
9. Step 6: Configure The Base System
a. chroot into the root partition to configure the system.
# chroot /mnt/target /bin/bash
b. Create /etc/fstab.
c. Mount all the filesystems specified in /etc/fstab.
# mount -a
d. Complete the 2nd stage debian basic configuration
# /usr/sbin/base-config
e. Configure network by editing /etc/network/interfaces, /etc/resolv.conf, /etc/hosts, and /etc/hostname. Restart the network:
# /etc/init.d/networking restart
A. Step 7: Install The Kernel
a. Install kernel 2.4.22
b. Install network module because P4P800's NIC driver is not supported by the kernel.
c. Edit /etc/modules to include 3C940 module.
d. Edit /etc/lilo.conf.
e. Install lilo.
# /sbin/lilo -v
f. Unmount all partitions, exit from chroot environment, and reboot.
# umount -a
# exit
# shutdown -r now
B. Step 8: Set SATA drive the 1st Boot Device
At BIOS Setup Boot Menu, set "Hard Disk Drives" to as follows:
1st Drive [3M-ST3120026AS]
2nd Drive [PM-Maxtor 4R120] |
|