Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i have two partitions both ntfs but will format 2nd one for linux.
i want to install linux with lilo as the bootloader but to
the boot partition and not mbr so that i can add it to the windows xp
ntldr loader and remove linux if i ever have too.
i have found the following but cant post the link as i am a newbie, so the lind is chopped off add www and com.
will the above link do the job ?
The guide you posted is good.
The Windows bootloader does not 'find' the Linux stuff, you tell it where a copy of the Linux bootsector is in C:\boot.ini .
Note that you do not have to have a boot partition, as the bootloader can be installed to the Linux root partition as well. Just be sure to not install to MBR.
You will copy the bootloader from the Linux partition to a file (w/ dd), which will go in C:. Then you edit boot.ini .
Hint: Do not rearrange the hard drives during installation as this will complicate things.
You can do the Linux commands using the Mandrake cd's rescue mode (though I don't think it has mcopy). 'fdisk -l' command lists the names of all the partitions.
is there any thing i should look out for when trying to install the bootloader and also how would i install it to the boot partition, does it give me option or do i have to look out for the advance option on the screen.
also is it ok to split partition my 2nd partition, becuase you have written
"Do not rearrange the hard drives during installation" or does this apply to physical hard drives only.
Make sure you don't install to mbr. In Mandrake 8, one has to be in 'expert' mode to get the option, I think it may have changed in in later versions. It will ask if you want to install to MBR, root partition or floppy. Choose 'root'. You can reinstall the Windows bootloader by booting the Windows cd in rescue mode and using the 'fixmbr' command.
cool ill do that. anychance you can help me out with one more thing, about my 2nd partition i have 15GB. im gonna have one d: drive for my windows apps about 5Gb NTFS.
so that leaves 10GB left. im gonna use about 1.2GB for my swap partition that leaves 8.8GB.
how about 4GB for the linux /root partition. is that enough. ?
then about 2.8GB for /home and the rest which is 2GB for a fat32 partition so i can copy files from one OS to the other.
hows does that sound ?
thats makes about 3 partitions for linux and one optional. doesnt that sound alot ?
im gonna be installing mandrake 10.0 does this have a expert mode too. or is there an advance button when it comes to installing a bootloader.
another thing do i have to go in to 'expert mode' to make my partitions /home and /swap and /root.
i forgot to ask do i make all the partitions using 'fdisk' but dont format them except my 5GB for my windows apps and let mandrake format the rest or do i just make my d: partition and leave the rest as free space with no partitions.
these are my last questions and im gonna be ready to install.
1.2 gb is a bit big for swap... the 2*ram rule is outdated, trim it down to 500mb or less. The '/' root partition can use that space.
Haven't tried MDK 10, but I hope they changed it. It is very annoying to have a bootloader install without your control.
For partitions, you choose the 'custom partitioning' option that is available in all modes.
Let each os make and format it's own partitions.
so to clear one thing up, i dont fdisk each partition ie /home /swap /root
and when it comes down to the part, i specify this space for /home and this for /root. or do i create each partition but dont format it.
will there be a option to create partitions or just format ?
that is the sole question im left with.
Let Windows create & format it's partitions. Leave empty (no partition) space for Linux. In the Mandrake installation, there will be a graphical tool to create and format the Linux partititons. You will be asked where you want the partitions. Then, you will be asked the type. The partitions you create will not be formatted until you tell it to explicitly or when you close the partitioner after making the partitions. You will have to choose the filesystem. I recommend using ext3.
Types of partitions you'll deal with:
Linux native (for / and /home)
Linux swap (for swap)
Types of filesystems for Linux:
ext2 (old & reliable)
ext3 (almost exactly the same as ext2, but w/ journaling)
reiserfs (a journaled fs)
xfs (really fast journaled fs)
ext2/ext3's advantage is that it is very comman and flexible. If you need to access your system from a bootdisk, you will not need to worry if the bootdisk supports your filesystem, ext2 is built into Linux, and the bootdisk doesn't need to support ext3 to read it. There is lots of Windows software that can read it too.
Reiserfs: People say it is faster than ext3, and it handles small files better. However, you lose the flexiblity of ext2/3. For example, there is no software for reading it from Windows.
XFS: Fast, but uncommon. You will confront compatibility issues, like the many bootdisks that don't support it.
with you help i have managed to install linux. thank you.
one problem is that i have run into a wall because i can boot into linux, itsthere on /dev/hdc6 but i cant get into it as i dont have a floppy drive.
i can however get in to the mandrake rescue screen but no command seem to be working from thier. im not sure what to type. i have also made my share partition where i can copy the boot record too as i dont have a floppy disk. but i will need to log it. i cant remeber exactly what it shown me @ this recue mode.
Try running 'startx'. If it runs, then stops, run 'XFdrake' to configure the gui. Mandrake is supposed to start with the gui. Perhaps it was unable to configure properly, or the gui was not installed properly.
thanks for all you help i got it all sorted. i ran xf86config then installed 845patch using rpm then added it to the the startup file and its all sorted. all i neednow is a website that can help me install .tar.gz. i have a few good ones, but cant seem to make sense of the make and make install command or the uncompressing command do you know any websites ?.
another thing when i play games it uses up my CPU alot and becuase i have a laptop the system fan comes on alot, im worried about this issue, is thier anyway to cut down the cpu usage ie stop it from using 100% most of the time. i think the 100% issue uses up more battery too.
tar -xvzf prog.tar.gz extract, verbosely, ungzip first, 'f' means overwrite w/o asking
cd prog this is probably the folder that was just extracted
./configure run the 'configure' shell-script to prepare for compiling and check dependencies
make compile the program
make install install programs you just compiled
The process may vary, to find out what steps are needed , read the package's README.
To use checkinstall, replace 'make install' with 'checkinstall make install'. Then the package will uninstall easily.
See this: http://wiki.linuxquestions.org/wiki/...on_from_source