Im running BT3b and my swap space isnt on on bootup, if I want to use it I have to enable it using 'swapon sda3', sda3 being my swap partition. Im sure you could make a script to enable it on boot, but I havent as I dont really use it.
Hello, I am having problems getting an installation of BT2.0 to recognize the swap space I partitioned. According to fdisk there is a swap partition, however, the System Information regarding memory does not show it to exist.
Is this not a problem, is the GUI just not catching up for some reason? Or did I do something wrong? Any help is appreciated.
I did some searching around the site and was unable to find anything helpful, so my apologies if this has been asked before. I'm not a total linux noob, but its been a long while since I had a reason to tinker with it, so naturally my memory is shoddy at best.
Im running BT3b and my swap space isnt on on bootup, if I want to use it I have to enable it using 'swapon sda3', sda3 being my swap partition. Im sure you could make a script to enable it on boot, but I havent as I dont really use it.
During your installation when you were running fdisk after finishing you should have rebooted now this might now be the reason that it does not work but it could be part of the problem. And when you set up your partition did you turn on your swap ?
# is your swap partition.Code:#swapon /dev/hda#
It should have turned itself on automagically. On the next boot up do a
it should not show you your swap partition if one has been created. If you see the driver letter/partition assignment then you no that you have not created a swap properly.Code:#mount
To be successful here you should read all of the following.
ForumRules
ForumFAQ
If you are new to Back|Track
Back|Track Wiki
Failure to do so will probably get your threads deleted or worse.
I did the following, and received the following messages:
bt ~ # swapon /dev/sda4
swapon: /dev/sda4: Device or resource busy
bt ~ # mount
/dev/sda3 on / type auto (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
/dev/sda2 on /mnt/sda2 type ext3 (rw,noatime)
bt ~ #
------------------------------------------------------------------------------------------------
From Ubuntu: QTParted I know my partition are:
/dev/sda1 Winblows 53 GB
/dev/sda2 Ubuntu...34 GB
/dev/sda3 BT3.........4 GB
/dev/sda4 Swap.......2 GB
The results of Pureh@tes command resulted in the following:
bt ~ # dmesg | grep swap
Adding 2008116k swap on /dev/sda4. Priority:-1 extents:1 across:2008116k
I assume all is ok, but thought I would double check.
This generally means your swap is working and was initialized on boot.swapon: /dev/sda4: Device or resource busy
You can always check dmesg for clues....
bt~#dmesg | grep swap
Thanks you Pureh@te:
I used the dmesg command and I was able to see over ten pages
(50 lines per page x ten pages = 500 lines) of system information:
So I assume that the "| grep swap" is a linux command that searches the
output of the dmesg command and displays the lines with the word swap"
bt ~ # dmesg | grep swap
Adding 2008116k swap on /dev/sda4. Priority:-1 extents:1 across:2008116k
I understand that the results show that the system has added
2,008,116 k or 2 GB of hard drive space to function as a swap.
Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69