LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-26-2007, 03:35 PM   #1
marvelade
LQ Newbie
 
Registered: Dec 2006
Location: Belgium
Distribution: Mac OS X; Ubuntu 8.04 in a VM
Posts: 29

Rep: Reputation: 16
how to resize my boot partition


Hi All,

I installed gparted to resize my partitions. I have 2 harddisks

hda = 20GB and is NTFS running WinXP
hdb = 40GB ad is partitioned as follows:

partition f.s. mountpt size flags
-----------------------------------------------------
/dev/hdb1 ext3 / 35.73 GiB boot
/dev/hdb2 extended 1.54 GiB
/dev/hdb5 linux-swap 1.54 GiB

What I'd like to do is resize hdb1 to 15GB and format the remaining 20GB into FAT32 to be able to share data between Linux and Windows.

When right-clicking hdb1 I can choose "unmount" but since linux is running (d'uh) i can't unmount it, let alone resize it.

How do I go about this without a reinstall? Will reinstall if I have to but I guess there must be some way of doing it without having to wipe the entire disk.


Best regards and thanks in advance for your advice,
Marvelade
 
Old 04-26-2007, 03:40 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Gparted can also be downloaded as a livecd. Burn it to disk so you can do the partitioning without Ubuntu running.
 
Old 04-26-2007, 04:31 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Just about any "live CD" linux will have GParted or QTParted---either one will do what you want.
Be sure to back up important data first (both drives)

While you are doing this, I would recommend getting rid of the extended partition which is used only for swap. Put swap at the end of the drive, but as a primary. Then, if you need more partitions, you can create an extended partition that fills all the available space.
 
  


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
Swap file & Boot Partition Resize surfer2k3 Linux - Newbie 4 07-17-2008 08:50 PM
Xp won't boot after partition resize Curtux Linux - General 7 04-04-2005 07:43 AM
Used Acronis to resize a partition now the system won't boot high_hopes Linux - Newbie 3 07-12-2004 02:33 PM
resize or move /boot partition breenbaron Linux - General 3 04-07-2004 12:13 PM
resize an ext3 partition with coexisting ntfs partition andy_g Linux - Newbie 1 02-03-2004 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration