Sizing Partitions ?

Sizing Partitions ?

Post by Marcus Craft » Sat, 14 Sep 1996 04:00:00



Hi There All,

        My linux installation has been working fine for about 6 months now,
        but now I want to resize my windows 95 partition for another
        operating system to fit in.

        At the moment my system is physically defined as follows

        2 meg OS/2 Boot manager
        900 meg Windows 95
        600 meg Linux.
        30 meg Linux swap.
        (all located on the one disk ~1.6gig)

        I want to resize my Windows 95 partition to about 450 meg which will
        create another 450 partition inbetween Windows and Linux.

        The problem is last time I did this bad things happened as partition
        numbers changed. For example, Linux initally didn't boot as the scripts
        where configured to mount /dev/hda2 as linux root filesystem and it
        had changed to dev/hda3, and the kernel had to be recompiled.. etc..

        Does anyone know how to get around this problem - or know what bits
        I should change, etc so that it works, or is it just too hard and
        should I re install ??

                                                Thanks for your time

                                                Marcus
--
        .....                                                  .....
     ,,$$$$$$$$$,                                            ,$$$$$$$$$$,
    ;$'      '$$$$:                                         ;$'      '$$$$:
    $:         $$$$:            Marcus Crafter              $:         $$$$:
     $       o_)$$$:    Computer Systems Engineering         $      o_) $$$:
     ;$,    _/\ &&:'   La Trobe University, Melbourne        ;$,   _/\  &&:'
       '     /( &&&               Australia                    '    /(  &&&
           \_&&&&'                                                \_&&&&'

    &&&&&&&:                       Phone  : 03 9479 5412      &&&&&&&&:
                 http://www.studyhall.latrobe.edu.au/crafterm/

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 
 
 

Sizing Partitions ?

Post by Jim Van Zan » Sat, 14 Sep 1996 04:00:00



>    I want to resize my Windows 95 partition to about 450 meg which will
>    create another 450 partition inbetween Windows and Linux.

>    The problem is last time I did this bad things happened as partition
>    numbers changed. For example, Linux initally didn't boot as the scripts
>    where configured to mount /dev/hda2 as linux root filesystem and it
>    had changed to dev/hda3, and the kernel had to be recompiled.. etc..

1) You can back up both Windows and Linux, use FIPS to shrink the
Windows partition, then Linux fdisk to replace the existing Linux
partition with a bigger one, with the same number.  Then restore Linux
from the backup.

2) You can add a partition with a new number.  (Primary partitions, at
least, need not come in numerical order.)  Mount it temporarily to
/mnt or similar, copy stuff over as needed, then mount it to /usr or
/home or whatever, and add the corresponding entry in /etc/fstab.
After you've tested it for a while, umount the partition, delete all
the files and directories under the mount point, and remount the
partition.

3) If you want to make the new partition your root partition, you'll
need to at least:
        make a new boot floppy, and use rdev to set the root partition
        modify /etc/lilo.conf and run lilo again
        modify /etc/fstab

                               - Jim Van Zandt

 
 
 

Sizing Partitions ?

Post by Jonathan Cro » Sat, 14 Sep 1996 04:00:00



>Hi There All,
>    My linux installation has been working fine for about 6 months now,
>    but now I want to resize my windows 95 partition for another
>    operating system to fit in.

Hello Marcus.

I got a program called partition magic recently for about $38 US  at
the local computer superstore.    It is a dos program that allows you
to move and change your partitions around.  when I was using it I
shrank an existing dos partition and added a new one without moving
the 2 partitions at the end of the drive.  I was also able to move an
existing partition forward on the drive into empty space that I had
created and create another one at the end of the disk.

Using this program you should be able to shrink the 95 partition, move
the linux partitions forward and then create a new partition at the
end of your drive.   This will leave hda1,2,3,etc with the same
numbers.    If the Win95 partition is a logical partition remember
that you must shrink both the partition and the extended partition
that it is in.
----------
-bye for now-

Jonathan Crowe


www.eskimo.com/~jcrowe/

 
 
 

1. Sizes of Software and How to Size Partitions?

I've thinned my dos-windows *almost* enough, and am about ready to
repartition.  I've basically got a 350MB disk to put Linux on, with perhaps
a little left over on a second disk.  Not much by todays standards, but I
hope its enough for me to get a reasonable start.  This will be a single
user installation.

The advice to use multiple partitions seems sound.  I've read O'Reilly
"Running Linux,"  some of the How-Tos that seem appropriate,  the FSSTD
FAQ, some of the FSSTD, and the kind response of Hans-Joachim to an earlier
question. I have a reasonable understanding of the trades on partitioning.
 However, it all comes down to:  "It all depends on what software you
intend to install.  But choose carefully, there is no easy way to resize
partitions."

So, my question:  is there a way I can find out how big different
pieces of software are before I partition my disk?  Or should I just take a
chance, and plan on re-installing once I understand this a little better.

                                :-)

Thanks,

--
   John Velman

2. Sun ONE Directory Server 5.2

3. linux partition sizes/partitioning scheme?

4. Help: Simple Network

5. Re-sizing partition -- What's the best tool?

6. PAM

7. disk size/partitioning & fdisk issues

8. Intel/Linux peer to peer with Mac OS

9. moving and sizing partition

10. how to re-size partition with data ??

11. Re-sizing partitions under linux

12. Re-sizing partitions on Sun Blade 100.

13. RE-Size / partition Solaris 8