> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:redhat-list- > [EMAIL PROTECTED] On Behalf Of Andy Jackman > Sent: Friday, August 08, 2003 7:08 AM > To: [EMAIL PROTECTED] > Subject: Resize ext2 partitions > > Hi, > I'm trying to resize a partition. I've seached google but most of the > results are people asking this question and other people telling them > to > search google. > > I tried deleting partition 2, then recreated it at the same starting > cylinder. This made the Extended partition bigger but the rest of the > partitions disappeared. So I quit and asked for help. Do I need to > re-create the other partitions as well when I extended partition 2? > Thanks in advance, > Andy. > > Her eis the output from fdisk before and I delete and re-create > partition 2 > > $fdisk /dev/hda > The number of cylinders for this disk is set to 4998. > There is nothing wrong with that, but this is larger than 1024, > and could in certain setups cause problems with: > 1) software that runs at boot time (e.g., old versions of LILO) > 2) booting and partitioning software from other OSs > (e.g., DOS FDISK, OS/2 FDISK) > > Command (m for help): p > > Disk /dev/hda: 255 heads, 63 sectors, 4998 cylinders > Units = cylinders of 16065 * 512 bytes > > Device Boot Start End Blocks Id System > /dev/hda1 * 1 3 24066 83 Linux > /dev/hda2 4 188 1486012+ 5 Extended > /dev/hda5 4 69 530113+ 82 Linux swap > /dev/hda6 70 135 530113+ 83 Linux > /dev/hda7 136 168 265041 83 Linux > /dev/hda8 169 175 56196 83 Linux > /dev/hda9 176 188 104391 83 Linux > > <snip> > Command (m for help): p > Device Boot Start End Blocks Id System > /dev/hda1 * 1 3 24066 83 Linux > /dev/hda2 4 4998 40122337+ 5 Extended > > > -- The command for repartitioning a partition is called parted. Use this command with care. You may need to do several things to resize a partition like shrink another partition get more space.
-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
