problem upgrading from FC3 to FC4

Ben Stringer ben at burbong.com
Sat Jul 16 03:38:50 UTC 2005


On Fri, 2005-07-15 at 19:34 -0700, michael cartwright wrote:
> When I try to do an upgrade from FC3 to FC4, I get the
> following message after I have chosen upgrade instead
> of fresh install:
> 
> Error enabling swap device hde5.  No such file or
> directory.
> 
> The /etc/fstab on your upgrade partition does not
> reference a valid swap partition.
> 
> I have an IDE hard drive.  It has FAT partition on
> hda1 and the rest is linux.  fdisk shows the swap
> partition on /dev/hda5.  The fstab shows the swap on
> hde5.  I don't understand this difference and maybe
> that's why I don't understand why I'm having a
> problem.  Any help would be greatly appreciated.
> 

Hi Mike,

"hde5" would be a partition on the 5th IDE device in your PC, and it
sounds like you have only one. 

hda, hdb, hdc = 1st, 2nd, 3rd IDE devices.
hda1, hda2, hda3 = 1st, 2nd, 3rd partitions on the first IDE device.

I have no idea how this would have got into you /etc/fstab, but changing
it to /dev/hda5 should fix the problem. If you are having trouble
booting, you can do this by booting from the first Fedora CD, entering
"linux rescue", then editting the fstab file (which will be in something
like /mnt/sysimage/etc). 

Cheers, Ben

> Mike Cartwright
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 




More information about the fedora-list mailing list