Sunday, May 18, 2008

Installing Fedora Core into 2nd partition

Problem: XP is installed on the first partition. Fedora is installed on the second partition(/dev/sda5). When the Fedora installation completes, is promts you to remove disk and click 'reboot'. When I reboot, It goes straight into XP. It doesn't prompt you to choose wich OS you want to use?

Solution:
1. For this particular configuration i.e. linux into 2nd partition, you should have done the following, infact this methid is advantageous in one or many other way:

Select "Use GRUB as the boot loader"
Select Install Boot Loader record on
"...First sector of boot partition".
After finishing the Red Hat installation, reboot into Linux. If you don't have a boot disk, try booting in [linux rescue mode].

2. mount root as:
> chroot /mnt/sysimage

3. Create boot record information of linux as:
#dd if=/dev/sda5 of=/fedora.bin bs=512 count=1
» because sda5 is your linux partition. This can be verified by:
>fdisk -l
Device Boot Boot Start End Blocks Id System
/dev/sda1 * 1 3697 7 NTFS
/dev/sda2 3698 4997 f W95 Ext'd (LBA)
/dev/sda5 3698 4972 83 Linux
/dev/sda6 4973 4997 6 FAT32

4. Copy this file /fedora.bin to any FAT32 drive or anyother backup media.

5. Restart into windows, copy the above file into "C:\" root and add the following line to "C:\boot.ini"
C:\fedora.bin="Fedora Core"
┌───── C:\boot.ini ──────┐
[boot loader]
timeout=10
default=multi(0)disk(0)rdisk(0)partition
(1)\WINDOWS [operating Systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional"
c:\fedora.bin="Fedora Core 4"

**
Note:
Always install Windows first, spesially if you are new to Linux, this makes live allot easier. When it asks you where to install the boot loader, tell it to install it into the MBR, but the method above



Download ISO image of linux and burn onto a DVD.

Fedora (redhat linux) : suited for servers and experts
Ubuntu (debian linux) : suited for clients and beginners 

u can go for default installation... 
-------------------------------------------------
1) make around 20 GB free space (unformatted), you can do so by deleting partition.
2) In the installation steps, select default partition from "free space".
3) then follow all steps as usual.

for manual partitioning....: (step c : optional)
-------------------------------------
1) make around 20 GB free space (unformatted), you can do so by deleting partition.
2) in the installation steps, select manual paritioning...
a) make "swap partition" type of size = 2 x RAM size
b) make "ext4 partition" and select the mount location as "/"
c) usually 2 partition are sufficient. Still, if want separate partition for "home location" you can do so as well by creating 3rd partition of ext4 type and mount location as "/home"
d) then follow all steps as usual.

best of luck... 

happy being copy-left

Thursday, May 08, 2008

Mahatma Gandhi's talisman

5/8/01

Mahatma Gandhi (
2 October 1869 – 30 Jan 1948)

“I will give you a talisman. Whenever you are in doubt, or when the self becomes too much with you, apply the following test. Recall the face of the poorest and the weakest man whom you may have seen, and ask yourself, if the step you contemplate is going to be of any use to him. Will he gain anything by it? Will it restore him to a control over his own life and destiny ? In other words, will it lead to Swaraj (i.e. self-rule) for the hungry and spiritually starving millions ?
Then you will find your doubts and your self melting away.”