LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-13-2005, 08:27 AM   #1
gry-HuhuY5
LQ Newbie
 
Registered: Aug 2005
Posts: 12

Rep: Reputation: 0
how to resize linux partition


Hi,
I installed linux on my system last week, and made a dual boot system with WinXP. I give each OS partition 80GB space, but right now I decided linux is too hard for me. I've got so many problems such as installing programs (those compiling stuff is so terrible). So I want to squeeze up my linux partition to be smaller. Currently my partition table is (when viewed thru partition magic in windows)

NTFS 80GB
linux ext3 102mb
type8E 71GB

How do I resize my linux partition?I can't resize it thru partition magic and I don't wanna try erasing my linux partition, cos I know it will erase the boot loader as well so I can't boot into my windows system. Can someone please give a clear step by step instruction, cos I'm really a noob in linux

gry-huhuy5
running Fedora Core 4 on pentium 4 desktop
 
Old 08-13-2005, 09:22 AM   #2
knick
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
Go online. Download BootITNG. Load it onto a floppy disk. Reboot. Don't install as at this point it is a demo (unless you decided to pay for it). It will take you to a gui. Choose "Partition Work". Voila! You can change your partitions. --It will give you the usual warnings.
 
Old 08-13-2005, 12:13 PM   #3
harken
Member
 
Registered: Jan 2005
Location: Between the chair and the desk
Distribution: Debian Sarge, kernel 2.6.13
Posts: 666

Rep: Reputation: 30
You could backup the Linux installation if it's not taking too much space (archive, dd, copy, which suits you best), resize the partitions then copy it back.
As for the bootloader, actually you would only need to boot with a Win98 floppy and run 'fdisk /mbr' to restore the MBR as it was before installing Linux.
 
Old 08-13-2005, 04:24 PM   #4
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
learn about grub. it's a very versatile bootloader. look it up in google. Ok, it'll take you an hour or two to learn it, but that's not too bad. It will boot windows for you as long as windows is on first partition. Carla Schroder has a good and quick tutorial out there, look her, and grub, up in google.

If you do, you will take control of your bootloading process. That's one worry out of the way.
 
Old 08-13-2005, 05:16 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
As for the resizing part, you can look up how to use the "resize2fs" command to resize ext2/ext3 partitions, or use a more general partition program like "parted".
 
Old 08-13-2005, 06:54 PM   #6
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Everyone is missing something very important: It’s an LVM (type 8e). Welcome to Fedora with autopartitioning.

One day, resizing an LVM should be easy to do, but for now, the lvm command pvresize is not implemented.

Someone else needed to do something like this and I gave them a detailed method to do it in this thread http://www.linuxquestions.org/questi...hreadid=352466
 
Old 08-13-2005, 07:07 PM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
gry-HuhuY5: You can revert to windows booting by booting with the xp installation CD, selecting “repair” (as opposed to “install”) as the option and running fixmbr from the recovery console (a.k.a. dos command line for xp). Reboot and windows will permanently take over the booting. You can then delete the FC partitions.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize the linux partition guideweb Linux - Software 5 08-07-2005 09:22 PM
resize linux partition ConfusedMonkey Linux - Newbie 9 07-31-2005 02:22 PM
Resize Linux partition perigee Linux - General 3 11-28-2004 05:48 AM
How to resize a linux partition? jadermf Linux - General 4 01-16-2004 01:02 PM
Non-destructive resize of Linux partition gedi1 Linux - General 6 05-16-2002 10:19 AM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
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