LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 08-05-2004, 09:20 PM   #1
chrisford553
LQ Newbie
 
Registered: Jul 2004
Posts: 20

Rep: Reputation: 0
Labeled my SWAP partition wrong...


Hey All,
I just figure out another major problem I have. I labeled my swap partition hdb2 instead of hda2. Thus, when i boot the swap partition fails. Can i change this? Any help would be appreciated.
 
Old 08-05-2004, 09:54 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,592

Rep: Reputation: 96
Re: Labeled my SWAP partition wrong...

Quote:
Originally posted by chrisford553
Hey All,
I just figure out another major problem I have. I labeled my swap partition hdb2 instead of hda2. Thus, when i boot the swap partition fails. Can i change this? Any help would be appreciated.
As root edit the file /etc/fstab and change the "b" to an "a" in the line for the swap then save the file and use either mount -a or swapon -a.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Added second harddrive as a partition, but now the partition size is wrong.. mlsbraves Linux - General 5 08-17-2005 09:10 PM
what is wrong with the swap adarsh_fj Linux - Newbie 6 10-07-2004 11:50 PM
Wrong swap partition GaryS Linux - Hardware 4 03-20-2004 11:04 AM
Slackware 9.0 ISO labeled wrong? jrdioko Slackware 9 05-09-2003 04:25 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration