Fedora Linux Support Community & Resources Center
  #1  
Old 26th May 2010, 04:48 AM
adempewolff Offline
Registered User
 
Join Date: Jan 2010
Posts: 18
linuxfedorafirefox
upgrade error enabling swap device

I googled and found selected solutions but the are all from many release cycles ago and I wanted to check to get some opinions on whether the problem and solutions are the same this time around. Here's the error:

Code:
Error enabling swap device

UUID=5e200549-4c3f-43ec-9ebc-194d26c983a5: device has not been created

The /etc/fstab on your upgrade partition does not reference a valid swap device.

Press OK to exit the installer
that UUID looks correct according to my fstab, and the swap looks to be working fine for F12:

Code:
#
# /etc/fstab
# Created by anaconda on Wed Feb 17 02:27:41 2010
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=f8a74707-130f-4813-906d-0de4ba061e10 /                       ext4    defaults        1 1
UUID=59aba69a-2bbb-43ca-b296-81b7fc16323a /home                   ext4    defaults        1 2
UUID=5e200549-4c3f-43ec-9ebc-194d26c983a5 swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
UUID=3abb7974-6402-4de5-bfd7-f4b3af8f7ca7 /media/data		  ext4    auto,users,rw,async,relatime        1 3
however... that uuid is missing here:

Code:
[austin@austin-laptop ~]$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx. 1 root root 10 2010-05-26 10:57 3abb7974-6402-4de5-bfd7-f4b3af8f7ca7 -> ../../sda7
lrwxrwxrwx. 1 root root 10 2010-05-26 10:57 59aba69a-2bbb-43ca-b296-81b7fc16323a -> ../../sda6
lrwxrwxrwx. 1 root root 10 2010-05-26 10:57 6800e89a-7d8f-4857-9dec-21d052cb788b -> ../../sda5
lrwxrwxrwx. 1 root root 10 2010-05-26 10:57 f8a74707-130f-4813-906d-0de4ba061e10 -> ../../sda2
in Palimpsest it looks like the swap space is sda8 but it doesn't tell me the uuid. it is in an extended partition, could that be the problem? did swap get turned off by chance?

thanks in advance for any advice!

---------- Post added at 10:28 PM CDT ---------- Previous post was at 10:19 PM CDT ----------

Code:
[austin@austin-laptop ~]$ swapon -s
Filename				Type		Size	Used	Priority
/dev/sda8                               partition	4192892	0	-1
hmmm.... I am bambuzzled. I could probably try just swaping out the uuid for the path, but I'd like to know what is wrong!

---------- Post added at 10:38 PM CDT ---------- Previous post was at 10:28 PM CDT ----------

but it is here:

Code:
[root@austin-laptop austin]# blkid
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" TYPE="vfat" 
/dev/sda2: UUID="f8a74707-130f-4813-906d-0de4ba061e10" TYPE="ext4" LABEL="fedora" 
/dev/sda6: UUID="59aba69a-2bbb-43ca-b296-81b7fc16323a" TYPE="ext4" LABEL="home" 
/dev/sda7: UUID="3abb7974-6402-4de5-bfd7-f4b3af8f7ca7" TYPE="ext4" LABEL="data" 
/dev/sda8: UUID="5e200549-4c3f-43ec-9ebc-194d26c983a5" TYPE="swap" 
/dev/root: LABEL="fedora" UUID="f8a74707-130f-4813-906d-0de4ba061e10" TYPE="ext4" 
/dev/sda5: LABEL="debian" UUID="6800e89a-7d8f-4857-9dec-21d052cb788b" SEC_TYPE="ext2" TYPE="ext3"
I am very confused...

---------- Post added at 10:48 PM CDT ---------- Previous post was at 10:38 PM CDT ----------

Code:
hal-device | grep sda8 -A 9
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda8'  (string)
  info.parent = '/org/freedesktop/Hal/devices/storage_serial_WDC_WD2500BEKT_00F3T0_WD_WXM908SP9788'  (string)
  volume.is_mounted_read_only = false  (bool)
  volume.linux.is_device_mapper = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_partition = true  (bool)
  block.device = '/dev/sda8'  (string)
  block.major = 8  (0x8)  (int)
  block.minor = 8  (0x8)  (int)
  block.is_volume = true  (bool)
  volume.block_size = 512  (0x200)  (int)
  volume.num_blocks = 8385804  (0x7ff50c)  (uint64)
  info.capabilities = { 'volume', 'block' } (string list)
  volume.partition.number = 8  (0x8)  (int)
  volume.partition.media_size = 250059350016  (0x3a38b2e000)  (uint64)
hmm, so maybe swap partitions don't have uuids. but why then is blkid giving me one? and why did I have it in the fstab in the first place?
Reply With Quote
  #2  
Old 6th December 2010, 05:57 AM
smcarter Offline
Registered User
 
Join Date: Oct 2007
Posts: 1
windows_xp_2003firefox
Re: upgrade error enabling swap device

I had the same problem. A previous upgrade had left my swap device defined as:
UUID=2a177b83-2d45-4e0c-8d84-71b7bc12d98e swap swap defaults 0 0

I edited the fstab file and replaced that line with the line that actually defined where my swap spaced lived (in a logical volume on my system):

/dev/VolGroup00/LogVol01 swap swap defaults 0 0

After editing and saving the file, I rebooted into the Installation DVD and it ran through the install without the issue with the swap file.
Reply With Quote
Reply

Tags
error, fstab, upgrade, uuid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 -> Fedora 7 upgrade: error enabling swap device Hilbert EOL (End Of Life) Versions 17 17th April 2009 01:50 PM
Upgrading to fc2: error enabling swap device. Cibee EOL (End Of Life) Versions 2 26th March 2005 02:28 PM
Error enabling swap device - invalid argument stodge Installation and Live Media 4 11th January 2005 11:19 PM
FC-2 to FC-3 upgrade, Error enabling swap device, no such file or directory pete EOL (End Of Life) Versions 3 6th January 2005 07:46 PM
Error enabling swap device hdg3. No such file or directory? During Install sherwingws Installation and Live Media 0 19th July 2004 06:30 AM


Current GMT-time: 16:05 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat