Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Other Versions > EOL (End Of Life) Versions
FedoraForum Search

Forgot Password? Join Us!

EOL (End Of Life) Versions This is a Forum to discuss problems and workarounds for versions of Fedora that have passed End of Life.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th January 2005, 09:41 AM
pete Offline
Registered User
 
Join Date: Jan 2005
Posts: 2
Question FC-2 to FC-3 upgrade, Error enabling swap device, no such file or directory

Hi,

I am trying to upgrade one of my systems from FC-2 to FC-3 (I have had success on other systems, it is just this particular one - my guess it is something with the SATA disk which my other systems do not have):
AMD Athlon 64 3000+, 1GB RAM, 200 GB disk SATA, swap partition is on that disk
I get through the first few questions and right after the question where I say I want to upgrade and not a clean install it gives this error message:

Error enabling swap device hde5: No such file or directory.
This most likely means this swap partition has not been initialized.
Press OK to reboot your system.


If I boot FC-2 it has that partition for swap and can find it just fine:

Code:
hurricane> swapon -s
    Filename                                Type            Size    Used    Priority
    /dev/hde5                               partition       2040212 0       -1[/INDENT]
hurricane> cat /etc/fstab
    LABEL=/                 /                       ext3    defaults        1 1
    LABEL=/boot             /boot                   ext3    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    none                    /proc                   proc    defaults        0 0
    none                    /sys                    sysfs   defaults        0 0
    /dev/hde5               swap                    swap    defaults        0 0
    /dev/cdrom1             /mnt/cdrom1             udf,iso9660 noauto,owner,kudzu,ro 0 0
    /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
    /dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
How do I tell the installer to either not use the swap partition or how to find it? It has the correct name for the partition but cannot seem to find it.

I have tried both the 32-bit and 64-bit ISOs so that has nothing to do with it, both fail in the same way.

Any help would be appreciated, worst case I'll have to do a clean install instead of the upgrade.
Thanks, Pete
Reply With Quote
  #2  
Old 6th January 2005, 09:44 AM
terr9898 Offline
Registered User
 
Join Date: Dec 2004
Posts: 194
When you look through dmesg, do you see any errors regarding SATA?
Reply With Quote
  #3  
Old 6th January 2005, 10:03 AM
pete Offline
Registered User
 
Join Date: Jan 2005
Posts: 2
Looks pretty normal (during regular boot, not install)

...
VIA8237SATA: IDE controller at PCI slot 0000:00:0f.0
VIA8237SATA: chipset revision 128
VIA8237SATA: 100% native mode on irq 10
ide2: BM-DMA at 0xb800-0xb807, BIOS settings: hdeio, hdfio
ide3: BM-DMA at 0xb808-0xb80f, BIOS settings: hdgio, hdhio
hde: ST3200822AS, ATA DISK drive

...

sata_promise version 0.92
ata1: SATA max UDMA/133 cmd 0x42816200 ctl 0x42816238 bmdma 0x0 irq 5
ata2: SATA max UDMA/133 cmd 0x42816280 ctl 0x428162B8 bmdma 0x0 irq 5
ata1: no device found (phy stat 00000000)
ata1: thread exiting
scsi0 : sata_promise
ata2: no device found (phy stat 00000000)
ata2: thread exiting
scsi1 : sata_promise
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
...
Adding 2040212k swap on /dev/hde5. Priority:-1 extents:1

When I first put this machine together I had to load a new BIOS into the A8V Deluxe motherboard so that Linux could see the SATA drive at all. No extra drivers were needed to get FC-2 going initially (for a minute there I was thinking I might need to provide a driver to the installer but I do not think that is the case).

Pete
Reply With Quote
  #4  
Old 6th January 2005, 07:46 PM
james_in_denver Offline
Registered User
 
Join Date: Oct 2004
Posts: 1,227
well, to disable that swap partition you could always just comment out the line in the "/etc/fstab" that adds that swap partition.

Then you could see if the partition table "sees" it with "fdisk -l /dev/yourdrivehere"

And you can always see if the swapspace is "valid" by doing a "swapon /dev/hde5"

and you can "re-initialize" the swap partition with "mkswap /dev/hde5 ; sync ; swapon /dev/hde5".
__________________
Only dead fish go with the flow....

Hmmm, what did I miss?
Reply With Quote
Reply

Tags
device, directory, enabling, error, fc2, fc3, file, swap, upgrade

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
error mounting device hdb1 as /db: no such file or directory ekubec Installation and Live Media 7 8th October 2007 04:37 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
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: 07:30 (Sunday, 26-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