Matt Garman wrote:
> 
> Hello:
> 
> It's been quite a while since I've installed Debian.  Last time I did an
> install, it was by putting the whole system on one partition.
> 
> Now I want to split up Linux into many partitions, i.e. put /usr/ on one
> partition, /home/ on another, etc.  I want to do this for ease of
> backups and some security benefits.
> 
> My question is: how does this affect the installation process?  Are
> there any "gotchas" I should look out for, having my disc split up as
> such?  I'll be doing the floppy+ftp method of installing potato.


I did this successfully. I used cfdisk and specified the size of each
partition in cylinders. Type "C" after specifying the numerical number
of cylinders for the partition in question. In cfdisk, the "u" option
changes the relevant values.

I have :

fdisk -l /dev/hdb

Disk /dev/hdb: 255 heads, 63 sectors, 784 cylinders
Units = cylinders of 16065 * 512 bytes

( Thus, each cylinder equals 8.225 Mb. Use this number to calculate,
in cylinders, the size of each partition you want))

   Device Boot    Start       End    Blocks   Id  System        Label
/dev/hdb1   *         1        50    401593+  83  Linux          /
/dev/hdb2            51       769   5775367+   5  Extended
/dev/hdb3           770       784    120487+  82  Linux swap
/dev/hdb5            51       292   1943833+  83  Linux         
/home         
/dev/hdb6           293       534   1943833+  83  Linux          /usr
/dev/hdb7           535       697   1309266   83  Linux          
/usr/local
/dev/hdb8           698       769    578308+  83  Linux          /var

I have a 6.4Gb disk.

Remember to initialize _and_ mount each partition you create _before_
installing the kernel/modules/packages. You will specify the label for
each partition when you do this.

Cheers,


-- 

Howard Mann                   Online Troubleshooting Resources: HOWTO
http://www.newbielinux.com    http://www.xmission.com/~howardm/t1.html

Reply via email to