ian - 2012-07-12

Hi,

I have this working with Ubuntu 10.04 except for the swap file.

I tried creating the swap file both from colinux and with windows fsutil.
Both ways seem to create the file with no problem.

So I create the swap file named swap512Mb,

Then I add the following line to my lucid.conf file
cobd1="c:\coLinux\swap512Mb"

Then I boot up colinux and once logged in I initiate the swap file
mkswap /dev/cobd1
swapon -a

I don't get any feedback from the swapon -a command so I assume it worked.

Then I add swap512Mb to my fstab
/dev/cobd1 swap swap defaults 0 0

Then reboot and it locks up with the only messages being the last messages from ureadahead.
I've researched and found that supposedly these ureadahead messages just happen to be
the last messages shown before things lock up and are actually not an issue but what ever
is causing the issue is when the system fails to load an entry in fstab.

So I've tried various ways to add the swap to fstab but get the same results everytime.
I have to copy the image over to a Ubuntu VirtualBox machine and chroot into it to change
the fstab but nothing seems to fix the issue and I don't know exactly what is causing it
other than knowing the failure has to do with auto mounting the swap file because when I remove it from fstab the system
boots up just fine.

Any suggestions? Or has anyone had this issue?

Thanks