[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: utilizing unpartitioned space
thanx for the help extended. I tried the same but it didnt worked
it seems to me that the extended partition is the one in which all the
ext2 partition are logically placed.
How abt adding a new hard disk to the current system
how to make new filesystem on new harddisk and format and mount them.
Lokesh Setia wrote:
> >>>>> "Sanjay" == Sanjay Gupta <sanjay@xxxxxxxxxxxxx> writes:
> Sanjay> Hi ! I have some unpartitioned space which linux using
> Sanjay> "fdisk -ul" is showing as /dev/sd2 type ext2.
> You probably mean "unused space". Since it shows up in fdisk, it is
> already partitioned.
> Sanjay> Now I want to make it a partition and use that space by
> Sanjay> mounting it to some directory say /home2
> First check whether it already has a filesystem (i.e. is formatted) or not:
> # mkdir /mnt/tmp
> # mount /dev/sda2 /mnt/tmp
> If mount succeeds then it is already formatted. It might as well
> contain some data.
> Else format it with the command:
> # /sbin/mkfs.ext2 /dev/sda2
> Read your typed command before you press enter. A small typo and you
> could regret it for some time.
> Now your filesystem is ready to be mounted! Add the following line to
> /dev/sda2 /home2 ext2 defaults 1 2
> Create the directory /home2 and give the command
> # mount /home2
> Hope that works,
> Lokesh Setia.
> An alpha version of a web based tool to manage
> your subscription with this mailing list is at