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 am trying to install stella linux OS which is based on CentOS. I am trying to install it with my windows XP. There are 4 drives in windows XP in which windows OS is installed in C drive.
Now, i want to install stella with windows OS in C drive. Now when i tried to install it then on the partition section, i got stucked. I dont want to delete any data from windows XP as well as install stella in the free space in C drive.
So, in the installation part, i am getting these options. Can somebody suggest me which one to choose ?
I'm not sure I understand you correctly, need to gmake it clear first:
What do you mean with "i want to install stella with windows OS in C drive"?
What do you mean with "I dont want to delete any data from windows XP as well as install stella in the free space in C drive"?
* You have 4 drives=hard disks in the computer. Or do you mean 4 partitions on one drive?
* Windows XP is installed in C:\, which is the first partition on the first HD.
* You don't want to use C: for anything but Windows, also you don't want to resize it - correct?
* Need to know the disk & partition sizes, as well as where you want to put Stella.
What to do depends on your answers to these questions.
My all the drives except C i.e D:, E: & F: are full. In C: drive i have 15 GB disk space. So, i can install stella in that space only. Now i dont want my windows XP OS which is installed in C: drive to get deleted. I want it to get installed without harming windows section
Now if you have 15GB free space on C: then you're good.
If it's 15 GB totally, then I'd say it's not enough. Of course, with a small WinXP and a very small Linux installation it could work, but you'll most likely run into trouble.
Anyway, what you need do is to resize C: and create a new partition in the free space.
You could use Stellas install option "Shrink current system", I have never tried this myself but it's reported to work. (Personally I don't trust any automated system like this if I need to protect my data, but that's me.)
If you choose this, be sure to mark "Review and modify partition layout"
An other way is to manually shrink C: with something like gparted, PartitionMagic or the likes. You could do it from Windows or from a Linux live-cd.
When the new partition is created as a non-windows partition the drive lettering should be intact.
It depends on how the drive is currently partitioned. I would assume that c is a primary and the rest are logical partitions so if you shrink c to create free space then the installer will automatically create additional partitions typically two. Seeing a screen shot of the XP disk management tool should provide some additional details as to how the disk is partitioned.
Make sure you backup up all important data just in case something goes wrong.
Seeing a screen shot of the XP disk management tool should provide some additional details as to how the disk is partitioned.
I second that suggestion. Telling us you have C, D, E & F "drives" is far less information than you may think. A screen shot of the drives in XP's disk management tool would give us better information about your system, allowing us to give better suggestions on proceeding.
i want to install stella with windows OS in C drive.
It doesn't work that way. C: is a partition, not a drive. If you install stella, it will be in its own partitions. You can do that by shrinking the C: partition to make room for new partitions.
If you are going to shrink an XP partition, it is best to prepare for shrinking it by:
1) Disable the paging file if it is on that partition:
System properties/ Advanced / Performance Options / Advanced / Virtual memory. Disable the pagefile then reboot
2) Defragment the disk.
Administartive Tools / Computer Management / Storage /
(Disk Management from there is the screenshot you ought to post)
Disk Defragmenter / Select the partition / Defragment and be prepared to wait a very long time.
When shrinking the partition remember the pagefile you removed and leave the shrunken partition big enough to put the pagefile back.
After shrinking the partition, the next time you boot XP will take a long time to start, because it checks the partition. Right after that, go to the same dialog where you disabled the pagefile and re enable it.
My all the drives except C i.e D:, E: & F: are full. In C: drive i have 15 GB disk space. So, i can install stella in that space only.
Yikes! You're in desperate need of a data cleanup or a new drive. 15GB is barely enough for a good, fully-functional Cent/RH install with some room to grow, and if you use all of it your Windows system will cease to function (all OSs need free space in order to do their daily activities). I can tell you that if all I had was 15GB available on my system, the LAST thing that I would do is try to install another OS in it.
You have 15GB free space so you can shrink C: and install Stella in freed space.
I suggest you follow johnsfine's advice above, just remember to keep enough free space for Windows. And don't install too much in Stella as you have limited space. Actually, the very best option is to get another hd for Linux.
You could also choose Stellas install option "Shrink current system" as mentioned previously.
And last but not least: of course take a backup of your data first!
Please, seriously: Read about partitioning before you do anything more!
I don't mind guiding you through the process, but without knowledge about partitioning your system and data (and possibly sanity... ;-) ) is at risk! You need to understand what you are going to do, not just follow instructions.
There's lots of info out there, here's one site that looks good (haven't read it all though). http://www.linuxbsdos.com/2011/09/18...ions-in-linux/
If you really want to continue now:
This error tells me that you have not split C: you have only defragmented it. So either go back and split it manually, or choose "Shrink current system".
But again, I really really think you should get a better understanding of partitioning before you continue!
while installing, i am getting an error. Look at this.
Was that from the "Use free space" option? That option can't work in your current situation and would be expected to give that error.
Or was it from "Shrink current system" option? That one might work in your situation. I don't know enough about what it does.
I'm also not sure about the range of options you have after selecting "Create Custom Layout" even though that is the one I always use myself. Even if that can do the job, that probably requires too much expertise.
The next step needed is to shrink the C: partition, leaving only a small amount of free space inside it, to recreate the pagefile if you deleted that and for continued use of Windows. The "Shrink current system" option is intended to automate that for you. But being automatic, it can't make good judgement calls. It may think it needs to leave too much free space inside C: and thus think there is not enough left over to shrink C:.
Your hard drive is rather full for adding another OS. Maybe you need to buy a second hard drive.
Most Linux install media support a live boot option. The standard CEntos install DVD does not (though Centos has an alternate DVD that supports both live boot and a cruder version of the Centos install). I don't know if the Stella media includes a live boot option. If not, you can download a liveCD version of some Linux and burn that to a CD and boot it.
Once in a live boot, you should be able to look through the menues to find the GUI Partition Manager (equivalent of XP's Disk Management), unfortunately named many different things in different Linux distributions.
I'm not sure which Linux distributions have NTFS support in their Partition Manager, so maybe some other expert will comment on that.
In that GUI Partition Manager, it should be easy to select the first NTFS partition (which is you C: partition, but probably not labeled as such) and select shrinking it so that most (but not all) of its free space becomes space after it.
If that errors because there is no NTFS support, there are a couple commands that can be issued to download and install NTFS support into the running ram copy of that live boot and retry. That NTFS support only lasts until you reboot but that is all you need. (But it is better to select a liveCD that has NTFS built in).
Once you use a liveCD Partition Manager to shrink C: you should be able to go back to the Stella installer and "Use free space" should work.
That phase "Use free space" is probably confusing you. It does NOT mean use the free space inside your Windows partition. It means use free space that is outside all partitions (you currently don't have any). More often that kind of space is called "Unpartitioned space" not "free space" so that option in many Linux installers is likely to confuse most Linux beginners. The separate operation of shrinking your C: partition changes (the requested amount of) the free space at the end of that partition into unpartitioned space.