mv ~/.asoundrc .asoundrc.old
mv ~/.asoundrc.asoundconf ~/.asoundrc.asoundconf.old
Saw (and tried) some other very abstruse fixes before this. Should have known it would be something simple.
Smiling in the teeth of the howling gale of total anonymity
mv ~/.asoundrc .asoundrc.old
mv ~/.asoundrc.asoundconf ~/.asoundrc.asoundconf.old
Unfortunately, Ubuntu -- at least up to and including Feisty Fawn -- requires certain subdirectories of /var, particularly /var/run and (I think) /var/lock to remain under the root filesystem, and therefore /var cannot be moved wholesale to the new partition. Grateful thanks are due to Chris Seibenmann for uncovering this.
# cd /mnt/rwstorage/varstoreYou then need to make sure they have the right permissions.Code Listing: Setting permissions
# mkdir cache lib log spool www
# chmod 777 cache lib log spool wwwNow we copy the contents of the relevant /var directories to their new home.
# cd /var/cache
# cp -ax * /mnt/rwstorage/varstore/cache
# cd /var/cache
# cp -ax * /mnt/rwstorage/varstore/lib
# cd /var/lib
# cp -ax * /mnt/rwstorage/varstore/log
# cd /var/log
# cp -ax * /mnt/rwstorage/varstore/spool
# cd /var/www
# cp -ax * /mnt/rwstorage/varstore/www
This is easily done using symbolic links -- we'll create the new symbolic links, /tmp, /var/cache, /var/lib, /var/log, /var/spool, and /var/www, which point to the correct directories in /mnt/rwstorage/varstore. First, let's back up the original directories:
# cd /varThe last line is probably not necessary, since it's very likely that you don'thave anything important in /tmp, but we're playing it safe. Now,let's create the symlinks:
# mv cache cache.old && mv lib lib.old && mv log log.old &&
mv spool spool.old && mv www www.old
# cd /
# mv tmp tmp.old
# cd /varWell, that's the end of any specific instructions for Ubuntu, so back to the main guide to complete the move.
# ln -s /mnt/rwstorage/varstore/cache cache && ln -s /mnt/rwstorage/varstore/lib lib &&
ln -s /mnt/rwstorage/varstore/log log && ln -s /mnt/rwstorage/varstore/spool spool &&
ln -s /mnt/rwstorage/varstore/www www
# cd /
# ln -s /mnt/rwstorage/tmp /tmp
And that's about it. Things I don't like, though, are legion. Some of them may just be because I'm used to Gnome, or unique to the Kubuntu distro. Just three of the things I don't like:
Anyway, I'm back with Gnome again. Maybe when KDE4 comes out I'll try again. But for now, I'm a Gnome idiot.
