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 07-04-2005, 10:24 PM   #1
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Rep: Reputation: 15
Increase the size of a fedore core 3 partiton


Ok, i have spent the last 2 days trawaling the internet, and am suprised how many supposed linux helpsites offer Windows PArtition magic as a resolution...

Scenario.

I have a Laptop running fedora Core 3, Gui is gnome... I had 5Gb assigned to Linux and was duel booting Fedora and XP

2 days ago, i removed most of the crud i had on XP and reclaimed 14Gb on the XP partition, I loaded up Partiton Magic on XP, and resized the XP partition, i now have 9GB of non allocated free space... sitting there doing nothing, linux and XP are NOT using it..

I would like to extend the linux partiton, so that the 5Gb becomes 12Gb.... (ish)

From looking on the internet i have the command line options of

parted, lvresize or lvextend...

the fedora C3 gnome doesn't appear to come with a nice Gui to do this, Kde on Mandrak has Disk Druid.... I tried to install suprise, from sourceforge, but well, libiconv.so.2 killed that off so its not an option


So what i am looking for, as are several other people on this forum is...


1) From the command line how can i check the exact siize of all my partitions, and how much un partitioned space do i have?

2) I understand i could boot off Fedora CD1 and enter Linux Rescue, and use Parted to resize the partiton... If so how does the command syntax work in the real world, not from the --help and man pages which make no sense to me.....

3) Fedora C3 uses LVM? and is so i should be able to use lvextend (?) and if so what would i actually have to type in, i'm looking for a real world example, and advice on how to find things the the LogicalVolumeSize[


A step by step guide, of what i did and how i did it will be pasted at the end of this thread,

Please don't tell me, QTParted, PartionMagic etc...... Every time i try and load a gui on gnome to make this easy, there are so many dependancies and the prm's bomb out.....
maybe there is a yum site, and the exact command in yum to download a gui to do this? or apt-get.....

Any help would be appreciated, i think i'm losing the plot..
 
Old 07-05-2005, 04:30 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
1) from command line: # /sbin/fdisk -l /dev/hda will tell you the type and sizes of all your partitions. Free space will show as an absence of a partition.

2) Fedora ships with parted (man parted and info parted)
Resize the second partition (according to the man page) on hda as follows:
# parted /dev/hda move /dev/hda2 <start> <end>

you will probably need to resize the fs as well using the "resize" command.
The info pages are very comprehensive and much easier to read than the man pages. Check it out.

3) AFAIK: FC3 already has a GUI for LVM manipulation. FC4 certainly does. Look in system settings.

See:
gparted vo.6 is out. Be warned, this is under development.
qtparted is considered unstalble - it's no wonder you had trouble with the rpms.

For development software you are best to compile from source.
However, you may find yourself needing the odd additional library. I bet qtparted wanted the qt libs?

Anyway - no matter what you use, it is inadvisable to resize any partition while it's fs is mounted. The recommended course is to reboot from rescue and go from there.

Of course - it is probably easier to delete the partition then recreate it - backups manditory for all these processes.
 
Old 07-05-2005, 08:49 PM   #3
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Original Poster
Rep: Reputation: 15
Thank you

Much appreciated, i figured out that the problem was, as with EVERY time I have installed Fedora, if you do a selective install, half the stuff you need to get RPM's and real use stuff working isn't installed..

So i bit the bullet, and formatted the hard disk, Bye XP, and installed the complete contents of the Fedora Core 4 CD onto my hard disk......

However, i'm comiling a webpage, with step by step instructions, a dummies guide to linux, for the school i work at, and this information you posted will be attributed to you, and it works...

thank you
 
Old 07-06-2005, 05:32 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Oh ta.
Now there's a little button at the bottom of this panel wot says "thanks" - give it a click and fill in the form. IT's the official thank you... and you don't have to spend money no matter what the silly form says.

Have you seen the faq

The only shame about losing the XP is that you probably lose the xp licence as well - and this is useful if you ever want to run wine, then you can use win dll's as of right. Same with things like mplayer too.

Speaking of which - install mplayer from source as your next fedora 4 project.
 
Old 07-06-2005, 09:26 AM   #5
fieldyweb
Member
 
Registered: Jun 2005
Location: Wycombe, England
Distribution: Mepis 3.4.3 , Ubuntu & Damm Small Linux
Posts: 119

Original Poster
Rep: Reputation: 15
Mplayer from Source

Had fun and games with that last weekend, i wanted to watch Live8 on the net (i live in Thailand) and i couldn't because AOL/Microsoft and it wouldn't run in Linux straight out of the box.. got all huffy and watched it in XP, then on sunday afternoon, i found the sourceforge mplayerplugins and installed.... hey presto... I could watch AOL/Microsoft's broadcast of Live 8.. on linux.. An internet radio station i like from my days living in london www.capitalfm.com still doesn't work, but then you can't have everything...

So once i have downloaded all the patches and the new Kernel, i'll get Mplayer up and running from source as all the RPM's don't let you run gmplayer.. well the ones i tried didn't...
 
  


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
fedore core 4 2good4u2c_52 Linux - Newbie 4 11-08-2005 03:39 AM
Fedore Core 2 harley51 Fedora 3 05-23-2004 12:24 AM
upgrading from fedore core 1 to core 2 rejser Linux - Software 0 05-20-2004 09:22 AM
increase point size size when printing PDF files newlin Red Hat 0 09-27-2003 08:13 AM
Increasing partiton size of linux balanagireddy Linux - General 2 09-20-2003 09:13 AM


All times are GMT -5. The time now is 02:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration