On Sun, Jan 11, 2004 at 12:58:10PM +0530, Manjunath H N wrote:
>
> I have two 40 GB IDE Hard disks, I want to put my /home
> partition across the Hard disks so that I can get maximum
> space, but during installation it is not allowing me to do
> that, it can partition only on one disk at a time, How can I
> achieve partition to span across multiple disks.
>
This is a limitation of the distro installation mechanism. In
case the distro does not permit cross media installation you
would perhaps need to do that manually later ...
a) Install as normal, keeping a small /home in /dev/hda, since
you would not be needing this later. (Some distros insist on
creating at least one user).
b) Boot in as root, and then manually do the following:
o fdisk /dev/hdb
o Create partitions as deemed necessary on hdb. Assuming
that you want to dedicate a full 32mb extended partition
(say /dev/hdb5), create the necessary filetype there with
mkfs (viz. ext2/ ext3 whatever).
o Mount the partition to a temporary mount point.
# mount -t ext3 /dev/hdb5 /mnt/temp
o Copy the full /home with all permissions and privileges
to that mount point (viz. #cp -a /home/* /mnt/temp). Note
the cp -a or -dpR ... this IS necessary. Do ls /mnt/temp
and see that things are as expected.
o Edit your /etc/fstab ... it would look sometning like:
/dev/hdb5 /home ext3 defaults 1 2
o Note: some distros also need edit of /etc/mtab .. If your
system has a /etc/mtab then edit that too:
/dev/hdb5 /home ext3 rw 0 0
o Move the existing /home to /home-old (retain it till next
reboot ... just in case)
o Reboot ... things should work.
o If everything is fine then: # rm -rf /home-old
HTH
Bish
--
: _ /~\'_
(o o)
=====oooO==U==Oooo============================[USM Bish]====
While one person hesitates because he feels inferior, the
other is busy making mistakes and becoming superior.
=====================[URL:http://geocities.com/usmbish/]====
:
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help