On 11-09-10 10:32 AM, Phil Holmes wrote:
----- Original Message ----- From: "Graham Percival" <gra...@percival-music.ca>
To: "Phil Holmes" <em...@philholmes.net>
Cc: "Devel" <lilypond-devel@gnu.org>
Sent: Friday, September 09, 2011 6:00 PM
Subject: Re: New Ubuntu PC


On Fri, Sep 09, 2011 at 05:37:03PM +0100, Phil Holmes wrote:
I've got 2 disks in it - the main one is a standard SATA drive with
the OS on it.  The other one is an 80 GByte SSD (solid state disk)
that I bought with the intention of using as my data disk, so that
compiles, etc., use the fastest disk there is.  My question is - how
do I set up Ubuntu to use this as my data drive (presumably $HOME).
I've read stuff about editing fstab, but wonder if this is the best
way?  Any other pointers would be appreciated.

The easiest way is to set this up during the install.  When you
got to the "partitioning" screen and you presumably clicked on "do
it automatically for me", you missed the option.  :)

However, I'd suggest a slightly different setup: don't use your
SSD drive for your complete $HOME; instead, use it for things that
you specifically want on that drive.  I have a similar setup
(albeit just with disk partitions) on all my computers.

The relevant part of /etc/fstab is:
UUID=27b221e8-ad38-4811-97c4-aabf2cb7f5e4       /main   ext4
defaults,user,exec      0       0
(all one line)

and my $HOME directory contains this:
gperciva@futoi:~$ ls -l
...
lrwxrwxrwx 1 gperciva gperciva       10 2011-08-28 12:41 src ->
/main/src/
...

so whenever I go to $HOME/src/ , I'll actually be in /main

You could easily have separate symlinks for $HOME/lilypond-git/
and any other software you wanted to compile quickly (maybe
$HOME/gub/ ?)


One advantage of this /main/ (or /compile/ or whatever you want to
call it) approach is that it's easy to set up that drive after
installing the main OS, so you won't need to reinstall.

OK, thanks. Got this working with symlinks as suggested. Only initial problem I experienced was the I could not run lilygit - it complained that lilypond-git/.git was not a directory. I got round this by manually configuring git as described in the CG, and the script now seems to work.

I've now followed the instructions for downloading the source and the needed programs from the CG. When I run configure, it says that I need to install fontforge. Is this done with Synaptic, or is it better to use apt, or is there another way?

Another problem I'm getting is that I can't see my Windows network. I've downloaded and installed samba and this doesn't seem to help. Is it a magic feature of VirtualBox that makes it work on Lilvdev, or am I missing a different component?



IIRC, you need to be fairly explicit in the way you see Windows devices, Phil. Have a look at Smb4K, a front-end to Samba. It will allow you to specify things like Windows domains to search, and to store your Windows ID and password. You can also do things like setting up entries in /etc/fstab to automount your Windows shares, using a hidden .smbcredentials file in your $HOME. VBox also allows you to share folders between the real and virtual machines, but I believe that is only for local folders, not networked

cheers,
Colin

--
The human race has one really effective weapon, and that is laughter.
-- Mark Twain


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to