I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
--------------------------------- Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.
Am So, den 02.01.2005 schrieb Appeet um 18:50:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Simply edit /etc/fstab as root and change hdb4 (4th primary partition on primary slave drive) to be hdd4 (4th primary partition on secondary slave drive).
Alexander
On Sun, 2 Jan 2005, Alexander Dalloz wrote:
Am So, den 02.01.2005 schrieb Appeet um 18:50:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Simply edit /etc/fstab as root and change hdb4 (4th primary partition on primary slave drive) to be hdd4 (4th primary partition on secondary slave drive).
Oops...this too.
On Sun, 2005-01-02 at 09:50 -0800, Appeet wrote:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
Look at /etc/fstab where you'll see something like this:
/dev/sda5 swap swap defaults 0 0
You will have to be root to edit it, just change the device name as is appropriate for your new disk name.
On Sunday 02 January 2005 12:50, Appeet wrote:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
Thats set in /etc/fstab, use your fav editor to fix the line containing /dev/hdb4 by changing it to /dev/hdd4. Then rather that rebooting, just do a "swapon -a" (without the dblquotes of course, see the "man swapon" page) which should properly enable it.
Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.
Thank you everyone. Now I see swap being available for use!
Gene Heskett gene.heskett@verizon.net wrote:On Sunday 02 January 2005 12:50, Appeet wrote:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
Thats set in /etc/fstab, use your fav editor to fix the line containing /dev/hdb4 by changing it to /dev/hdd4. Then rather that rebooting, just do a "swapon -a" (without the dblquotes of course, see the "man swapon" page) which should properly enable it.
Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more.
On Sunday 02 January 2005 13:39, Appeet wrote:
Thank you everyone. Now I see swap being available for use!
Gene Heskett gene.heskett@verizon.net wrote:On Sunday 02 January
2005 12:50, Appeet wrote:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
Thats set in /etc/fstab, use your fav editor to fix the line containing /dev/hdb4 by changing it to /dev/hdd4. Then rather that rebooting, just do a "swapon -a" (without the dblquotes of course, see the "man swapon" page) which should properly enable it.
Now, one more thing, please fix your quoting in your email agent, it is not prefixing each line with an additional > character to indicate the quoting levels, so it looks as if I sent your reply. That gets confuzing to the other readers of your messages.
Thanks.
On Sun, 2 Jan 2005, Appeet wrote:
I originally installed my installation with swap on hdb4 (linux on hda2)
However when I "physically" mounted my second harddrive I had to install it as a secondary slave. Because of this reason the definition for my swap is now hdd4. When I do a "top" I see that swap available is "0" (I originally had 1 gb on hdb4) so i guess my question now is how do I make linux use hdd4 as swap.
Thanks in advance.
mkswap /dev/hdd4 swapon /dev/hdd4