Description of problem: Swap-space on separate partition is not working. I am not sure if this is related to initscripts or that the naming of the swap-space in fstab is causing this. Manually enabling swap with swapon /dev/hd?? is working without any problems. The command swapon -a -e does nothing !!! Version-Release number of selected component (if applicable): initscripts-8.05-1 Additional info: These problems are on a clean FC4 install (through http) with a FC3 boot-disk (the FC4 boot disk does not work).
Please attach your /etc/fstab.
Created attachment 111817 [details] As requested : fstab This fstab is not touched at all: original from install !
Does: swapon -L SWAP-hda2 work?
server /etc> swapon -L SWAP-hda2 swapon: cannot find the device for SWAP-hda2 server /etc> Sorry, it does not (yet) work !
Have you run mkswap since the install?
Yes, I did run mkswap, but on a file, because I needed some swap-space. The disk-swap-space on my system can easily be enabled by swapon /dev/hda2 ! I did not run mkswap on hda2. ps: it would be very nice if, during setup, a swap-file can be choosen as swap, and not only a separate partition !!
You have in /etc/fstab as device identicication "LABEL=SWAP-hda2". It means the 'swapon' does exactly same work as: swapon -L SWAP-hda2 The conversion from LABEL to path to device (=/dev/hda2) is possible only if there is label in swap header block. You have to run: mkswap -L SWAP-hda2 /dev/hda2 before "swapon -a" or "swapon -L SWAP-hda2".