|
想翻译,无奈水平有限,但内容不多,看命令,大概都懂。
原文:http://wiki2.archlinux.org/index ... ng%20Linux%20System
-------------------------------------------
-------------------------------------------
If you are running Linux already and don't have a CD writer or simply want a faster install process, here is how to install from hard drive.
Read the Arch Linux Install Guide first so that you know what to expect.
You need one more spare partition, bigger than the Arch CD iso. Here I'm logged in as root and am using "/dev/hda12" which happens to be 6GB.
1) Copy the iso to the spare partition (you can use a plain recursive copy, cp -R instead of dd, dd may sometimes screw the partition):
dd if=arch-0.7-beta2-base.iso of=/dev/hda12
2) Mount the partition somewhere (you can use option -tiso9660 but mount should work it out):
mkdir /mnt/archCD
mount /dev/hda12 /mnt/archCD
3) I don't use grub but this works for lilo. Edit lilo.conf and add:
image=/mnt/archCD/isolinux/vmlinuz
label=archCD
initrd=/mnt/archCD/isolinux/initrd.img
append="root=/dev/rd/0 BOOTMEDIA=cd"
then don't forget to run:
lilo
4) Reboot and select archCD, when the installer asks if you're using CD or SRC, you can hop out to another shell and:
mount -tiso9660 /dev/discs/disc0/part12 /src
replace "/dev/discs/disc0/part12" with the spare partition you allocated
remember you can use "tab completion" to find that partition, rather than type the whole thing in
then hop back and install from hard drive by selecting SRC rather than CD.
And to reclaim the spare partition when Arch is up and running...
1) The spare partition can be reclaimed by making a file system with "mkreiserfs", "mke2fs" etc. Using hda12 as an example:
mkreiserfs /dev/hda12
2) Then edit /etc/fstab to check the partition has the correct file system and options listed against it:
/dev/hda12 /mnt/spare reiserfs defaults,noatime,notail,noauto 0 0
3) Lastly check that the mount point exists, if not:
mkdir /mnt/spare
--------------------------------------------------------------------------------
Last edited on Sunday, March 13, 2005 9:19:49 pm.
希望对大家有所帮助! |
|