kapil sharma proclaimed:
> I want to install a new hard disk of 17GB on existing linux system.
> I want to assign /backup to this new harddisk. Can you please suggest
> some manual/website where i can find more about the making and 
> formating partition?


Here, breifly, are the steps:

0. Shut down your machine and open it up.
1. Install the new hard disk (I am assuming that you know how to do this).
2. Close the cover, plug everything back and restart your machine.
3. boot into Linux.  Log in as root.
4. Run dmesg to see where the newly installed disk is (if IDE it should be
something like /dev/hdX where X = a, b, c....  If it is a SCSI disk then it
should be something like /dev/sdX where X = a, b, c etc.).  Let us assume
it is detected as /dev/hdc
5. Run 'fdisk /dev/hdc' and partition the disk.  In your case, you probably
need one partition that spans the entire disk.  Write the data to disk and
quit.
6. Run 'mke2fs -c /dev/hdc1' to format the newly created partition.
7. Create a directory called /backup.
8. Add the following line to the /etc/fstab file:

/dev/hdc1 /backup ext2 rw                     0       2


Thaths
-- 
Homer: Good old Evergreen Terrace: the swankiest street in the
       classiest part of Pressboard Estates.
Bart:  Well if you love it so much, why are you always littering?
Homer: It's easier, duh.
Sudhakar C13n    http://www.aunet.org/thaths/    Lead Indentured Slave

-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help

Reply via email to