How to add a new partition to an existing Red HAT 8
Smith, Albert
Albert.Smith at genexservices.com
Sun Feb 20 15:03:53 UTC 2005
fdisk /dev/hda (if it's your primary disk but check /etc/fstab to see what your hd is for your linux mp's.)
n
Press Enter at the starting cylinder
+1G for 1 gig or +1M for 1Meg and so on.
w
q
partprobe
if you are running an ext2 fs
then
mke2fs /dev/new partition
if ext3
mke2fs -j /dev/new partition
then mount it.
Albert Smith Sr. Unix Systems Administrator
HPCSA, RHCT
Genex Services
440 E. Swedesford Rd.
Wayne, PA 19087
albert.smith at genexservices.com
(610) 964-5154
________________________________
From: redhat-install-list-bounces at redhat.com on behalf of Mark Knecht
Sent: Sun 2/20/2005 9:33 AM
To: bhamal at wlink.com.np; Getting started with Red Hat Linux
Subject: Re: How to add a new partition to an existing Red HAT 8
On Sun, 20 Feb 2005 08:39:46 +0545, bj <bhamal at wlink.com.np> wrote:
> Hi !
>
> I have a red hat 8.0 & Windows 2000 on a intel box with a 60 GB hard drive .
>
> Only 20 GB has been partitioned into 10 GB of NTFS and 9 GB of Linux , file
> id 83 ext 3 and 1 GB of Linux swap , file id 82 .
>
> I want to use some free unallocated space from the remaining 40 GB for my
> linux .
>
> But I could not get fdisk (from the command prompt ) to show me the
> unallocated space and partition it .
>
Hi,
As root
mount
df
cat /etc/fstab
to show what the setup is.
Probably
fdisk /dev/hda
and when in fdisk 'p' to show the partitions. Adjust hda to whatever
you might actually have based on the mount results.
Cheers,
Mark
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 6108 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20050220/165f1564/attachment.bin>
More information about the Redhat-install-list
mailing list