Swap Dir.....
I installed RedHat 9 with dual boot of win 98 .... i dident set up a a swap dir when i installed because i wanted the most space i could get out of a 6 gig drive.... but i also had a 1 gig hard dirve that i formated into a swap and a ext3 (500 megs each) but i am not sure that redhat is using it... how can i tell .... and if its not using it how do i set it up with out reinstalling redhat if possable?????....... also how do i load RedHat with out the GUI .. and just command prompt???
|
There are several ways to verify that RH is using a swap.
Look at the output of the console command free. If you see a number other then zero for total swap space you are. Or look at the /etc/fstab file. If you see something like /dev/hdax swap swap defaults 0 0 The swap partition should be enabled. To add an existing swap partition add the above fstab line to your fstab line. Change /dev/hdax to match the drive / partition ID. The next time you reboot swap will be enabled. To enable swap with out rebooting use this command swapon /dev/hdax (Again change device to match actual swap partition) To see which partition is the swap look at the output of the fdisk command. Log in as root fdisk -l (Thats a small L) The partition filesystem type will indicate if its a swap. If it turns out that you don't have a swap partition and you don't want to repartition etc. you can create a swap file. To boot with out a GUI edit the /etc/inittab file and change the runlevel from 5 to 3. |
Nice info there michaelk, I learned something new.
|
All times are GMT -5. The time now is 07:46 PM. |