#187 Swap file in Debian image is lost

v0.7.x (release)
closed-fixed
Henry N.
None
5
2012-01-17
2012-01-16
No

Archive Debian-6.0.1-squeeze.7z contain swap_128mb.img with size 45 bytes instead 128Mb, this is text file with one line: "/data/Download/coLinux/Debian6/swap_128mb.img". After unpack an archive and run squeeze.bat I see in the colinux console red error message about invalid swap device, and boot continues.

Solution:
update squeeze.conf: ann a line "cofs0=.\"
boot, login, run commands:
mount -t cofs 0 /mnt
dd bs=1M if=/dev/zero of=/mnt/swap_128mb.img count=128
mkswap -f -L swap_128mb /mnt/swap_128mb.img
reboot

Discussion

  • Henry N.

    Henry N. - 2012-01-17

    The swap inside the zip should have 131072K.
    Sorry, my bad. A symbolic link was not resolved while creating the compressed archive.
    Thanks for your hands up.

    A new archive have uploaded now. (MD5 6bc9aa8e8ce84721c535a0d46476d6bd)

     
  • Henry N.

    Henry N. - 2012-01-17
    • assigned_to: nobody --> henryn
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks