Linux - GeneralThis 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.
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 have been trying to get ACPI suspend to disk working, and I just about have it, and I realized that my swap partition is too small. This gives me reason to mess with this hard drive a bit as I have been meaning to, but I want to ask around before I really mess things up.....
This is a laptop. Windows is installed on /dev/hda1. I have not booted windows in months, and I just keep it around in case on of my professors decides that we really need to use some windows-only program. Anyway, /dev/hda2 is linux (ext3) and /dev/hda3 is swap (around 200 megs).
What I want to do is boot into windows, and use Partition Magic to shrink the windows partition as much as possbile, and then create a new partition out of this free space. I would like to use around 600 megs for a new swap partition, and then use the rest at ext3. Now, I also want to be able to boot Linux and windows after this (im using GRUB).
Im guessing that after I get through this will be my disk:
/dev/hda1 : ntfs
/dev/hda2: ext3 (new empty partition)
/dev/hda3: new swap partition
/dev/hda4: ext3 mounted on /
/dev/hda5: old swap partition, useless
to get this to work, is it going to be as simple as changiing in grub.conf:
root=/dev/hda2 to root=/dev/hda4
or will there be complications. Also, I need to know how to configure the new swap partition as the one I want to use (although its not changing from /dev/hda3, so would it possibly just work?
Thanks for any help I can get with this in advance
Theoretically it should work but take my advice it doesn't. Sorry to be so blunt but i've tried this myself and i was unsuccessful. It's not just about changing the grub.conf file, the matter is more delicate.
i will have to change the root that is specified in grub.conf, because for some reason, the "make install" script never works for me when I compile a new kernel. It puts it as "root=LABEL=/" which doesnt work. I have to specify /dev/hda2
so I know I would have to change that. is the fstab stuff all there is to it? I was concerned that other unforseen problems might show up somewhere.
I also have been seriously considering just wiping out my windows partition. It is a real waste giving around 6 gigs to an OS that I would be keeping around "just in case". But, as I said earlier, I might really need it some day.
But, I think if I can prepare for any problems that might come up, I think I will keep windows and just try to take all the space from it that I can. I just need to make sure that I have all my bases covered before I do this