Wilders Security Forums  

Go Back   Wilders Security Forums > Software, Hardware and General Services > all things UNIX
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #26  
Old July 9th, 2011, 04:02 AM
tlu's Avatar
tlu tlu is offline
Very Frequent Poster
 
Join Date: Sep 2004
Posts: 2,076
Default Re: Ubuntu 10.10 not using swap

Quote:
Originally Posted by aigle
i get this

aigle, then the entry for your swap partition in /etc/fstab is obviously wrong.
  #27  
Old July 10th, 2011, 06:57 PM
wilbertnl wilbertnl is offline
Very Frequent Poster
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Posts: 1,837
Default Re: Ubuntu 10.10 not using swap

Quote:
Originally Posted by aigle
i get this
Type blkid and verify the contents of /etc/fstab.
  #28  
Old July 10th, 2011, 09:29 PM
aigle's Avatar
aigle aigle is offline
Incredibly Massive Poster
 
Join Date: Dec 2005
Location: Saudi Arabia/ Pakistan
Posts: 10,431
Default Re: Ubuntu 10.10 not using swap

Quote:
shahbaz@shaheen:~$ blkid
/dev/sda1: LABEL="OS" UUID="1C2C56032C55D87A" TYPE="ntfs"
/dev/sda3: UUID="9707e55e-1ceb-4ba4-9c24-e6808ea6e552" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda4: UUID="9707e55e-1ceb-4ba4-9c24-e6808ea6e552" TYPE="ext3"
/dev/sda5: UUID="8cdb2e18-31e3-4b59-92a3-4ed1740d4005" TYPE="swap"
/dev/sda6: UUID="8b54d236-ed32-4659-97c0-c20eb93a8841" SEC_TYPE="ext2" TYPE="ext3"

i got this.
__________________

Ubuntu 13.04
AX64 Time Machine, Comodo FW & Defence Plus, Sandboxie not compatible?
  #29  
Old July 10th, 2011, 10:24 PM
wilbertnl wilbertnl is offline
Very Frequent Poster
 
Join Date: Dec 2004
Location: Tulsa, Oklahoma
Posts: 1,837
Default Re: Ubuntu 10.10 not using swap

Aigle:


Your /etc/fstab reads as follows according to a previous post:

# swap was on /dev/sda5 during installation
UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0

And your partition readout shows a different UUID for the swap partition:
/dev/sda5: UUID="8cdb2e18-31e3-4b59-92a3-4ed1740d4005" TYPE="swap"

You need to edit /etc/fstab and change the line as follows:
UUID=8cdb2e18-31e3-4b59-92a3-4ed1740d4005 none swap sw 0 0

See the difference:
UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0 <- wrong
UUID=8cdb2e18-31e3-4b59-92a3-4ed1740d4005 none swap sw 0 0 <- correct
  #30  
Old July 14th, 2011, 08:45 PM
aigle's Avatar
aigle aigle is offline
Incredibly Massive Poster
 
Join Date: Dec 2005
Location: Saudi Arabia/ Pakistan
Posts: 10,431
Default Re: Ubuntu 10.10 not using swap

Hmm.... thanks a lot.

I will try that and post back.
__________________

Ubuntu 13.04
AX64 Time Machine, Comodo FW & Defence Plus, Sandboxie not compatible?
  #31  
Old July 14th, 2011, 09:20 PM
aigle's Avatar
aigle aigle is offline
Incredibly Massive Poster
 
Join Date: Dec 2005
Location: Saudi Arabia/ Pakistan
Posts: 10,431
Default Re: Ubuntu 10.10 not using swap

Hi, a few Qs if anyone can answer.
1- What is this UUID for? How this happened?

# swap was on /dev/sda5 during installation
UUID=cf5593ad-080a-42c2-a852-60d36cd24bbf none swap sw 0 0

2- Why UUID is same for sda3 and sda4?

Thanks
__________________

Ubuntu 13.04
AX64 Time Machine, Comodo FW & Defence Plus, Sandboxie not compatible?
 

Wilders Security Forums > Software, Hardware and General Services > all things UNIX « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:09 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums