• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

swap partition

Brian23

Banned
I installed linux on my computer. During the partitioning, I shrank my windows partition 10GB smaller and created 2 primary partitions. I set the one to type 83 and mounted it as / and the other to type 82 (swap). The install completed successfully, but when linux is booting it says it's not using a swap partition. Is this bad? Should I fix it? How do I fix it?
 
How do you know it's not using the swap partition?

Since you've already created the partition for it, you should be able to just run 'mkswap /dev/whatever' and add a line like '/dev/whatever none swap sw 0 0' to /etc/fstab. Replacing whatever with the correct device node for your swap partition, you can run 'fdisk -l /dev/hda' to have it print the partition table on the primary IDE master.
 
ok, so I just format it with
mkswap /dev/hda3

and then append the following to /etc/fstab
/dev/hda3 none swap sw 0 0

What do I need fdisk for? I already created the partition for hda3, it's just not being used.

Besides it saying during bootup that it's not using a swap partition, if I press ctrl+esc in KDE then a task manager will come up and it says there is no swap.
 
What do I need fdisk for? I already created the partition for hda3, it's just not being used.

fdisk was just to make sure you got the right one, you can run mkswap on any partition no matter what's on it and overwrite a chunk of the data.
 
Back
Top