Re: [ubuntu-uk] Partitioning Questions

2007-05-15 Thread Neil Greenwood
On 14/05/07, I C McNab [EMAIL PROTECTED] wrote:
 Neil Greenwood wrote:
  One thing you could look at is using LVM, which can resize the
  partitions later. It's probably not the best thing to try if you're
  new to Linux, especially to use for the / partition.
 
  The other thing you can do is leave some empty space at the moment, in
  case you guess wrong. You can always move a directory tree (such as
  /usr) to another partition - it's quite easy when using a Live CD, but
  you can do it when the partitions are mounted (but it takes some
  fiddling) - if you want to do the latter, I can dig out a link that
  explains what to do step-by-step.
 
 Neil  Thanks for the ideas.  I think you're right about LVM - may be
 a bit advanced for me just now.

 I wish I'd had your idea about leaving some space before I went
 ahead.  But never mind - I made / 30Gb, swap 2Gb, and /home got the rest
 of the space.  I guess, if need be, I could split the /home partition,
 which is the last on the drive, and move a directory tree.  I'm hoping
 this won't ever be necessary;  but I'd be grateful if you could send the
 link if you think it might help.


Here's the link I mentioned originally:
http://www-128.ibm.com/developerworks/aix/library/au-satmigrat.html?ca=dgr-lnxw07MoveUnixFileSystem

This describes how to move a directory tree on a live system. It is
specifically for AIX, but all the commands should work on Ubuntu too.
If you come across something that's confusing or doesn't work the
same, let me know.
It's a similar process using a Live CD (such as the Ubuntu install
CD), but you need to mount all the filesystems first.

Here's a link to a link to an article about using LVM:
http://linuxhelp.blogspot.com/2006/05/managing-disk-space-with-lvm.html
The article about LVM is linked from this page, but I included this
link since it also discusses resizing partitions with LVM.
As I said and you agreed, this is possibly too advanced at the moment.
One suggestion is to set up a small virtual install (e.g. qemu,
vmware, or xen) and play about with LVM in that (then the rest of your
data should be safe).

The final link discusses how to resize partitions:
http://www.sharms.org/blog/?p=72
The disclaimer at the top is scary, but it means that you need to
think about your particular situation before typing in any commands.
If you type the commands exactly as printed, you may well lose your
data.

What a link-fest!

Dw i'n dysgu cymraeg. Mae fy merched i byddwch yn mynd i'r ysgol
gymraeg. So I'd like to be able to understand them!

Hwyl,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-05-15 Thread I C McNab
Neil Greenwood wrote:
snip
 Here's the link I mentioned originally:
snip
 What a link-fest!
 
 Dw i'n dysgu cymraeg. Mae fy merched i byddwch yn mynd i'r ysgol
 gymraeg. So I'd like to be able to understand them!
 
 Hwyl,
 Neil.
 

Neil  Thanks for all the links.  It'll take me a while to work my way 
through all the material.  I'll have a look over the next couple of 
days.  Thanks, too, for the offer of help if I hit any snags.

Mae'n ddrwg genni, ond fi ddim yn siarad Cymraeg.  I too worked with 
Welsh medium schools for a while, but my Welsh didn't get much beyond 
basic politeness.  You're clearly getting on a lot better!

Hwyl fawr
--
Ian




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-05-14 Thread Neil Greenwood
On 12/05/07, I C McNab [EMAIL PROTECTED] wrote:
 Alec Wright wrote:
  I recommend 15-20GB for / (my / is 15GB on a 250GB), 1-3GB for swap
  (just to be safe... i have 3GB on my 250GB) and make the rest /home
 
  But 20GB and 3GB are a bit excessive; you could easily get away with
  10GB and 1GB (or even less!)
 
  Heres my partition table in case you're interested, I'm dual booting
  with windows:


 Alec  Thanks for your very helpful reply, and for sight of your
 partition table.

 I'm going to run Ubuntu and WinXP on separate drives (500Gb and
 160Gb respectively).  So there's no problem about allocating 20Gb to /.
   I just wanted to be confident that there was enough space to install
 packages - enough for /usr to increase and for whatever space apt needs
 to keep track of packages.  And as I'm new to all this I had no idea
 what ball-park figures for a home system might look like.

So your suggestion of 20Gb is a very useful guide for someone who has
 no idea roughly 'how long a piece of string' would need to be to do the job.

 Many thanks
 --
 Ian

