Debian This forum is for the discussion of Debian Linux.
|
| Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-23-2011, 09:26 PM
|
#1
|
|
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,524
Rep:
|
Configure Debian to use lost SWAP Partition
hi
During the second OS (CentOS) setup, the shared SWAP partition was formated and now I get the following under Debian:
Code:
# free
total used free shared buffers cached
Mem: 507524 251436 256088 0 11488 78332
-/+ buffers/cache: 161616 345908
Swap: 0 0 0
Howto configure Squeeze to use again this SWAP partition?
|
|
|
|
01-23-2011, 10:01 PM
|
#2
|
|
Member
Registered: Sep 2004
Location: USA
Distribution: Slackware, Debian
Posts: 70
Rep:
|
I hope someone corrects me if I'm wrong here, but I believe you're looking for the swapon (and mkswap, if needed) commands.
Make sure your /etc/fstab looks alright, in respect to your swap partition. If you have the partition identified by UUID, confirm that the UUID is still what it's supposed to be (blkid).
|
|
|
1 members found this post helpful.
|
01-23-2011, 10:22 PM
|
#3
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 820
Rep: 
|
You probably have to modify the UUID in the line for your swap partition on your /etc/fstab file. To know the UUID, type:
Code:
ls -l /dev/disk/by-uuid
and see which UUID points to your swap partition (then change the old UUID for the new one, on your /etc/fstab file, reboot and your done).
|
|
|
1 members found this post helpful.
|
01-24-2011, 05:04 PM
|
#4
|
|
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,524
Original Poster
Rep:
|
Thx a lot, I've done and now it works well.
|
|
|
|
01-24-2011, 09:16 PM
|
#5
|
|
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,524
Original Poster
Rep:
|
BTW blkid command shows UUID as well.
|
|
|
|
01-25-2011, 07:59 AM
|
#6
|
|
Member
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, LMDE
Posts: 820
Rep: 
|
Yeah, blkid returns the UUID of all the partitions in the system (I "discovered" it recently for another post here in the forum)  .
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|