LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 02-15-2006, 05:42 AM   #1
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Rep: Reputation: 0
can't create partition on free space


I have 160G hard with 5 partition hda1-Windows, hda2-Extended (hda5-ntfs), hda3-/boot and hda4-lvm physical volume. I also have 20G of free space that remained after the linux installation. I tried to create a partition but none of the programs let me. I don't know what to do. Can I add it to the volume group or do you have any other suggestions?
 
Old 02-15-2006, 06:04 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
make sure all your paritions are not primary. i think you can only have 4 or something. some one feel free to correct me. i had that where an installed would only create primary paritions and it left 75gig unusable. suffice to to say i soon changed that! check in cfdisk.

anyway, you can certainly add the 20gig to your volume group using the normal 'pvcreate' 'lvextend' etc command.

however, i am not sure how LVM effects partitions i've never mixed lvm with normal disk partitions....

Last edited by satinet; 02-15-2006 at 07:40 AM.
 
Old 02-15-2006, 06:51 AM   #3
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
now I understand. so I have to many primary partitions. but what do I do? the free space is at the end and the extended partition is the second. and I cannot move the lvm and /boot so I can integrate it in the extended because I would like to make it fat32 (so both linux and windows could rw)
 
Old 02-15-2006, 07:43 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
could you show me the outpuf ot cfisk, so i can vislualise it better.

i had a 160 gig hard disk spare - hdb -, so i was able to move the data onto that temporarily, redo the partitioning and move the data back.
 
Old 02-15-2006, 08:23 AM   #5
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
Quote:
Originally Posted by thyraios
now I understand. so I have to many primary partitions. but what do I do? the free space is at the end and the extended partition is the second. and I cannot move the lvm and /boot so I can integrate it in the extended because I would like to make it fat32 (so both linux and windows could rw)
Hi,

I'm not very sure what do you mean. Do you want to create a new partition and format is as FAT, or you would (also?) convert your NTFS partition (/dev/hda5) to FAT?

Anyway, probably you can move the LVM volume and the boot partition to the end of your harddisk and then expand /dev/hda2 so you can create the new partition inside. What tools have you been using?

Regards
 
Old 02-15-2006, 08:24 AM   #6
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
there isn't cfdisk on fedora core 4 so fdisk -l (if this is what you want to see):
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1305 10482381 7 HPFS/NTFS
/dev/hda2 1306 9138 62918572+ f W95 Ext'd (LBA)
/dev/hda3 9139 9151 104422+ 83 Linux
/dev/hda4 9152 16902 62259907+ 8e Linux LVM
/dev/hda5 1306 9138 62918541 7 HPFS/NTFS
 
Old 02-15-2006, 08:27 AM   #7
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by enemorales
Hi,

I'm not very sure what do you mean. Do you want to create a new partition and format is as FAT, or you would (also?) convert your NTFS partition (/dev/hda5) to FAT?

Anyway, probably you can move the LVM volume and the boot partition to the end of your harddisk and then expand /dev/hda2 so you can create the new partition inside. What tools have you been using?

Regards
yes. i'd like to move the LVM and the boot so I can expand /dev/hda2. that would be perfect. i'm using parted (but I'm not an expert)
 
Old 02-15-2006, 08:30 AM   #8
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
i wanted to see which are primary and which are logical.
 
Old 02-15-2006, 08:32 AM   #9
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
Minor Start End Type Filesystem Flags
1 0.031 10236.730 primary ntfs boot
2 10236.731 71680.649 extended lba
5 10236.762 71680.649 logical ntfs
3 71680.649 71782.624 primary ext3
4 71782.625 132583.315 primary lvm
 
Old 02-15-2006, 08:32 AM   #10
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
Well, parted should be fine, but then you will be moving partitions you have in use. Do you have something like a LiveCD? Maybe the Fedora CDs can be used so the partitions are not mounted and you can use parted to move them...

You can also try to do it from Windows and something like Partition Magic.

Last edited by enemorales; 02-15-2006 at 08:34 AM.
 
Old 02-15-2006, 08:46 AM   #11
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
I have Ubuntu LiveCD (ver4.10), Knoppix 3.3 and Mepis. Wich should I use? And can you give me an example (it would be easier for me) of how to move a partition?
Partition Magic can't move LVM. thanks for help
 
Old 02-15-2006, 08:51 AM   #12
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 11, Sabayon 3.1
Posts: 1,464

Rep: Reputation: 46
Quote:
Minor Start End Type Filesystem Flags
1 0.031 10236.730 primary ntfs boot
2 10236.731 71680.649 extended lba
5 10236.762 71680.649 logical ntfs
3 71680.649 71782.624 primary ext3
4 71782.625 132583.315 primary lvm
you should have made partitions 3 and 4 logical. Presumably you can't create any new partitions. not sure how to help. if you moved everything off to another drive you could remake the partitions and move it back....

a live cd would appear to be the answer. if you used ubuntu (5.10) you could download anysoftware you might need from the apt repositories....
 
Old 02-15-2006, 08:51 AM   #13
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 30
I'm sorry, but it's has been some time since I used parted the last time and I'm not on my PC now, so I wouldn't be able to give you step by step instructions.

You could try Knoppix. I know it comes with qtpart, which is a graphical tool for managing partitions. (Maybe it's also with Ubuntu and Mepis, but then I'm not sure).

Good luck!
 
Old 02-15-2006, 08:57 AM   #14
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
tnx for the help. I'll try the livecd's and see what I can do. I'll be back with more information after.
 
Old 02-15-2006, 09:34 AM   #15
thyraios
LQ Newbie
 
Registered: Feb 2006
Distribution: Fedora Core 6
Posts: 16

Original Poster
Rep: Reputation: 0
well, I can't move the LVM because no program can detect it (Error: Could not detect file system). maybe if I could ungroup the LVM group but I don't think that's possible. If you have other suggestions I would be thankful
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't partition free space from shrunken partition john_b Linux - Newbie 7 01-14-2006 05:43 AM
My / is full. How to create 400MB free space without deletion .?? kadhiravan.r Linux - Newbie 7 12-08-2005 03:06 AM
Create new partition from existing free space distortedstar Linux - General 4 06-07-2005 10:47 PM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM
Partition Free Space? Gerardoj Linux - General 16 06-02-2003 02:16 AM


All times are GMT -5. The time now is 10:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration