My HDD Partitions 
Tuesday, February 28, 2006, 01:52 - Desktop
My harddisk partition configuration Seagate SATA 200GB (Detected 180GB)
Partition 1 = /dev/sda1 = Windows XP Pro (C:)= 40GB = NTFS
Partition 2 = /dev/sda2 = Fedora Core 4 (/) = 30GB = Ext3FS
Partition 3 = /dev/sda3 = Fedora Core 4 home folder (/home) = 20GB = Ext3FS
Partition 4 = /dev/sda4 = Extended Partition
Partition 5 = /dev/sda5 = Data Partition (/data)(D:) = 20GB = Ext3FS (for exchanging files between linux/winxp)
Partition 6 = /dev/sda6 = Fedora Core 4 Swap (swap) = 2GB = swap
Partition 7 = /dev/sda7 = My Documents (E:) = 40GB = NTFS
Partition 8 = /dev/sda8 = My Files (F:) = 28GB = NTFS

I am not mounting my NTFS partition on FC4. Not because FC4 didn't provide kernel that can read NTFS (altough I can install it) but I just wan't to separate "the world" of FC4 and WinXP


Below is detailed infomartion:

# fdisk -l

Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5344 42925648+ 7 HPFS/NTFS
/dev/sda2 5345 9168 30716280 83 Linux
/dev/sda3 9169 11718 20482875 83 Linux
/dev/sda4 11719 24321 101233597+ 5 Extended
/dev/sda5 11719 14268 20482843+ b W95 FAT32
/dev/sda6 14269 14523 2048256 82 Linux swap / Solaris

# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
/dev/sda5 /data vfat defaults 0 0
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext3 defaults 1 2
/dev/proc /proc proc defaults 0 0
/dev/sys /sys sysfs defaults 0 0
LABEL=SWAP-sda6 swap swap defaults 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0


LABEL=/ is /dev/sda2
LABEL=/home is /dev/sda3
LABEL=SWAP-sda6 is /dev/sda6

[ add comment ]   |  permalink  |   ( 3 / 282 )
Configure Gnome Nautilus + Terminal + Thunderbird 
Tuesday, February 28, 2006, 01:49 - Desktop
Gnome Nautilus is a default File Explorer used by FC4 when you are using GNOME as Desktop Environment but something that bugging me that every time I open up a folder, it will display a new nautilus window. I am able to change the setting by choosing option

Edit >> Preferences >> Behaviour and tick mark on menu Always open in browser windows

Done! now Nautilus didn''t open a new window everytime I open up a folder

Then I am a TUI lover hence my job is maintaining servers so I''ll be using Terminal often and I want terminal is available on Launcher. Here''s how:

Click "Applications" > "System Tools"
Right click on "Terminal" and select "Add this launcher to panel"

Done also

Now making Thunderbird as my Default Email client rather than Evolution

Click "Desktop" > "Preferences" > "More Preferences" > "Preferred Applications"
Choose "Mail Reader" Tab and Select Thunderbird Mail from the dropdown
Hit Close button

Now when you click Lauch mail from the Laucher, Thunderbird will be opened rather than Evolution.
*You can choose Thunderbird if you already install it before
:)

[ add comment ]   |  permalink  |   ( 3 / 252 )
Disabled service on Runlevel 3 and 5 
Tuesday, February 28, 2006, 01:48 - Desktop
apmd - I am not running on notebook
bluetooth - I don''t have a bluetooth devices
isdn - My network running on LAN 10/100 MB
mdmonitor - I am not installing my Fedora using RAID Harddisk
pcmcia - My Fedora in on PC not notebook

Click on "Desktop" > "System Settings" > "Server Settings" > "Services" and deselect system services that you will not immediately use. When you click on each of them you will see a description as to what they are for. If you''re not sure, leave them in there. (I deselected above services.) Click the "save" icon. You should also select "Edit Runlevel" on the menu, select "Runlevel 3", deselect the same system services as you just did for run level 5, and save them as well by clicking the "save" icon. Then close the service configuration screen. (Run level 3 is for text mode only without X windows and we will use this run level later when configuring the ATI driver.)


[ add comment ]   |  permalink  |   ( 3.1 / 268 )
Installing with Kickstart  
Tuesday, February 28, 2006, 01:45 - Desktop
To save time installing the same configuration for most PC with Fedora Core,
I have created a kickstart file based my ananconda-ks.cfg file.

Below is my ks.cfg after modified. To use this kickstart file, I am copying the file into Floppy disk
and boot user PC with CD which contain Fedora Core 4 boot iso for Install/Upgrade.

After the linux install prompt appear I type,

boot: linux ks=floppy

then it will start seeking floppy disk for file named ks.cfg

Please note: you should have a DHCP server running to provide the PC with IP address and a FC4 repository

#Generated by Kickstart Configurator
#platform=x86, AMD64, or Intel EM64T
#date 27 Feb 2006

#System language
lang en_US
#Language modules to install
langsupport --default=en_US.UTF-8
#System keyboard
keyboard us
#System mouse
mouse
#Sytem timezone
timezone Asia/Jakarta
#Root password
rootpw --iscrypted $1$XSRac/ou$sRJijao6VWEsVGS4RDuI01
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://10.10.105.105/software/fedora/os
#System bootloader configuration
bootloader --location=mbr --append="rhgb quiet"
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext3 --size 100
part swap --size 512
part / --fstype ext3 --size 5000
part /home --fstype ext3 --size 1 --grow
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#SELinux configuration
selinux --disabled
#XWindows configuration information
xconfig --depth=24 --resolution=800x600 --defaultdesktop=GNOME --startxonboot
#Run the Setup Agent on first boot
firstboot --enable
#Package install information
%packages
@ office
@ editors
@ text-internet
@ gnome-desktop
@ dialup
@ games
@ base-x
@ graphics
@ printing
@ admin-tools
@ sound-and-video
@ graphical-internet
kernel-smp
grub
e2fsprogs
dosfstools

%post
wget http://10.10.105.105/software/fedora/ex ... datefc4.sh -O /root/updatefc4.sh
chmod +x /root/updatefc4.sh

[ add comment ]   |  permalink  |   ( 3.1 / 233 )
Simplify Update Fedora Core 4 System 
Tuesday, February 28, 2006, 01:43 - Desktop
To simplify Fedora Core 4 system update, I have created a scripts to check current runlevel, id and update the yum configuration file before updating the system. Below is the scripts.

Below is the scripts

#!/bin/bash
#filename: updatefc4.sh
#scripts for updating FC4 system
#
currentinit=`runlevel | awk '{ print $2 }'`
correctinit='3'
currentid=`whoami`
correctid='root'
echo "Current RunLevel = " $currentinit
echo "Correct RunLevel = " $correctinit
echo "Current ID = " $currentid
echo "Correct ID = " $correctid
if [ $currentinit == $correctinit ]
then
echo "Current runlevel is 3, preparing to updating your Fedora Core 4"
if [ $currentid == $correctid ]
then
echo "Update is lauched"

echo "Downloading Fedora Update Repository Configuration Files"
mkdir fcupdate
cd fcupdate
wget http://10.10.105.105/software/fedora/ex ... epo.tar.gz
tar -xzvf fedora-rpx.repo.tar.gz

echo "Updating Update Configuration Files"
cp --reply=yes *.repo /etc/yum.repos.d/

echo "Updating the system, Please wait a while..."
yum -y update

echo "Update complete!"
echo "You should reboot your system!!!"
else
echo "Update need root id to run update program"
echo "Update is cancel"
fi
else
echo "This update can't be run on runlevel 5"
echo "Only on runlevel 3"
echo "Please go to runlevel 3, by typing:"
echo "init 3"
fi


[ add comment ]   |  permalink  |   ( 3 / 232 )

Back Next

Free Webhosting By Profusehost.net