LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-22-2005, 04:17 AM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
I changed the hard disk


I removed the SATA Maxtor 160GB hard disk and bought a new Samsung 200GB
hard disk. This one is IDE hard disk. Now I solved the problem. The SATA hard disk was the liability.

I guess there are 3 partitons in Linux. One is called root partiton the other one is
the swap partition.

What is the other partition?
What is the use of the root partition?

I will install Mandriva after hearing from you.

[ I have already successfully installed Windows XP. I always keep it as a symbolic operating system. I have Partition Magic installed on Windows XP. It will easily
create partitions, formatting, etc.]
 
Old 11-22-2005, 05:37 AM   #2
pritchardtom
Member
 
Registered: Oct 2005
Location: Swansea, UK
Distribution: Slackware // Mandriva
Posts: 32

Rep: Reputation: 15
"What is the other partition?"

You do not need an extra partition, you can just have a swap, and root partition. As you become more, and more proficient in using Linux, you will begin to realise that having two partitions can become tiresome, especially if you have your files stored on;

/home/user-name/otherdirs/...

So some people, including myself have a /Files partition or /Music etc...
Others stored /usr in a separate partition but you do not need to worry yourself over such matters.
----------------------------------------
"What is the use of the root partition?"

The root is like the C:\ of Windows, everything is stored on it, unless you declare other partitions to store certain things.

If you are installing Mandriva 2006, it should create the swap, and root for you, and that will do for your first use of linux.

Hope this helps
 
Old 11-22-2005, 06:54 AM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks pritchardtom for your comments.

Total size of my harddrive is 200GB. I want just 40GB for Windows XP. The Windows XP works fine and I can go to the Internet using Windows XP.

I will first install Mandriva; afterwards I want to install SuSE.

Now my entire hard disk is NTFS.

Using the Partition Magic program I want change the 160GB of NTFS into FAT32.

Because FAT32 recognizes Linux.

After creating 160GB of FAT32 partition, I will create two 'ext2' Linux partitions.

Each will have 80GB.
The Partition Magic program works fine and I know how to do this. I have used the Partition Magic program for several years.

Your thoughts and comments are very welcome again.
 
Old 11-22-2005, 07:02 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Some distributions have a default partitioning scheme of /, /boot and swap. The /boot directory contains the kernel and other files necessary to boot the OS. You can partition the drive in many ways but the default is probably sufficient for most.

All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. All devices are connected to the tree including cdroms, external drives etc. / is analogous to c:\ but there are no d:\s or e:\s etc.
 
Old 11-22-2005, 07:17 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
I would consider creating a seperate FAT32 partition for sharing files instead of using the entire 160GB. You can create the partitons via PM but when you actually do the install I suggest using a journaling filesystem like reiserfs or ext3. 512mb is a good size for swap. If you just creating a / then make it the remaining 160GB.
 
Old 11-22-2005, 07:51 AM   #6
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks michaelk for the reply.

Let us say that I format 160GB using the Partition Magic program to FAT32.
Now the entire 200GB are NTFS.

Then I could insert the Mandriva CD's and install it. It will recognize the FAT32
and install the Mandriva.
If I executed the above, would it be possible to install SuSE later on?
Your comments and thoughts are welcome.



Those Mandriva CDs were downloaded from a FTP site.They are Mandriva 2006. I am delighted to have such a latest version.

[I had Mandrake 10.0 on my old computer for over 2 years. It crashed and everthing went to hell. It was a 32 bit computer. The new one is 64 bit and I have downloaded the 64 bit Mandriva too.]

Last edited by Gins; 11-22-2005 at 07:54 AM.
 
Old 11-22-2005, 08:14 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Create a 40GB partition for your XP install and a FAT32 partition for sharing as desired. The FAT32 partition is just for files and not for any operating system.
Create an extended partition that uses the rest of the unallocated space.
Install mandriva and specify the size of the partitions as desired. That way you can install SuSE later.
 
Old 11-22-2005, 12:53 PM   #8
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
michelk

Do you mean a FAT32 partition for maintaining files, data, etc for both Linux and
Windows XP?

Is it possible to have a common partition to store your work?
This is a good idea.

I thought it would be better to create 'ext2' file systems.

What is the difference between 'ext2' and 'ext3' file systems?

I am not familiar with so-called journalling file systems. What is it?

I have 1GB of RAM. I have learnt that the maximum swap partition should be
double the size of the RAM.

Why do you think 512 is ideal in my case?

Last edited by Gins; 11-22-2005 at 01:02 PM.
 
Old 11-22-2005, 01:41 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
The 2x RAM rule of thumb is outdated. The actual amount of swap required really depends on what applications you are running and how it is used. A low end user i.e websurfer, email, etc does not require much swap if any with 1G RAM. A high end graphics user or high traffic web / mail server will require more swap. The 512MB is middle of the road and its better to have some and not need it then to need it and not have any.

ext2 has been the defacto standard for linux filesystems but was never designed for large filesystems and takes forever when checking for errors i.e fsck. ext3 is basically an improved ext2 with a journal. There is lots of information on the web about journaling filesystems.
http://www.linuxgazette.com/issue55/florido.html

Since FAT32 can be read/write between by both OSs it can be used as a common partition to share data but there is are limitations. The max file on a FAT32 partitions is 4GB which can be problems if wanting to transfer large files like DVDs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Changed settings using hdparm...disk read speed dropped ! twisted_mind Linux - Newbie 2 12-21-2003 11:02 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration