bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

move extended containing ext2?


From: Kenneth Gibbs
Subject: move extended containing ext2?
Date: Thu, 27 Sep 2001 17:32:15 -0700 (MST)

I have a (hopefully) quick question about the use of parted.
First, its a dual boot Win2K + RH7.1 box.  I use the NT boot-
loader (ie copy the boot.ini file into c:\, etc.).  Now, I
want to install win4lin (I've done so on my old box at home
and it works just fine).  Exactly what I'd like to do is
shrink the W2K partition (minor=1) to about 1/2 its present
size, move the linux boot partition (minor=2) down on top of
that, and resize the extended partition to fill the disk.  I
have a couple of questions though:

1) Do I need to copy the boot.ini file back in to the W2K
partition?   In other words, if I move the boot partition does
that file change?

2) The parted documentation explicitly states that you CAN
resize ext2 "partition" but only if the START stays the same.
On the other hand, it says you can resize extended partitions
and does not mention that caveat.  What if the extended part-
ition contains an ext2 filesystem?

As it lives and breaths now my disk looks like this:

Disk geometry for /dev/hda: 0.000-28629.562 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   8001.123  primary   FAT         boot, lba
2       8001.123   8024.655  primary   ext2
3       8024.656  28623.625  extended
5       8024.687   8283.515  logical   linux-swap
6       8283.546  28623.625  logical   ext2

What I'd like to end up with is more like this:

Disk geometry for /dev/hda: 0.000-28629.562 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   4001.123  primary   FAT         boot, lba
2       4001.123   4024.655  primary   ext2
3       4024.656  28623.625  extended
5       4024.687   4283.515  logical   linux-swap
6       4283.546  28623.625  logical   ext2


-- 

123456789a123456789b123456789c123456789d123456789e123456789f123456789g12

     Kenneth Gibbs / VERITAS / Fred Lawrence Whipple Observatory
                  PO Box 97 / Amado, AZ / 85645-0097
  (520)-670-5719   (520)-670-5713 fax   address@hidden

123456789a123456789b123456789c123456789d123456789e123456789f123456789g12




reply via email to

[Prev in Thread] Current Thread [Next in Thread]