|
|
Move swap to another partition, revisited again
OK, I think I have it working with no ill effects. I'm using a swap partition on the same disk as the boot partition, simply because I'm usually short of space on my TiBook and want to prevent data getting stomped on if the boot partition fills up. The parent post (which seems to be almost entirely Mike Bayer's method, which works unmodified in Panther) is good, but don't move the virtual memory code block later in the rc file. Then, add an entry to your /etc/fstab file (which you may need to create) so the swap partition is mounted when / mounts. My entire fstab file looks like this: /dev/disk0s12 /Volumes/Scratch hfs rw 1 2 You can get the appropriate partition data via the command Finally - and this may not be necessary but I don't think it'll hurt - load the fstab data into NetInfo via: sudo niload -m fstab / < /etc/fstab You're done. Reboot in verbose mode by holding down Command-V at boot, so you can see what the mount process and VM starter is doing. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|