Post-Install Partition, Format and Mount of Unused Disk Space on 2nd Disk?

Post-Install Partition, Format and Mount of Unused Disk Space on 2nd Disk?

Post by Jim Wrigh » Tue, 10 Jul 2001 06:58:15



Folks,

I did a workstation install of Red Hat 7.1 using automatic partitioning on
a 2 HD Pentium system (4GB and 3GB respectively, single OS only).
The /boot and / (root) partitions were created on hard drive 1 and /swap
was created on hard drive 2. The install was successful, *but* (excepting
the swap space) hard drive 2 was unallocated by the automatic partitioning
done by Disk Druid.  (detail at end)

Egad! How do I partition, format and mount this unused space without
clobbering my sucessful install? I am already running out of space...

Specifically:

Q1. How do I partition, format and mount the 3 GB of wasted space on hard
drive 2 without wiping my successful installation and subsequent
configuration and installs?

Q2. Can I use Disk Druid for the partitioning and formatting, or is Disk
Druid just an installation tool? Are there more suitable tools? Note the man
page for cfdisk seems to say that it it restricted to partitioning and
formatting a single hard drive. The man page for fdisk warns against using
fdisk at all!!!

BTW, Red Hat 7.1 has worked like a champ so far. I would very much
appreciate any suggestions.  I will post/repost anything useful that I find
out with attributions to the rsponsible guru(s) :-)

                        Thanks in advance...


Detail
----
Mounts are:

/ (root)                /dev/hda5       ext2    3999 MB
/boot           /dev/hda1       ext2    53 MB
/swap           (on 2nd HD)     swap    197 MB
/proc                           proc
/dev/pts                                devpts
/misc                           autofs

Hardware:

233 MHz Pentium MMX w/64 MB memory, Diamond Stealth video card, ESS Allegro
sound card, modem, network NIC (Linksys LNE100TX), a 4 GB IDE disk
(HD 1) and a 3 GB IDE disk (HD 2). CD-Rom & floppy. Eveything recognized
and configured, first try!

 
 
 

Post-Install Partition, Format and Mount of Unused Disk Space on 2nd Disk?

Post by Eric » Wed, 11 Jul 2001 16:36:44


My newsserver doesn't provide the col.admin group.
So I'll reply to the col.setup group.

Besides that, DON'T crosspost to so many groups.

Quote:> Egad! How do I partition, format and mount this unused space without
> clobbering my sucessful install? I am already running out of space...

Then you parttioned poorly.
You should have read the partitioning HOWTO

Quote:> Specifically:

> Q1. How do I partition, format and mount the 3 GB of wasted space on hard
> drive 2 without wiping my successful installation and subsequent
> configuration and installs?

Use a partitioning tool, and leave the already existing partitions alone.

Quote:> Q2. Can I use Disk Druid for the partitioning and formatting, or is Disk
> Druid just an installation tool?

It's installation time only IIRC.

Quote:> Are there more suitable tools? Note the man
> page for cfdisk seems to say that it it restricted to partitioning and
> formatting a single hard drive.

Now that's a heavy restriction :-)
What's your problem with it?
It's restricted to partition one harddisk per run.
So try `cfdisk /dev/hda` first
Then try `cfdisk /dev/hdb` (or hdc/hdd/hde.....)

Quote:>  The man page for fdisk warns against using
> fdisk at all!!!

Use it if you know how to use it.
I use it all the time, without problems. It doesn't restrict you very much
though,
so you can easily create an incorrect partitiontable.

Eric

 
 
 

Post-Install Partition, Format and Mount of Unused Disk Space on 2nd Disk?

Post by Jim Wrigh » Fri, 13 Jul 2001 18:30:15


Eric,
    Thanks for the response.  Experience is everything, as
it is usually the unmentioned  assumptions that kill you.
 I will indeed try out what you suggest. ~jim


Quote:> My newsserver doesn't provide the col.admin group.
> So I'll reply to the col.setup group.

> Besides that, DON'T crosspost to so many groups.

> > Egad! How do I partition, format and mount this unused space without
> > clobbering my sucessful install? I am already running out of space...

> Then you parttioned poorly.
> You should have read the partitioning HOWTO

> > Specifically:

> > Q1. How do I partition, format and mount the 3 GB of wasted space on
hard
> > drive 2 without wiping my successful installation and subsequent
> > configuration and installs?

> Use a partitioning tool, and leave the already existing partitions alone.

> > Q2. Can I use Disk Druid for the partitioning and formatting, or is Disk
> > Druid just an installation tool?

> It's installation time only IIRC.

> > Are there more suitable tools? Note the man
> > page for cfdisk seems to say that it it restricted to partitioning and
> > formatting a single hard drive.

> Now that's a heavy restriction :-)
> What's your problem with it?
> It's restricted to partition one harddisk per run.
> So try `cfdisk /dev/hda` first
> Then try `cfdisk /dev/hdb` (or hdc/hdd/hde.....)

> >  The man page for fdisk warns against using
> > fdisk at all!!!

> Use it if you know how to use it.
> I use it all the time, without problems. It doesn't restrict you very much
> though,
> so you can easily create an incorrect partitiontable.

> Eric

 
 
 

1. No free disk space, although unused blocks !

When installing some software, I ran out of disk space. So I
removed some unnecessary stuff from my disk. But df still
keeps saying 100% Capacity. This is the output of df :

Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda6             285155  270062        0    100%   /

So I do have unused blocks, (285155 - 270062 = 15093). But no space
left on my device !
I already ran e2fsck but that didn't help.

Anyone solutions to this problem ? (URGENT)

--
----------------------------------------------------------

Computer Science student    http://studwww.rug.ac.be/~dtorfs
University of Ghent
Belgium
==========================================================

2. Looking for MIME encoder for Solaris.2.5

3. Need to partition remaining free disk space after installed Linux

4. Defining the interfaces to be used for routing

5. mounting root partition from install disk? Trident TVGA9000

6. Linux Multicast

7. Re-partitioning disk with mounted partitions ?

8. IDE CDROM woes

9. Question: Post-install/new kernel boot disk creation....

10. Create boot disk from 2nd disk drive

11. Solaris 2.5 Format unable to see 2nd disk.

12. 1st Disk Linux 2nd Disk Windows

13. redhat disk druid won't use 2nd disk