Hi Ian,

One thing you could look at is using LVM, which can resize the
partitions later. It's probably not the best thing to try if you're
new to Linux, especially to use for the / partition.

The other thing you can do is leave some empty space at the moment, in
case you guess wrong. You can always move a directory tree (such as
/usr) to another partition - it's quite easy when using a Live CD, but
you can do it when the partitions are mounted (but it takes some
fiddling) - if you want to do the latter, I can dig out a link that
explains what to do step-by-step.

HTH
Hwyl,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-05-14 Thread I C McNab
Neil Greenwood wrote:
 One thing you could look at is using LVM, which can resize the
 partitions later. It's probably not the best thing to try if you're
 new to Linux, especially to use for the / partition.
 
 The other thing you can do is leave some empty space at the moment, in
 case you guess wrong. You can always move a directory tree (such as
 /usr) to another partition - it's quite easy when using a Live CD, but
 you can do it when the partitions are mounted (but it takes some
 fiddling) - if you want to do the latter, I can dig out a link that
 explains what to do step-by-step.
 
 HTH
 Hwyl,
 Neil.

Neil  Thanks for the ideas.  I think you're right about LVM - may be 
a bit advanced for me just now.

I wish I'd had your idea about leaving some space before I went 
ahead.  But never mind - I made / 30Gb, swap 2Gb, and /home got the rest 
of the space.  I guess, if need be, I could split the /home partition, 
which is the last on the drive, and move a directory tree.  I'm hoping 
this won't ever be necessary;  but I'd be grateful if you could send the 
link if you think it might help.

Diolch yn fawr iawn!

Hywl fawr
--
Ian



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-05-12 Thread I C McNab
Thomas Steffen wrote:
 On 4/30/07, Stephen Garton [EMAIL PROTECTED] wrote:
snip
 2. How much space do I _need_ for /?
 
 A normal installation of Ubuntu (most of Ubuntu, Kubuntu, some of edubuntu,
 development tools, TeX and some simulation software) tends to come out at
 5GB for me. You can get a away with a lot less if you choose your packages
 careful, but I think 10GB of the 80GB you have is not a bad start.

I'm about to install Fiesty on a new 500Gb drive (to boot first in a 
dual boot set up with XP on a 160Gb drive in same box).

I'm going to keep things simple:  partitions for /, /home, and /swap, 
following advice in this thread.

But how big should I make /, given that, if I wanted to, I could give it 
100+Gb.  How much is 'plenty enough for all contingencies', given that 
this is a home desktop box doing fairly routine stuff, plus acting as a 
music server to stream FLAC files to a couple of Slim Devices 
Squeezeboxes (hence the need for a big disc to hold the music files).

TIA
--
Ian




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-05-12 Thread Alec Wright
On Sat, 2007-05-12 at 07:12 +0100, I C McNab wrote:
 I'm about to install Fiesty on a new 500Gb drive (to boot first in a 
 dual boot set up with XP on a 160Gb drive in same box).
 
 I'm going to keep things simple:  partitions for /, /home, and /swap, 
 following advice in this thread.
 
 But how big should I make /, given that, if I wanted to, I could give it 
 100+Gb.  How much is 'plenty enough for all contingencies', given that 
 this is a home desktop box doing fairly routine stuff, plus acting as a 
 music server to stream FLAC files to a couple of Slim Devices 
 Squeezeboxes (hence the need for a big disc to hold the music files).
I recommend 15-20GB for / (my / is 15GB on a 250GB), 1-3GB for swap
(just to be safe... i have 3GB on my 250GB) and make the rest /home

But 20GB and 3GB are a bit excessive; you could easily get away with
10GB and 1GB (or even less!)

Heres my partition table in case you're interested, I'm dual booting
with windows:
[EMAIL PROTECTED]:~$ sudo fdisk -l /dev/sda
Password:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   12611209728267  HPFS/NTFS
/dev/sda22612   30401   2232231755  Extended
/dev/sda52612456915727603+  83  Linux
/dev/sda64570   29627   201278353+  83  Linux
/dev/sda7   30010   30401 3148708+  82  Linux swap /
Solaris
[EMAIL PROTECTED]:~$ 

-- 
Alec Wright


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


[ubuntu-uk] Partitioning Questions

2007-04-30 Thread Stephen Garton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Morning All,

I'm after some recommended reading, If I might enquire. First background:

