Re: Get rid of windowz.

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

 



On Wed, 2005-05-11 at 11:04, Maciej wrote:
> Hi all,
> 
> I backed up my files and now want to remove the 60 GB windowz partition
> and give my / partition all the GB's. How can I do this?
> 
> fdisk -l
> 
>  Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        7965    63974061+   7  HPFS/NTFS
> /dev/hda2            7966        7977       96390   83  Linux
> /dev/hda3            7978        8042      522112+  82  Linux swap
> /dev/hda4            8043        9729    13550827+  83  Linux
> 
> -- 
> Kind regards,
> Maciej
> --
> m.mail@xxxxx
> 
> #########################################
> # WARNING: New to Linux since May 2005! #
> #########################################

I did the same thing a couple months ago. Only difference for me was
that I was removing two partitions. This should apply for you and this
assumes you're using LVM. Not sure if there's an easier way to do it or
not, but this was pretty easy. I also had to do some searching to figure
out exactly how to do a couple of these things. I would back your stuff
up somehow to be safe!

Here's basically what was given to me in March from this list:

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

Change the partition types of hda1 to "Linux LVM". 

Then do:
# pvcreate /dev/hda1

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

"vgdisplay" should then show that you have additional 60G 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."

HTH,
James


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

  Powered by Linux