pande.info

SOMETHING ABOUT LINUX INSTALLATION…

Before anything…
Let me clarify…everything here, is what I understood till date, if any mistakes PLEASE let me know.

Now I assume this!
. you have windows 9x/2000/XP
. And knows how to install Windows (‘;’)
. there is some 3GB free space on the hard drive.
. have 3 CDs (or more) of RPM based LINUX DISTRIBUTION (eg. Red Hat, Mandrake, SuSE ..etc)
. Most IMP of all…knows why you are installing LINUX !

If u r installing linux for the first time..better you grab Mandrake CD set from your friend
Or if u r in bangalore[INDIA] ,can contact me I can BURN for U.

That said, let us start the installation process.
Wait, this procedure may not be applicable for all RPM based distro. So don’t be confused.
And is almost same for All mandrake latest releases( Mandrake 8.1,8.2,9.0, and 9.1)

Steps,
1. Boot into MS windows and make one windows BOOTUP floppy if u don’t have one…just in worst case.

2. Install any hard drive partitioning app..PQ Magic is one of the best. Make two partition (Better three !) one around 3gb and another (2*Your physical memory) as SWAP.

3. You may format 3gb partition as linux ext2 (better ext3) and SWAP as linux swap
This can be done during installation only…so no problem !

4. Now insert MDK cd-1 and restart.

5. u get welcome screen…Press enter for install/upgrade

6. it asks for your language, mouse, keyboard…don’t lie !

7. When it asks about hard drive partitioning….choose custom/portioning with disk druid. Now u have to set mount points (mount points are the directory names under which u want your hard drive contents)if u don’t know…SLASH(/) is where all the operating system files will reside and ‘/home’ is where all users file reside like this…/bin /var. It is better to have different partitions for /bin, /home etc but don’t worry ! Chose ‘/’ for 3gb partition format it as ext3. and SWAP that is already there.

8. Then it asks for which are all partitions u want to format? Chose your 3gb and swap partition.

9. Next…its time to choose the packages. Better u select GNOME, KDE, Internet, Multimedia, Game , Configuration etc. If u have older PC then u also install OTHER window managers like IceWM, Blakbox, Enlightment etc Because if KDE and GNOME takes too much memory (and sure they will !) u can use those light weight Window Managers.

10. After all the packages installed..it will ask for bootloader. U can choose LILO or GRUB. Better LILO with Graphics. Location to install LILO, choose MBR.
{
The only problem with installing LILO on MBR(your C drive) is when u reinstall
WINDOWS, it overwrites all the MBR content. Then again u have to reinstall LILO. For reinstalling LILO u should have Linux Bootable floppy. U can also reinstall LILO using your Mandrake CD-1.
That’s why I told u better 3 partitions. A small partition(around 100MB) for /boot. U have to remember the address of your /boot (for eg, hda7 or hda8) when setting mount points in Disk Druid. Then u can choose “first sector of your ROOT partition ” instead of MBR.
Now if u don’t install LILO on MBR then u may not be able to boot into linux directly. You have to use Third party OS loaders like BOOT Magic, XOSL. Better XOSL because it is very small application with lots of customizations. XOSL can be installed within windows only. Now also if u reinstall windows, MBR contents will be overwritten but now the solution is simple just reinstall XOSL. (This is similar to reinstalling LILO….but again it is your choice. You want XOSL or LILO.)
If u have problem installing XOSL can ASK ME.
}

For first timers , better to choose MBR for LILO. And don’t worry about windows reinstallation, LILO ,XOSL.

11. Next….choose latest XFREE86 server and your Graphics card. If you bought your PC vary recently then it should be having a descent graphics card. Almost every graphic card is AUTO DETECTED. You just have to choose video memory.(like 32MB, 64MB etc). Chose the resolution (600×800 or 1024×768..16bit or 32bit what ever)

12. Now it asks for Users. Better to have at least 1 user…even though u r the only person using. It is the classical UNIX way to LOGIN as an ORDINARY user instead of ROOT. Then SU to be ROOT !

13. Finally…summary if u want to change anything, u can do it here. Especially TIME ZONE and COUNTRY.

14. Congratulations…Mandrake Linux successfully installed !

15. Just click EXIT..Then remove CD and REBOOT.

16. Now u get LILO screen. Press ENTER —- Here we go !
Your Mandrake Linux is UP and WALKING !

