Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
i've just upgraded my kernel to 2.6.2 but for some reason I'm having trouble mounting my swap partitions during boot time. I'm using Mandrake 9.2, which I believe had been including supermount in their kernels; I'm not sure a plain kernel includes supermount features. Anyway, I get a boot time error message that says the mounting of my swap partitions failed. i've looked in /etc/fstab too and i do have my swap partitions listed there as well. how do i fix this?
Would you show what you get for an error message at boot time and your fstab contents? Thanks. Also, can you activate your swap partitions manually after boot?
the boot time error message tells me that when it's activating my swap partition, (/dev/hda7) with swapon, /dev/hda7 seems to be an invalid argument. here's the output of fdisk -l:
Code:
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b Win95 FAT32
/dev/hda2 639 4865 33953377+ f Win95 Ext'd (LBA)
/dev/hda5 639 3443 22531131 7 HPFS/NTFS
/dev/hda6 4766 4811 369463+ 83 Linux
/dev/hda7 4812 4821 80293+ 82 Linux swap
/dev/hda8 4822 4865 353398+ 83 Linux
/dev/hda9 3444 4207 6136798+ 83 Linux
/dev/hda10 4208 4270 506016 82 Linux swap
/dev/hda11 4271 4765 3976056 83 Linux
i've tried using
Code:
swapon /dev/hda7
and it also tells me that /dev/hda7 is an invalid argument.
i tried doing dmesg | grep hd and i noticed that there was a message about my /dev/hda7 being an old swap and that I should do 'mkswap -v1 /dev/hda7' to change it to a new swap style. then I did swapon /dev/hda7. it seems to be working now, but under my 2.4.21 kernel, it seems that I have more swap space and that that more of it was being used. could this be due to the fact that I let Mandrake install my 2.4.21 kernel and it included a whole bunch of extra stuff that I didn't really need?
I'm sure that Mandrake did install a whole bunch of stuff that you didn't need... If you have less and are using less, I'd say that's a good thing...unless you're using all that you have.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.