ChefZ -- 磨劍錄 (A Coder's Log)

慣看秋月春風 一壺濁酒喜相逢 古今多少事 皆賦談笑中
posts - 42, comments - 3, trackbacks - 0, articles - 6

以下是步驟: (#號起頭的是註解)

#Slax Module Manager -> Insert grub.lzm
#use cfdisk to create two Primary Partitions:
# sda1 - linux-swap (82)
# sda2 - linux (83)

cfdisk
mke2fs /dev/sda2
mkswap /dev/sda1
mkdir /mnt/sda2
mkdir /mnt/sda1

mount /dev/sda2 /mnt/sda2
swapon /mnt/sda1

cp --preserve -R /{bin,dev,etc,home,lib,root,sbin,usr,var,opt} /mnt/sda2
mkdir /mnt/sda2/{boot,mnt,proc,sys,tmp}
cp /boot/vmlinuz /mnt/sda2/boot
mount -t proc proc /mnt/sda2/proc
mount --bind /dev /mnt/sda2/dev

grub-install --root-directory=/mnt/sda2 /dev/sda
cd /mnt/sda2/boot/grub
kate menu.lst

=======以下是 menu.lst 內容=================
timeout 1
default 0

color white/blue black/light-gray

# Linux Kernels

title Slax6
root (hd0,1)
kernel /boot/vmlinuz max_loop=255 ro root=/dev/sda2
boot
============終===========

#reboot

mkdir /mnt/hdc
mount /dev/hdc /mnt/hdc
mkdir /etc/pam.d

tar -xfz VMwareTools-6.0.0-45731.tar.gz
cd vmware-tools-distrib
./vmware-install.pl

#press enter all the way until

...

Please choose one of the following display sizes that X will start with (1 -
15):

[1]  "640x480"
[2]  "800x600"
[3]  "1024x768"
[4]  "1152x864"
[5]  "1280x800"
[6]< "1152x900"
[7]  "1280x1024"
[8]  "1376x1032"
[9]  "1400x900"
[10]  "1400x1050"
[11]  "1440x900"
[12]  "1680x1050"
[13]  "1600x1200"
[14]  "1920x1200"
[15]  "2364x1773"
Please enter a number between 1 and 15:

[6] 3 <=========== enter 3 (再高我機器有問題)

...

Can not find /etc/rc.d/init.d/network and /etc/rc.d/init.d/networking. (尚未找出原因)

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.pl again after making sure that gcc, binutils,
make and the kernel sources for your running kernel are installed on your
machine. These packages are available on your distribution's installation CD.
[ Press Enter key to continue ]

# I just hit enter and finish this thing. It runs well. (我全用默認值)
# haven't resolved the /etc/rc.d/init.d/network and /etc/rc.d/init.d/networking
# problems yet.

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理