Resizing my root partition

  • gamekiller
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 28, 2006
  • Posts: 101
  • Loc: above the chair
  • Status: Offline

Post March 30th, 2008, 5:55 am

Hi there,
i'm using fedora core 8 since last two weeks,
i never intend to use it for a long time, because i want to use it for my works only, but, from day to day, i feel comfortable with this non-windows OS.
The problem here is i allocate this partition around 6GB, then when i wants to update or install something, i have to be selective, because now my free space is 120MB!

so, how do i resize my root? in windows, of course, i can partition magic, how about linux? has anyone encounter this problem?

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 30th, 2008, 5:55 am

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 30th, 2008, 6:20 am

You don't have to install to /. I use FreeBSD and the installs go to /usr/ports/distfiles .

I don't know what the counter part of that is in Fedora. It's probably where the pkgs are installed.
How do you know when a politician is lying? His mouth is moving.
  • gamekiller
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 28, 2006
  • Posts: 101
  • Loc: above the chair
  • Status: Offline

Post March 30th, 2008, 9:45 am

thanks for that idea, i try to search more information about this,
btw Don2007,
you are using bsd right? when you installing freebsd,how many partition that you create? before this i only install swap and / partition.. just asking..hehe..
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post March 30th, 2008, 4:44 pm

I think I used auto partition which created:
/ (root)
/usr
/var
/dev
/tmp

I thought there was a /swap as well but I don't see it when I run df.
How do you know when a politician is lying? His mouth is moving.
  • eggi
  • Novice
  • Novice
  • No Avatar
  • Joined: Oct 13, 2007
  • Posts: 30
  • Status: Offline

Post March 30th, 2008, 9:43 pm

Hey There,

Do you know if you're using LVM to manage your disks, or just straight-up fdisk with no volume management. If it's the latter, you won't be able to resize root without wiping it and repartitioning.

Another option would be to install the LVM package and import the root partition into a volume group and then extend that (but it would require an extra disk so that you could concatenate the space).

If you only have / and /swap, symlinking won't help too much either. If you let me know what your options are (maybe the output from df -hl and /etc/fstab) and if you can add disk, I could be more specific in my answer.

Best wishes,

, Mike
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 1st, 2008, 10:06 am

in fedora 8, you can install gparted which is the gtk IDE for parted, which is the linux version of partition magic. just do a yum install gparted and you'll be good. run it as root and from what i remember its pretty similar to how you'd use partition magic.
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • gamekiller
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 28, 2006
  • Posts: 101
  • Loc: above the chair
  • Status: Offline

Post April 2nd, 2008, 2:14 am

hi..

eggi,
i'm not in linux right now,
so, basically what information that i can provide is,
-i'm not using LVM..
-if i want to install root in LVM, i think there will be a problem, because, my root right now is about 68MB left..

perhaps if was not busy, i'll post the screenshot of my /etc/fstab or other output


AnarchY SI,
i already done the gparted installation.. can gparted resize my root without touch or effect any file? have you done that before this?
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 2nd, 2008, 9:50 am

yes, i've used gparted to resize windows and linux partitions.
youll want to defrag all of your windows partitions that you're going to modify before resizing them with gparted if you can, otherwise it'll probably take a bit longer as gparted will have to defrag them and then do the resize.
it's always a good idea to back up data you dont want to lose before modifying partitions jUst in case. nothings perfect >.<
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • eggi
  • Novice
  • Novice
  • No Avatar
  • Joined: Oct 13, 2007
  • Posts: 30
  • Status: Offline

Post April 2nd, 2008, 10:45 am

Hey There,

If gparted does the resizing you need and you don't need to use LVM for any other reason, there's no sense in installing it. I'm always for going with whatever can do the job the most simply :)

Best wishes,

Mike
  • gamekiller
  • Graduate
  • Graduate
  • No Avatar
  • Joined: May 28, 2006
  • Posts: 101
  • Loc: above the chair
  • Status: Offline

Post April 2nd, 2008, 6:08 pm

alright, i give it a try first.. thanks guys!
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 2nd, 2008, 6:35 pm

no prob.

post back if you need any more help
Image
"In a world without walls and fences, who needs Windows and Gates?"
  • geekdw
  • Beginner
  • Beginner
  • User avatar
  • Joined: Dec 12, 2007
  • Posts: 39
  • Status: Offline

Post April 4th, 2008, 3:16 pm

Yeah, gparted is what you want. I don't have too much experience using it, but as far as I know that's what you want.

http://gparted.sourceforge.net/

I believe it's a boot cd but also runs inside the OS...?
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post April 4th, 2008, 3:24 pm

geekdw wrote:
I believe it's a boot cd but also runs inside the OS...?

correct.
they have the iso you can download & boot to or they have it in the repositories so you can install it
Image
"In a world without walls and fences, who needs Windows and Gates?"

Post Information

  • Total Posts in this topic: 13 posts
  • Users browsing this forum: No registered users and 67 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.