Finally getting rid of Windows (almost)

James Pifer jep at obrien-pifer.com
Mon May 15 15:33:26 UTC 2006


On Sat, 2006-05-13 at 12:16 +0300, Markku Kolkka wrote:
> James Pifer kirjoitti viestissään (lähetysaika perjantai, 12. 
> toukokuuta 2006 20:32):
> > My current partitions are:
> > /dev/hda1   *           1        3199    25695936    7 
> > HPFS/NTFS /dev/hda2            3200        3212      104422+ 
> > 83  Linux /dev/hda3            3213        9729    52347802+ 
> > 8e  Linux LVM
> >
> > So can I just blow away the hda1 partition, create a new linux
> > partition, and add it to the lvm?
> 
> That's not necessary, just change the partition type of hda1 to 
> 8e and you can initialize it with pvcreate and add it to LVM 
> with vgextend.
> 
> > Or will that hose the 
> > boot/grub process?
> 
> No, if you don't change the partition number of /boot (hda2).
> 

I had no problem with the first couple steps:
Changed hda1 to type 8e, Linux LVM. 
Used pvcreate to initialize it.
vgextend reported that it worked, but if I do df, it still shows the
same amount of free space as before. 

Should df reflect the full amount of free space in the LVM?

Thanks,
James




More information about the users mailing list