Re: dual boot; remove Windows partitions

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

 



James Pifer wrote:
I'm running FC3 on my laptop in a dual boot. The only thing I've booted
to windows for was to get on a wireless network since I haven't been
able to get my dwl650 or the internal wireless card working. So I'm
considering getting rid of my windows partitions. Below is my partition
table.


Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        2627    21101346    7  HPFS/NTFS
/dev/hda2            2628        3902    10241437+   7  HPFS/NTFS
/dev/hda3            3903        3915      104422+  83  Linux
/dev/hda4            3916        9729    46700955    5  Extended
/dev/hda5            3916        9729    46700923+  8e  Linux LVM

-What's the best way to remove these two NTFS partitions?

-Can I remove them and use qtparted to move and resize my linux
partitions? Move Linux and Extended to the beginning of the drives and
expand Linux LVM over the rest of it.


-Or should I just plan on reinstalling?

You are using LVM; there is no need to do anything drastic.

Change the partition types of hda1 and hda2 to "Linux LVM". Don't delete or merge the partitions together, or you will need to alter your grub.conf file to change partition numbers (not a big job, admittedly).

Then do:
# pvcreate /dev/hda1 /dev/hda2

You will now be able to use "vgextend" to add /dev/hda1 and /dev/hda2 to your existing logical volume (VolGroup00 by default):
# vgextend VolGroup00 /dev/hda1 /dev/hda2


"vgdisplay" should then show that you have additional 30G of free space in your volume group, which you can add to your existing logical volume(s), using "lvextend". You can then use resize2fs or ext2online to change the sizes of the ext2/3 filesystems on the logical volume(s) you have made bigger, to make use of the extra space.

Paul.


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

  Powered by Linux