[5588] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: partition magic for Linux (I wish!!)

daemon@ATHENA.MIT.EDU (Mick Ghazey)
Fri Nov 22 15:04:58 1996

From: "Mick Ghazey" <mghazey@miso.lowdown.com>
To: Thomas Porter <txporter@mindspring.com>, redhat-list@redhat.com
Date: Fri, 22 Nov 1996 15:01:33 +0000
Reply-to: mGhazey@lowdown.com
X-Confirm-Reading-To: mGhazey@lowdown.com
Resent-From: redhat-list@redhat.com

On 22 Nov 96 at 1:23, Thomas Porter wrote:

> I am using a secondary 750 MB IDE drive as my Linux system, with DOS and
> one Linux partition on my primary 1.6 GB IDE drive.
> 
> The cfdisk map of the 750 MB drive looks like this:
> Partition Table for /dev/hdb
> 
>            First    Last
>  # Type    Sector   Sector   Offset  Length   Filesystem Type (ID)  Flags
> -- ------- -------- -------- ------- -------- --------------------- ---------
>  1 Primary       0   133055      63   133056  DOS 16-bit >=32M (06) None (00)
>  2 Primary  133056  1266047       0  1132992  Extended (05)         None (00)
>  5 Logical  133056   193535      63    60480  Linux (83)            Boot (80)
>  6 Logical  193536   241919      63    48384  Linux Swap (82)       None (00)
>  7 Logical  241920   856799      63   614880  Linux (83)            None (00)
>  8 Logical  856800  1266047      63   409248  Linux (83)            None (00)
>    Pri/Log 1266048  1425311       0   159264  Free Space            None (00)
> 
> My boot (/) is logical 5 followed by my swap, etc.  Note the free space at
> the end.  Unfortunately my / is about 80 % utilized, and logs fill up the
> rest real fast.  Lots going into /tmp can fill it up as well.
> 
> Is it possible to:
> a.  move my boot directory to the free space at the end of the drive, if I 
> create a Linux bootable partition there.  Its probably past the 500 MG point.
> 
> b.  assuming I move my swap to the end of the drive, can I extend the boot
> partition some how after I delete the swap at logical 6? 
> 
> I am hoping against hope that I wouldn't have to tar everything up, create
> a rescue disk set, rub my system out,  and hope I can restore from it.  I
> know I ought to do this as an exercise, but I'm a little scared to try!!
> 
> Thanks
> 
> Tom Porter
> txporter@mindspring.com

Yeah, create a logical partition out of the free space. That gives 
you some room to maneuver. Mount it on /mnt/xpand or whatever. Then
move /tmp to /mnt/xpand/tmp. Create a symbolic link in your root 
directory, tmp -> mnt/xpand/tmp. Now all references to /tmp go to 
/mnt/xpand/tmp. 

I've been using this technique successfully for quite some time.
Obviously, you can offload other directories in the same manner.
You might be able to tar unneeded dirs to another partition so that
you can free it adjacent partitions. Then you can redistribute your 
allocation. BTW, you might be able to live with less swap.

Mick



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post