Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Move swap to another partition, revisited again' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Move swap to another partition, revisited again
Authored by: johnpitcairn on Aug 18, '05 12:28:04AM

I don't think this method is reliable - Tiger seems to want vm started early, moving the code block is not recommended. It works, but there are consequences.

The primary symptom of trouble on my system (fresh install, 10.4.2) is that if vm is started later in the boot process, .dmg disk images will refuse to mount - DiskImageMounter returns a "device not installed" error.

BTW, I definitely don't recommend the method on Mike Bombich's site - that hasn't been updated since 10.1.x.



[ Reply to This | # ]
Move swap to another partition, revisited again
Authored by: johnpitcairn on Aug 18, '05 01:44:07AM

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 df -k in the Terminal.

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.



[ Reply to This | # ]
Move swap to another partition, revisited again
Authored by: johnpitcairn on Aug 18, '05 01:45:18AM

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 df -k in the Terminal.

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.



[ Reply to This | # ]
Move swap to another partition, revisited again
Authored by: bdog on Aug 20, '05 11:20:00PM

THE METHOD ON BOMBICH'S SITE, ALTHOUGH OLD, WORKS FINE EVEN ON TIGER! IT'S SO SIMPLE IT HASN'T BROKE.



[ Reply to This | # ]