Richard;
Thanks for the quick response, but this newbie still has questions.
Richard Adams wrote:
>
> On Fri, 10 Dec 1999, Tom Bernett wrote about, Resizing Disk Partitions.:
> > Hi List;
> >
> > I'd like to increase the size of some of my linux partitions. I
> > remember reading some cautions about changing linux partitions, but I
> > didn't understand them at the time (even more of a newbie then!), and I
> > can't find them now.
> >
> > I'm dual booting OS/2 and linux using OS/2 Boot Manager. Lilo is in the
> > linux /. Here's what I have;
> >
> > hda2 /
> > hda3 C: OS/2 hpfs
> > hda4 OS/2 Boot Manager
> > hda5 D: OS/2 hpfs
> > hda6 /home
> > hda7 /opt
> > hda8 /usr
> > hda9 linux swap
> > Free Space - 5 Gig.
> >
> > I also have an empty 1.6 gig spare drive.
> >
> > I don't have to disturb the OS/2 or linux / partitions. All my changes
> > will be in hda6 and up.
> >
> > Since I have a lot of space, can I just boot floppy and, one by one,
> > create new linux partitions at the end of the drive, mkfs them, and
> > transfer (cp or tar) each linux partition out until I have the
> > arrangement I want?
> >
>
> Why boot with a floppy.? you dont need to reboot to change the partitions
> providing they are empty and you are not going to touch any working
> "mounted partitions".
Well, I don't know enough about linux partitions and what's in them. I
figured booting with a floppy would be the safest. Are you saying all
but / can be copied in total just like a hpfs or fat data partition?
Eg. can I just copy hda8 (/usr) to hdb temporarily, delete hda8,
recreate hda8 where/how big I want it, mkfs it, and copy /usr from hdb
back to hda8. If so, I guess I just didn't expect it to be that easy
:o] Also, can the swap partition be deleted while booted off the hard
disk?
>
> Just use fdisk to remove the parttions then resize the piece of the disk
> thats left over.
>
> It might be advisable to reboot afterwards, but i dnt see any "critical"
> need to.
>
> after repartitioning and the possable reboot you can use mke2fs on each
> partition to create the file system.
>
> >
> > My OS/2 stuff is backed up, but I can't back my linux stuff to tape. (I
> > tried installing ftape (both tar.gz and rpm versions)but ran into
> > problems. So I need a method which is pretty safe. Can I use the 1.6
> > gig (hdb) to back up my linux stuff as insurance?
>
> Sure why not, you can backup all your stuff.
Would that also work with / ?
Thanks again.
Tom