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


Click here to return to the 'lostboi tutorial' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
lostboi tutorial
Authored by: Drake on Jan 10, '03 11:06:20AM
I received an email from a Dean yesterday commenting on my tutorial on how to move the swapfile in Jaguar. He had problems with the swap after doing a forced reboot. I tried it myself and it seems that Darwin starts-up the swap system before it checks and repairs the not properly unmounted disks, which you get after a forced reboot. Now there were some suggestions in the forums about placing the "Virtual memory system" at the end of the rc file. Not only didn't it work for me, apple must have a good reason how the rc file if ordered. Anyway i was pocking around in the /etc/rc.netboot file and found the following. Darwin autodiskmount it's devices before it actually mounts them, it uses (autodiskmount -F). So put this command before the mount session in the rc file and all your swap file worries are over.. at least they did for me on my G4 QS with 2 ide drives and mac os 10.2 (without any updates). If you need any help, i've updated my tutorial on moving the swap file at my website, any comments or suggestions are welcome. grtz lars. > move swap tutorial

[ Reply to This | # ]
lostboi tutorial
Authored by: muumi on Jan 26, '03 09:24:45PM

After reading loads of more or less controversial information on moving swap files, I decided to give lostboi's tutorial a go.
I ended up not being able to boot into Jaguar anymore. Was my mistake though. I wanted to put the swap file onto the same partition as OS 9, as I don't want to repartition my drive, and the OS9 partition is almost never used, and it's the first partition.
The reason why I could no longer boot after editing my rc file was that my OS9 partiton was called "Mac OS 9". The spaces caused the problem. I'm not sure if using a backslashes before the spaces would have resolved the problem. I guess it might, but I didn't try. Instead I renamed the partition to "Mac_OS_9", re-edited the rc file, and it worked like a charm!
So anyone trying this, make sure not to have blanks in your target's name.
I notice a percievable performance boost, and I can start loads of applications before getting pageouts now.
I use a PB G3 333mhz with 320Mb RAM, so any extra performance I can get is welcome, and this does give some, no matter what some people say. I can see it right in front of me, and I haven't even put the swap file onto a dedicated partition, let alone a separate drive.
I wonder why apple doesn't do this as standard.....
Thanks for the tutorial, lostboi ! :-)



[ Reply to This | # ]
lostboi tutorial
Authored by: muumi on Jan 26, '03 09:31:23PM
Oh BTW, I had forgotten to mention in the previous post, the link in Drake's post doesn't work. forgot the t in lostboi. here's the one that gets you there: swap tutorial

[
Reply to This | # ]