Current Set-up (Laptop): 80Gb HD split into 2Gb Swap, 12Gb /, and the
remaining 60Gb (all of what is available) as /home.

The questions I am looking for answers for are:
1. Do I need 2Gb of Swap? (I Have 1GB RAM)
2. How much space do I _need_ for /? I prefer to keep /home separate.
I've just started using VMWare, which by default puts it's machines in
/var/lib/vmware. I was surprised to find I had 4.1Gb Free on this
partition, so I've obviously over-cooked my guess at how much space was
needed
3. Can I resize Any of these partitions? I've loaded up gparted, but
(understandably) all my partitions are mounted so I can't resize them
as-is...

Although I do want the answers, I'd prefer to be guided gently towards
some accurate documentation. I have briefly searched the Ubuntu Wiki
this morning, but didn't find anything useful, but this could well be my
choice of search terms.
- --
Steve Garton
www.sheepeatingtaz.co.uk
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGNZW4nohogXuD0E4RAswSAJ9McSVW+9542OtHiAppOFyqGxlL9wCfUstj
RaD8shM6SL8893BqLGpTQiE=
=a9qD
-END PGP SIGNATURE-

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-04-30 Thread Kris Marsh
On 4/30/07, Stephen Garton [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Morning All,

 I'm after some recommended reading, If I might enquire. First background:

 Current Set-up (Laptop): 80Gb HD split into 2Gb Swap, 12Gb /, and the
 remaining 60Gb (all of what is available) as /home.

 The questions I am looking for answers for are:
 1. Do I need 2Gb of Swap? (I Have 1GB RAM)
 2. How much space do I _need_ for /? I prefer to keep /home separate.
 I've just started using VMWare, which by default puts it's machines in
 /var/lib/vmware. I was surprised to find I had 4.1Gb Free on this
 partition, so I've obviously over-cooked my guess at how much space was
 needed
 3. Can I resize Any of these partitions? I've loaded up gparted, but
 (understandably) all my partitions are mounted so I can't resize them
 as-is...

 Although I do want the answers, I'd prefer to be guided gently towards
 some accurate documentation. I have briefly searched the Ubuntu Wiki
 this morning, but didn't find anything useful, but this could well be my
 choice of search terms.
 - --
 Steve Garton
 www.sheepeatingtaz.co.uk
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFGNZW4nohogXuD0E4RAswSAJ9McSVW+9542OtHiAppOFyqGxlL9wCfUstj
 RaD8shM6SL8893BqLGpTQiE=
 =a9qD
 -END PGP SIGNATURE-

 --
 ubuntu-uk@lists.ubuntu.com
 https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
 https://wiki.kubuntu.org/UKTeam/


Hi Steve,

1. The recommended amount of swap used to be 2*main memory. I
generally don't bother with this, as I think 2GB of swap is a waste
for 1GB main memory. However, if you want to use hibernate and such,
then you will need to at least match your main memory with your swap
size (i.e. 1GB for you). Depending on whether you run some really
memory intensive programs, you may like to stick with 1GB.

2. You'll get problems if you try and install Ubuntu on a root
partition of size less than around 2.5GB. You specified 12Gb, which
should be fine for a good while, but you can always resize your
partitions...

3. As you've noticed, you can't resize a currently mounted partition.
What you need is some sort of live CD for gparted. Check the gparted
website ;-)


As for accurate documentation, I wouldn't be able to find any proof of
the swap-memory ratio (point #1), although I'm sure there is some
somewhere. I doubt there will be a lot of information on root
partition size (point #2), apart from minimum sizes. The gparted
website will give you some authorative information to back up point
#3.


HTH,
Kris


P.S. It *is* possible to install Ubuntu on less than 2.5GB. However, I
had to use the text mode install, as it fails due to lack of space.

I had to do an apt-get clean  apt-get autoclean, and remove a bunch
of files in /var/cache/apt/archives etc. every now and then to keep
the install alive.

You can probably use the server install disk to install a minimal
subset of packages and get that minimum / partition size down a bit
more.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Partitioning Questions

2007-04-30 Thread Tony Arnold


Kris Marsh wrote:

 3. As you've noticed, you can't resize a currently mounted partition.
 What you need is some sort of live CD for gparted. Check the gparted
 website ;-)

Or just boot the Ubuntu install CD (the desktop version). It has gparted
already installed.

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/