LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-03-2010, 12:11 AM   #1
BoydRice
Member
 
Registered: Jul 2008
Location: Tacoma, WA
Distribution: Slackware64
Posts: 96

Rep: Reputation: 19
Forgot Swap on lvm install on Slackware 13.1


Hello,

Did a fresh install of 13.1 using lvm for the first time. I created swap in the logical volume but forgot to add it when I ran through the install. Do I need to just add an entry to my fstab and then swapon -va? Thanks in advance for any help.
 
Old 06-03-2010, 12:14 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Sounds good...
 
Old 06-03-2010, 08:42 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by BoydRice View Post
Hello,

Did a fresh install of 13.1 using lvm for the first time. I created swap in the logical volume but forgot to add it when I ran through the install. Do I need to just add an entry to my fstab and then swapon -va? Thanks in advance for any help.
Yes, that will work.
 
Old 06-04-2010, 12:55 AM   #4
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
Here's my fstab entry for swap in case you need it
Code:
/dev/myvg/swap   swap             swap        defaults         0   0
 
Old 06-04-2010, 07:23 AM   #5
BoydRice
Member
 
Registered: Jul 2008
Location: Tacoma, WA
Distribution: Slackware64
Posts: 96

Original Poster
Rep: Reputation: 19
Thank you all for the help. Just had time to try it and it worked great. Thank you again.
 
  


Reply

Tags
install, lvm, slackware, swap



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware 12 forgot install lilo AerS Linux - Newbie 2 01-21-2008 11:56 AM
I forgot to make a swap partition Lokathor Debian 12 06-09-2006 11:34 PM
Forgot to create swap partiton J_stuart Linux - General 5 09-01-2005 04:43 PM
I installed linux and forgot to create a swap space partition Starch Linux - Newbie 5 06-22-2005 08:29 AM
forgot swap tiki Slackware 4 10-20-2004 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration