FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
And here is what fdisk prints, so I know /dev/hda3 is ok:
Command (m for help): p
Disk /dev/hda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 36416 292407097+ 83 Linux
/dev/hda3 36417 36481 522112+ 82 Linux swap / Solaris
Command (m for help): exit
Is there some new fangled naming system which crept into fstab somewhere along the way, or can the installer really not see it please? Thanks.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Wonder if swap is any good.
With FC6 up run the following commands as root and see if errors happen.
/sbin/swapoff
/sbin/swapon
If no errors or complaints then I would be at a lost. If error happens then I would delete the partition and then recreate. Set type 82 for swap. Then format with mkswap command.
If no errors or complaints then I would be at a lost.
Brian
Swap was fine :-(
Can I frig this somehow just for the upgrade? It does seem to be just the contents of fstab it is complaining about. Id didn't say, but there have been absolutely no problems regarding swap or fstab at all, and its been running F6 for well over a year now.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Why would they do this. I can't stand the LABEL= theory. I always go in and hard set the fstab to point to their true /dev point. Only reason when I used to have two identical disc in a system and made a duplicate for backup. Somehow it seen either both mtab files on each drive or something and tried to mount both partitions. So each drive had a partition labeled /var it tried mounting both to the same point. I can't do that and drove me a bit crazy for a minutes. Removal of the second drive resolved the startup to normal. So going into the fstab of the first drive and defining the true point I could then have both drives in at the same time and do the normal backup duplication weekly for a client.
Hey! He's moving from FC6, so he needs to change any /dev/hd.. references to /dev/sd.. since F7 and F8 no longer use the "hd" device names.
With that change to his /etc/fstab all should work well.
On the other hand, using the UUID=... form is more portable and should work in both FC6 and F8. Note that the UUID information can be found in /dev/disk/by-uuid/.
But that article doesn't say how you label /dev/hda3 - any takers please?
"man mkswap" - merely remake the swap with a label (-L) and update fstab to agree. LABEL and UUID have similar usage in this respect - RH chose LABEL, and you might as well stick with that.
UUID has it's own problems, and you won't get any help from the Redhat community for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.