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.
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 )?????
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.
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.
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.
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.
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.
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.
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)?
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.