partition resizing with parted

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

 



I have this strange partition set up now which is essentially rendering 10G Bytes
of my hard drive inaccessible to me. I dual boot between Mandrake 9.1 and FC2.
My Mandrake install is currently my primary, but want to eventually try and move
over to FC2 full time.


I originally partitioned the drive to have a

/dev/hda1         Windows FAT32   10 G Bytes
/dev/hda2           Extended                 55 Gbytes
/dev/hda3   *      Linux                         3 Gbytes
/dev/hda4         Linux LVM                2 GBytes
/dev/hda5         Linux
/dev/hda6         Linux
/dev/hda7          Linux swap
/dev/hda8          Linux
/dev/hda9         Linux
/dev/hda10         Linux

Obviously, 5-10 are part of the extended partition.
I have FC2 on hda3 and hda4 (by the way, the LVM setup
on FC2 worked great!).

Well, I decided windows wasn't in this box's future, so I decided to reclaim
the 10 Byte FAT32 for Linux. I used Mandrake's "diskdrake", but this is what it did:
Device Boot Start End Blocks Id System
/dev/hda2 1 104487 52661038+ 5 Extended Device Boot Start End Blocks Id System
/dev/hda2 1 104487 52661038+ 5 Extended
/dev/hda3 * 104487 111802 3686917+ 83 Linux
/dev/hda4 111802 116265 2249100 8e Linux LVM
/dev/hda5 21070 22122 530113+ 83 Linux
/dev/hda6 22122 28433 3180838+ 83 Linux
/dev/hda7 28433 30489 1036161 82 Linux swap
/dev/hda8 30489 62316 16040871 83 Linux
/dev/hda9 62316 73265 5518264+ 83 Linux
/dev/hda10 73265 104487 15735604+ 83 Linux


/dev/hda3 * 104487 111802 3686917+ 83 Linux
/dev/hda4 111802 116265 2249100 8e Linux LVM
/dev/hda5 21070 22122 530113+ 83 Linux
/dev/hda6 22122 28433 3180838+ 83 Linux
/dev/hda7 28433 30489 1036161 82 Linux swap
/dev/hda8 30489 62316 16040871 83 Linux
/dev/hda9 62316 73265 5518264+ 83 Linux
/dev/hda10 73265 104487 15735604+ 83 Linux Device Boot Start End Blocks Id System
/dev/hda2 1 104487 52661038+ 5 Extended
/dev/hda3 * 104487 111802 3686917+ 83 Linux
/dev/hda4 111802 116265 2249100 8e Linux LVM
/dev/hda5 21070 22122 530113+ 83 Linux
/dev/hda6 22122 28433 3180838+ 83 Linux
/dev/hda7 28433 30489 1036161 82 Linux swap
/dev/hda8 30489 62316 16040871 83 Linux
/dev/hda9 62316 73265 5518264+ 83 Linux
/dev/hda10 73265 104487 15735604+ 83 Linux



Notice that hda2 starts at 1 now, and I have no hda1. The space between 1 and 21070 (where 5 starts) is
free space supposedly. Can I use parted to change where hda2 starts without damaging data, and then create an hda1 and create
a linux file system on it? Acually, I will probably add it to the LVM I'm using under FC2.


Thanks,
Scott



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux