1. allocate 12GB of HDD space
2. Install FC11 on VMware
3. Review and modify partitioning layout
4. Delete VolGroup, sda1 and sda2 partitions
5. Create 512MB swap space
6. Create EXT3 file system and mount pount "/"
7. Select "customize now" for software selection
8. Un-select everything in software selection
9. A total of 179 packages will get installed.
mkdir /mnt/cdrom
vi /etc/fstab
>> /dev/cdrom /mnt/cdrom iso9660 defaults 0 0
mount /dev/cdrom
cd /mnt/cdrom/Pakages
rpm -ivh createrepo + DEPENDENCY FILES
rpm -ivh yum + DEPENDENCY FILES
cd /mnt
createrepo .
cd /etc/yum.repos.d/
vi fedora.repo >> enabled=0
vi fedora-updates.repo
>> baseurl=file:///mnt
>> #baseurl
>> #mirrorurl
>> enabled=1
>> gpgcheck=0
yum install ftp make which vim ctags gcc ncur* man-pages
yum install dhclient bzip2 kerenal-devel man ntsysv gpm
yum install openssl* ...
vi /etc/syscofig/network-scripts/ifcfg-eth0
>> DEVICE=eth0
>> BOOTPROTO=dhcp
>> ONBOOT=yes
mv /bin/vi{,.old}
ln -s /usr/bin/vim /bin/vi
vi /sbin/mkinitrdDownload the config file for 2.6.31 from here.
>> after "mknod /dev/hvc0 c 229 0"
>> mknod /dev/sda b 8 0
>> mknod /dev/sda1 b 8 1
>> mknod /dev/sda2 b 8 2
vi /etc/fstab
>> /dev/sda1 / ext3 defaults 0 0
>> /dev/sda2 swap swap defaults 0 0
Download the config file for 2.6.31 (with S/W shutdown) from here
cd /usr/src/kernelsYou can get the sample make log file from here
tar xjvf linux-2.6.31.tar.bz2
mv config.31 .config
make oldconfig
make
make modules_install
make install
vi /boot/grub/grub.conf
>> default=0
>> timeout=10
>> #hiddenmenu
>> # ... rghb quiet
No comments:
Post a Comment