Skip to main content

Thread: no swap area


i installed ubuntu without assigning swap area


can fix or have reinstall ubuntu ????

you can create swap file in filesystem without reinstalling anything. use dd command create file, mkswap command initialize it, , swapon command start using it.

example:
code:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=2097152 sudo mkswap /swapfile sudo swapon /swapfile
this make swap area of 2gb in file /swapfile on root filesystem, format it, , turn on.

have turn on automatically @ boot time need add /etc/fstab, line work above:
code:
/swapfile        none        swap        sw        0        0
the thing worry if need able use hibernate function; requires swap partition, , won't work swap file describe.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] no swap area


Ubuntu

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?