swap error

Jim Smith jim at oz.net
Fri Jun 29 04:58:54 UTC 2007


Felipe Figueiredo wrote:
> On Sunday 24 June 2007 20:52:21 Jim Smith wrote:
>
>   
>> I then looked at 
>> the UUID as given for /dev/sda3 in the /etc/fstab which was
>> UUID=53682bbd-4fcd-4d8c-81a6-7da4e9dc3ece. Then I did a "blkid"  to list
>> block devices and got this: UUID="81c37411-73dc-470b-a908-291e03841c94" 
>> for /dev/sda3. Completely different as you can see. Mystifying as  to
>> when it was changed again. 
>>     
>
> Probably when a mkswap was issued. I read somewhere that this changes UUID for 
> swap.
>
> Did you "reformat" your swap partition manually? I would expect 
> installation/upgrade procedure to keep swap as it is, but if a mkswap was 
> needed, I would also expect the NEW UUID to be caught for fstab.
>
>
>   
I meant to reply to this a while ago, but what I wound up doing was a
"cut and paste" of the correct UUID into /etc/fstab. I then commented
out the erroneous one and restarted. Presto, 2 gigs of swap space shows
up just like there was before.

Thanks to all for the suggestions which did indeed help.

Jim




More information about the ubuntu-users mailing list