Skip navigation.
Home
Now Shipping Version 8.0

Recognizing Swap Drive???

I've got 2 physical Hard Drives in my computer.
Drive (C:) and Drive (D:).

On Drive (C:) I have these three partitions set up.

(1) Windows XP (ntfs)
(2) Mepis (Ext2)
(3) Suse-gnome (Ext2)

On Drive (D:) I have created 2 partitions.

Linux Swap Drive (dev/hdc5)
Windows (ntfs) for extra storage and file manipulation.

In my etc/fstab file: it shows,

/dev/hdc5/mnt/hdc5 auto,noauto, users, exec 00

Does anything in this line need to be changed? Is there anything else I need to do to
get this Swap drive recognized and running under Mepis?

Richard

AdrianTM's picture

Did you reboot?Mepis should

Did you reboot?
Mepis should recognize automatically the swap partition and use it.

Of course you can add something like this in #Static entries part of /etc/fstab:

/dev/hdc5 swap swap sw,pri=1 0 0

--
Post questions on www.mepislovers.org too -- very helpful community

Jon Du Quesne's picture

Your fstab Statement Is Wrong

Richard, your /etc/fstab statement is wrong for /dev/hdc5 if that is your swap space. You see, swap space isn't "mounted", it's "used". You show it as:

/dev/hdc5 /mnt/hdc5 auto,noauto, users, exec 00

The way adrianTM shows it is correct:

/dev/hdc5 (space) swap (space) swap (space) sw,pri=1 (space) 0 (space) 0

And I've deliberately exagerated the spaces necessary because they don't show up very well in these posts and I wasn't sure that your spacing was correct on your example Smiling

Jon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.