************** IF u have any trouble with hardware ***************
How to NVIDIA on LINUX
When u install Mandrake linux it auto detects nvidia, and loads module “nv” which is I think default driver for nvidia based cards.If u want better performance, then goto nVIDIA Driver Page download latest BIN file (eg. NVIDIA-Linux-x86-1.0-4349.run)
How to install?
It is recommended that first u change your run level to 3 (Open file “/etc/inittab ” in any editor change Runlevel:3) then “REBOOT”.
Login at prompt.
$cd /WHAT/ EVER/ DIR/CONTAINING/DOWNLOADED/RUNFILE
$./ NVIDIA-Linux-x86-XXX.run
Open “/etc/X11/XFREE86-4
Replace
Driver “nv” line BY Driver “nvidia”
Then
$startx
If everything is fine, u should see “nvidia logo”
And if there is some display problem u have to reboot.
Now u can set Runlevel to 5 (again editing that “/etc/inittab” file).

How to Internel Modem(WINMODEM) on LINUX
If you are lucky?then u may get driver (in rpm or tz format) from vendor driver page.
If you get RPM,
Very simple.
$rpm -ivh driver_xxx.rpm
open “kppp ” in xwindow terminal and your ISP accordingly.
If you get TZ format, (assuming u already installed Kernel sources)
$tar -xvzf driver_xxx.tar.gz
$cd driver_xxx
$make
If everything is fine do
$make install.
To confirm, just
$lsmod
to see which are all the modules loaded.
Let us take eg,
If u have Mototrola SM56 internal modem…
I think Motorola site have driver for RH 7.1 “sm56_RH_xxx.rpm ” (just guessing)
(Recently i visited a site, SM56.TK..Visit for more info.)
$rpm -ivh sm56_RH_xxx.rpm
$insmod sm56 —manually inserting sm56 module
$lsmod —–You should see an “SM56″ entry in the table

And if you have Conexant chip, no problem
I think you get driver for RedHat,Mandrake,SuSe including for their latest release Here OR Here
Just install that rpm..using
$rpm -ivh hsf_XXXXX.rpm
Follow the instructions..

Any questions and comments HERE

Related posts:

  1. Welcome to the world of LINUX ! ! Some HOWTOs How to NVIDIA on LINUX When u install...

Tags: ,

6 Responses to “SOMETHING ABOUT LINUX INSTALLATION…”

  1. July 21st, 2004 at 11:33 am

    pande says:

    Hi,
    Problem is that, you installed the MDK boot loader (i.e. LILO) on separate hard disk. So every time,you have to change the leads in order to load the bootloader which is installed on 2nd hard disk(MDK).Otherwise it will load Windows boot loader.

    Now you can do 2 things,

    1) install a separate bootloader (for eg XOSL see http://pande.info/index.php?p=39 ) on the primary and setup the loading options in that.
    2) insert MDK linux cd and install LILO on MASTER (i.e. MBR mastr boot record C drive).It will automatically add windows.

    In anycase do keep backups for important data in case something wired happens.
    That is to say, prepare for the worst when you are playing with OS !
    Regards,
    -pande

  2. July 21st, 2004 at 9:29 am

    jon says:

    yes but i have 2 hard drives…do i put XP as master and mandrake as slave…at the moment i have XP as master and mandrake as slave..but the system just boots into XP…with no option to boot into mandrake…i have to change the leads around every time i want to boot into mandrake….and thanks for your time its much appreciated..
    Lost in LINUX

  3. July 19th, 2004 at 9:32 am

    pande says:

    Which bootloader, you are using?

    I think MDK 9.2 installs, lilo as default bootloader.I don’t think you have to do any modification if you install MDK after WINxp.Because during installation, MDK linux will detect all the windows partitions and will automatically adds them to LILO.

    Kind regards,

  4. July 18th, 2004 at 11:55 pm

    jon says:

    i have 2 hard drives 1 with xp, which is the master the other with mandrake 9.2, i have a bootloader installed, so when i boot up i see all the hard disks, but when i choose to boot into mandrake it does nothing, is there somthing i am missing….total newbe to linux…so go easy with any jargon…cool site

  5. February 5th, 2004 at 3:12 am

    Zach McCormick says:

    NICE tutorial! I would like to request something… kinda hard from your location though… How to install Comcast Cable Internet on Linux (comcast is 99% anti linux). There are ways to get around it, but i cant find it…

  6. January 31st, 2004 at 10:50 pm

    Abdul Mueid says:

    This is just great! nice and easy to understand.

Leave a Reply

Spam Protection by WP-SpamFree