Site Statistics
 
Threads: 3,853
Posts: 17,029
Members: 2,895
Users Online: 16
Newest Member: yhangjoy


Go Back   PC101 > Discussion, News, & Tutorials > Tutorials and How-To...

Tutorials and How-To... Learning something new is just a click away! Provided to you by members and staff.


Reply
 
LinkBack Thread Tools Display Modes
Old 04-16-2006, 03:10 PM   #1
Junior Member
 
Join Date: Apr 2006
Posts: 4
Rep Power: 0 AhmedMostafa257 is on a distinguished road
An introduction to Linux

Partitions and File Systems

As discussed earlier, Linux should be installed into its own partition. All hard drives need to
be partitioned before they can be used. When you partition a drive, you’re designating a
specific area of your hard drive for use. Partitions allow you to divide your hard drive so that not all information is stored in one area. Different operating systems write information to partitions in different ways, and these different ways are known as file systems.

Partitions
There are two types of partitions: primary and extended. Extended partitions can be
subdivided into more parts through the use of logical drives; primary partitions cannot. A
hard drive can contain both types of partitions at the same time, with some limitations. A
drive can contain up to four primary partitions. To divide a hard drive up even further, one
of these partitions may be designated as an extended partition. Each extended partition can be divided up using logical drives.

File Systems
Whereas the partition tells the operating system “Write information in this area,” a file system tells the operating system “Write the files in this format!” DOS versions 5.0–7.0 use a file system called FAT16 that allows for 512 megabyte partitions (and larger ones through some fancy footwork that are beyond the discussion of this book). Windows 95 OSR2 can use a FAT32 file system, which allows for much larger partitions. Linux primarily uses two file systems called EXT2 and SWAP.

If you are using Windows NT, OS/2, or have Windows 95 OSR2 with a FAT32 partition, you may have problems using the fips commands. You need to look to a commercial partition program (such as Partition Magic) to create the necessary space.
AhmedMostafa257 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2006, 04:03 PM   #2
Forum Staff
 
Lyte's Avatar
 
Join Date: Oct 2005
Location: Good ol' U.S. of A
Posts: 3,175
Rep Power: 6 Lyte is on a distinguished road
Send a message via MSN to Lyte Send a message via Yahoo to Lyte Send a message via Skype™ to Lyte
Hey AM,

Welcome to PC101.

Thanks for contributing to our Tutorial section... good info!

Lyte
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Lyte is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-16-2006, 09:03 PM   #3
Junior Member
 
Join Date: Apr 2006
Posts: 11
Rep Power: 0 0xide is on a distinguished road
amazing info dude, ill have to use this sometime.
0xide is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2006, 06:11 AM   #4
Junior Member
 
Join Date: Apr 2006
Posts: 4
Rep Power: 0 AhmedMostafa257 is on a distinguished road
Installing the X Files

In order to install the files you need, you must load the CD-ROM for Linux to see it, then get data off of it.
Insert the Red Hat CD-ROM and at the # prompt type the following:
mount /mnt/cdrom
After a few seconds you should see some activity on the CD-ROM and the # prompt, letting you know that you can continue. Change your current working directory to that of the CD-ROM’s RPM area by typing the following command:
cd /mnt/cdrom/RedHat/RPMS
Further data, configuration options, and bug tips can be found at the following site:
http://www.xfree86.org
If no X items were installed, you need to install several RPM packages by using the rpm command. At the prompt, type the following commands one at a time, pressing Enter after each:
rpm -ivh X11R6-contrib*
rpm -ivh Xaw3d-1.3*
rpm -ivh Xconfig*
rpm -ivh XFree86-3*
rpm -ivh XFree86-75*
rpm -ivh XFree86-libs*
The preceding command lines will install everything you need except for the X server, which supports your specific video card. To install the correct server type in the following:
rpm –ivh Xfree86-YY*
Replace YY in your command line with the server name for your video card.

Last edited by AhmedMostafa257; 04-17-2006 at 06:14 AM.
AhmedMostafa257 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-17-2006, 07:42 PM   #5
Valued Member
 
firestorm's Avatar
 
Join Date: Jan 2006
Location: US of A!
Posts: 777
Rep Power: 3 firestorm is on a distinguished road
Send a message via AIM to firestorm Send a message via MSN to firestorm
nice info Ahmed, I will try to add some when I get done with my project. Good start!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Registered Linux user #403288
firestorm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-18-2006, 03:43 AM   #6
Junior Member
 
Join Date: Apr 2006
Posts: 4
Rep Power: 0 AhmedMostafa257 is on a distinguished road
Using Xconfigurator to Set Up X Window

At the # prompt, run the Xconfigurator command. You will get a welcome screen with an Ok button at the bottom, explaining the program.

Pressing Enter starts a PCI probe to see if Xconfigurator finds any video cards in your system. If it finds any, it shows which chipset and which X server need to be used. Pay special attention to this—if you installed the incorrect X server you are given the opportunity to correct your mistake. If the program can’t find a card when probing, it brings up a list of cards and servers.

If you manually installed the X server earlier and it doesn't match what the Xconfigurator finds, the configuration program aborts. Install the proper X server and then begin the configuration process again.

If you can’t find your card on the list of servers, you should try to use the SuperProbe program. Running that probes the card directly and outputs what video chipset, amount of memory, and RAMDAC chipset it found.

The SuperProbe command can lock up the machine and with a very few cards cause other problems. Read the man page on SuperProbe (man SuperProbe), and if you aren't comfortable with the possible risk, don't run it.

If you still haven’t found a chipset that matches your system, you need to use the VGA16 or Mono server, as these are the lowest common denominators available. When choosing a video card, you also should be aware that video card manufacturers like to use name
recognition but also use the best technology available for their card.

Sometimes this results in two cards with similar names having very different chipsets—and it’s the chipset Linux cares about. So, you may set up the servers thinking you have one chipset, and when finally starting the server get errors telling you that the card is not being detected.

Last edited by AhmedMostafa257; 04-18-2006 at 04:09 AM.
AhmedMostafa257 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux desktop growth could spur new malware activity Lyte UNIX / Linux 1 10-03-2006 06:37 PM
The Linux 2.6 Kernel OulZac UNIX / Linux 3 09-07-2006 08:03 PM
Hacking SUSE Linux 10.1 OulZac UNIX / Linux 7 08-26-2006 03:48 PM
New Linux look fuels old debate zvez UNIX / Linux 4 04-19-2006 07:03 PM
Linux desktops need more than just a pretty face Lyte UNIX / Linux 1 03-26-2006 12:08 PM



All times are GMT -5. The time now is 06:03 AM.

Powered by vBulletin Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5