LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-27-2004, 01:06 PM   #1
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Rep: Reputation: 30
Question Installing Linux on my other PC question (HDD related)


Ok, I have a PC in Europe that has a 40GB HDD in it. As I recall or try to remember that my technician told me that he is going to split up the drive. (I don't have all the specs about the PC in front of me). And he also told me (trying to remember) the reason he would do this, is that the second drive would be like a backup or something like that.

I don't know.

So, that would be 2 X 20GB. Maybe like this. I don't know:

C: Drive= 20GB
D: Drive= 20GB

I am assuming it would be something like this. But like again, I do not know if this is going to happen or not. I don't know.

But, just incase he does split the drive, which drive should I install Mandrake Linux on???
If that would be the case. I don't know.

I emailed him regarding this question. But he did not get back to me in weeks. And plus, he does not know Linux.

So, thats why Im posting this to get an answer from the professionals.

I know how to Customize Partitions (Mandrake being the easy one) and plus I have all my install notes.

But, all I need to know which drive should Linux be installed if the 40GB HDD is split up into ( 2 X 20GB )?????


Thanks
unixfreak
 
Old 08-27-2004, 01:10 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,326

Rep: Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364
Since this is 1 physical disk, the 2nd partiton can hold copies of stuff if you want, but if the disk dies you won't have a backup unless you copy to another storage device...
 
Old 08-27-2004, 01:14 PM   #3
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Well, I dont intend to backup on hadrdives anyway since Im archiving all of my backups on CDs.

My questions is, If I install Linux on that PC, which HDD partition would I have to install Linux in? Thats all.
 
Old 08-27-2004, 01:24 PM   #4
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Oh.... and its a Windows 2000. Sorry.
 
Old 08-27-2004, 01:43 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,522

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Most default linux installers create more then one partition and there not the same size. There are several reasons for creating multiple partitions i.e. like seperate /var /home and /boot partitions depending on what you want to accomplish with the computer.

I would let the installer partition and format automatically.

I am assuming your wanting to dual boot from the last post? Install windows first but only partition the c: for 20GB. Then let the installer partition and format the rest automatically.


BTW I found it helpfull when first leaning linux to go to the library or bookstore and read up on adminstration and running linux. I also suggest purchasing a book or two.

Last edited by michaelk; 08-27-2004 at 01:46 PM.
 
Old 08-27-2004, 04:11 PM   #6
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 84
If you will be dual booting both Windows and Linux, it's generally easier to install Windows first, and as you know Windows will install itself on C:\ (aka the first partition). Therefore, Mandrake would end up on what you are calling "D:\" (aka the second partition).

I also totally agree with michaelk's recommendation to do some reading up on partitioning schemes first. There are definite benefits to assigning certain directories their own partition (such as /home) and it's a lot easier to do all the necessary partitioning work on an empty drive than it is to try to do it after the fact when everything has been installed.

Lastly, partitioning schemes are a matter of personal choice - if you are looking for recommendations, the best thing to do would be to simply use the Search function here to locate the hundreds and hundreds of existing threads on that exact topic. -- J.W.
 
Old 08-27-2004, 09:12 PM   #7
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Ok, the PC is Pre-Installed with Windows 2000. I forgot to mention that. Sorry. My fault.

Since Im now telling you guys this, If the first partition (C:Local Disk=20GB) and theres the second partition (D: Drive=20GB) then which drive partition would I have to install the Linux partitions on the free space thats left on one of these Windows Partitions???

The C-Drive (Local disc) or the D-Drive?? This is just a scenario.


I hope this is understandable


Like for example, when I first installed Mandrake Linux on the PC that I'm using here at home, I installed the Linux partitions on the free space that was left on my (one) 34GB HDD.

But the PC in Europe MIGHT have (one 40GB HDD) split up as (two) 20GB HDD.


---------------------------------------------------------------------------------------------
And one note about how to learn Linux in my opinion. Is to have or obtain an old PC with the approprate hardware and throw Linux on there. Then I can learn Linux or get my hands dirty on that PC without having to worry about data being lost on the PC that I'm working on now.

But thats just my opinion.

Hope this helps

Last edited by unixfreak; 08-27-2004 at 09:31 PM.
 
Old 08-27-2004, 09:38 PM   #8
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 84
You need free, unallocated disk space on your disk if you expect to be able to install Linux onto it. If the 40G drive will be split into halves, with only 20G going to Windows (as C:\) then the remaining 20G could be given to Linux. On the other hand, if the 40G will be divided into a pair of 20G partitions (C:\ and D:\) and they are both being used for Windows, then you can't install Linux on that drive because you don't have any space left -- all of the space has already been allocated to Windows.

Due to the extremely high level of uncertainty you describe over what *might* happen with this drive, I'd suggest putting this topic on the back burner until it does become clear how the drive will be set up. I don't see that there's all that much point in spending a lot of time developing plans on a set of unstable assumptions -- J.W.
 
Old 08-27-2004, 09:47 PM   #9
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
J.W. wrote:
On the other hand, if the 40G will be divided into a pair of 20G partitions (C:\ and D:\) and they are both being used for Windows, then you can't install Linux on that drive because you don't have any space left -- all of the space has already been allocated to Windows.
===================================================================

If this the case then how would I install Linux? Do I just delete one of the drives?

Or will I be screwed from installing Linux???

As soon as the guy emails me back hopefully I will get more info.

Last edited by unixfreak; 08-27-2004 at 09:56 PM.
 
Old 08-27-2004, 10:17 PM   #10
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Wow. J.W -

I translated the reply what you posted in Hungarian to the technician who built the PC.

Well, lets hope the best. I sure hope its One 40GB drive as whole. I am praying.

If not, then is there any way I could delete the WHOLE drives and just install Linux from scratch and just dump Windows???

And how would I do that??? Mandrake has a built in partitioner. How would I delete the Windows Partitions to install Linux as being one OS on that PC. What about resizing??? Could I resize?

I would like to add this in my notes. The notes what I have now is for just dual boot installation.

Last edited by unixfreak; 08-27-2004 at 10:22 PM.
 
Old 08-27-2004, 10:43 PM   #11
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 84
unixfreak -- you are only dealing with one single physical hard drive, but the 40G of space can be divided however you want. It can be left as one 40G partition, two 20G partitions, or any other configuration you wanted. I've got a 40G drive that is partitioned into two 5G and one 30G parition.

Anyway if the drive comes as two 20G partitions, Yes, you can simply drop the second partition but of course you would lose any data that was stored there. If you want to avoid this, you should tell your guy to simply set up the drive however he wants, but to leave 20G of unallocated, unpartitioned space. That way when you get it you can keep the Windows installation he created, plus the disk will be ready for a Linux installation. You can of course just blow everything away, and start from scratch and install Windows yourself and then Linux.

I recommend that you spend some time doing some reading on your own. It would be time well spent. As a tip, look for information about "fdisk" and "cfdisk". Both of those commands are used to partition disks and learning how to use them will be useful to you. -- J.W.
 
Old 08-28-2004, 09:52 AM   #12
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Like I said, I do not mind dropping the second partition. As long as I could install Linux, that's all it matters.

So, will this work if I drop the second partition and install Linux on the free space that's left on the Local Disk drive (C)?

Please advise.
 
Old 08-28-2004, 01:40 PM   #13
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
So, will this work if I drop the second partition and install Linux on the free space that's left on the Local Disk drive (C)?

Please advise.

I just want to install Linux. And I will not be using any partitions to store extra data, like I said. So is it OK to drop the second partition?

I am still waiting for his email to answer my question.

But until then I would like to know IF I should drop the second partition and use the Local Disk (first partition) to install Linux on the free space that it has?

Last edited by unixfreak; 08-28-2004 at 01:42 PM.
 
Old 08-28-2004, 03:10 PM   #14
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 84
Quote:
Originally posted by unixfreak
Like I said, I do not mind dropping the second partition. As long as I could install Linux, that's all it matters.

So, will this work if I drop the second partition and install Linux on the free space that's left on the Local Disk drive (C)?

Please advise.
I'm not sure that you are paying attention to what I'm saying. Let's try it again: You have a single physical hard drive with 40G of data storage capacity. Regardless of the operating system(s) you intend to install on it, the first decision you have to make is how to partition the drive. Partitioning a hard drive means that you can either have the computer treat your hard drive as a single 40G "bucket" of space, or you can have the computer treat your hard drive as multiple smaller buckets of space, such as two 20G buckets, four 10G buckets, or whatever. Based on your repeated comments about having a C:\ and D:\ drive, I will assume that you are saying that you will divide your 40G hard drive into two equal sections, and the first 20G partition would correspond to the C:\ drive and the second 20G partition would correspond to the D:\ drive.

Now, in this situation, obviously 100% of the available disk space has already been allocated to Windows, and so there would be no room to install Linux on that drive unless you took action to make space available. As you indicate, the most likely action to take would be to simply drop the second partition (corresponding to the D:\ drive) but of course by doing that you would immediately lose any data that happened to be stored anywhere within the D:\ drive. Whether or not this outcome "works" for you is a question I cannot answer because I do not know what kind of data you would lose by dropping the second partition, or whether or not the loss of the D:\ drive would create problems for Windows (which presumably is installed in the first partition aka the C:\ drive). Strictly in terms of making disk space on the hard drive available however, Yes, it would work.

Assuming you did take this course of action, at this point, your 40G drive would consiste of a single 20G partition that is allocated to Windows (and would correspond to the C:\ drive) and 20G of available, unallocated space. At this point, finally, you would be able to install Linux into that available, unallocated space. Again I would direct your attention to doing a search either here at LQ or on Google for Linux to do some basic reading on hard drive partitioning. Good luck with it -- J.W.
 
Old 08-28-2004, 04:52 PM   #15
unixfreak
Member
 
Registered: Jul 2004
Distribution: Linux 2.4.21-0.13mdk, W2K
Posts: 412

Original Poster
Rep: Reputation: 30
Like I said, I do not mind dumping the second 20GB drive. No problem. Since I backup all my data on CDs anyway. So it would not matter.

So, I would dump the second drive (20GB) and install Linux on the C drive of the Windows and use it's rest of the free space to install Linux.

But one question, if I dump the second drive, will I still lose the Windows data that's on the C drive??
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
Is there a need to split the key folders into different partition on 1 hdd? Swakoo Linux - Newbie 9 08-03-2005 04:46 PM
how doi set my jumpers on the hdd to split krt47 Linux - Hardware 4 04-19-2005 06:37 PM
HOWTO Split my exist Linux drive! tricky_linux Linux - Software 6 11-14-2003 07:05 AM
Ghosting Drive with the -split option... Not working... Vince0000 Linux - General 0 11-12-2003 03:59 PM


All times are GMT -5. The time now is 12:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration