DebianThis forum is for the discussion of Debian Linux.
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 setup debian testing the other day and didn't assign any space to be swap space. Luckily i do have two HDDs and one of them is holding most of my stuff that would otherwise be in /home.
Is is possible to safely modify my /home partition (ext3) in place to make room to create a swap partition (and how would I do so if it is)? Or should I just move everything in /home to another location, erase and recreate the partition at a new smaller size, and then make the swap space?
can you pour in the outputs of
If you have enough space and two drives you may move /home data to /home on partition where / is located then change proper changes in /etc/fstab and remount all or reboot to make the changes you wanted to do.
Physical swap is always faster than that of looped one? Won't it degrade the performance of the whole system?
This is what I have observed. If no other chance is left
then this option is great but in other cases we should try to avoid that. ie. where we can make partitions available.
cs-cam: is it "Just as good" to have a file for it? I seem to have gotten the impression from things that it's better to have an actual partition for the swap space (fore reasons that are currently beyond me).
You have /tmp on /hda5 . Your / on hda1 both of which have a lot of space in it.
1) Temporarily change /etc/fstab to reflect
#/dev/hda5 /tmp ext3 noatime,nodev,nosuid 0 2
So that the next time machine gets rebooted the hda5 gets released and your /tmp directory is on / ie. on hda1. And you will not get the resource busy error.
Reboot the machine.
2) fdisk /dev/hda
delete partition 5 which is very safe to do as it is temp partition.
create partition for /tmp & keep some space for swap partition
then create a partition for swap all the remaining proccess goes as usual.
3) Change /etc/fstab as per new partition table.
Reboot the machine with swap enabled!
Hope this will help you.
Last edited by imagineers7; 06-07-2006 at 02:28 AM.