LinuxQuestions.org
Visit Jeremy's Blog.
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 12-01-2009, 03:44 PM   #1
bmr
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
How to partition 750g drive into multiple partitions that currently has only linux.


I have a maxtor 750g external drive that only has linux on it. I would like to partition the drive so that I can have linux using 250g and have the remaining 500g for other uses, such as storing pictures. Ideally I would like to be able to see the drive when I plug the usb into my computer. Currently I have a dual boot for linux and windows xp. Currently the majority of the space 650g is allocated to root dir of which I am using 2%.
How can I partition the drive to get the desired result? Can this be done without disturbing what I currently have?
 
Old 12-01-2009, 03:52 PM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
It can be done, but a good description of what you should do will require a better description of what you already have.

Dual boot? Does that mean Windows on an internal drive and Linux on the external and use the BIOS to select which drive to boot? Or is it some other system with Grub or the Windows boot loader or similar boot level software deciding whether to chain load the other OS?

Do you have a bootable Linux liveCD? You probably need one.

In typical cases, you would boot the liveCD and use the partitioning program in that to shrink the partition on the external drive. You might then need to use grub on the liveCD to re setup the external drive to be bootable (probably you won't need that, but maybe you will).

Then tools inside Windows can be used to create an NTFS partition on the unpartitioned space left by shrinking the Linux partition. The details depend on which version of Windows you have.

Then you can edit the /etc/fstab file in Linux, so the contents of that ntfs partition can also be read and written from within Linux (so you can view/edit your pictures from either OS).
 
Old 12-01-2009, 03:57 PM   #3
Rayskovsky
LQ Newbie
 
Registered: Jan 2009
Location: Canada
Distribution: Ubuntu Desktop / Ubuntu server / CentOS
Posts: 4

Rep: Reputation: 0
Hi,

You can use a professional$$ tool call Partition Magic that can do dynamic partitionning (i.e. without deleting data). Since you want to change the size of you root partition, you will need to be on another system since linux won't let you change is own partition.

There are a few opensource software like QTparted, GParted and Palimpsest but I never used those.

Good luck
Ray
 
Old 12-01-2009, 04:38 PM   #4
ben.cooney
LQ Newbie
 
Registered: Aug 2008
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
cfdisk is another useful application for managing partitions on your disks. cfdisk is free and comes included with most linux flavours.. It is command line so may look scary to some but is actually fairly easy and strait forward to use once you get into it.

I'm pretty sure it'll delete any data on the partitions being modified however

Good luck
-Ben.
 
Old 12-01-2009, 05:01 PM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Take a look at gparted

It'll probably be easily installed by your distro's software manager.

But, as you haven't told us which linux distro you are using, I cannot help you further.

As always, make a backup of your important data before you start "playing".

Welcome to LQ.
 
Old 12-01-2009, 09:25 PM   #6
bmr
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnsfine View Post
It can be done, but a good description of what you should do will require a better description of what you already have.

Dual boot? Does that mean Windows on an internal drive and Linux on the external and use the BIOS to select which drive to boot? Or is it some other system with Grub or the Windows boot loader or similar boot level software deciding whether to chain load the other OS?

Do you have a bootable Linux liveCD? You probably need one.

In typical cases, you would boot the liveCD and use the partitioning program in that to shrink the partition on the external drive. You might then need to use grub on the liveCD to re setup the external drive to be bootable (probably you won't need that, but maybe you will).

Then tools inside Windows can be used to create an NTFS partition on the unpartitioned space left by shrinking the Linux partition. The details depend on which version of Windows you have.

Then you can edit the /etc/fstab file in Linux, so the contents of that ntfs partition can also be read and written from within Linux (so you can view/edit your pictures from either OS).


Thanks for the response. Currently I have a desktop with an internal drive that has the windows xp OS. When I want to log on to linux, I connect the external hard drive via usb to my desktop, reboot my computer and select the 750g external drive which has linux on it from the bios. I do think I still have a bootable linux cd. I will locate it and try your suggestion. Thanks again.
 
Old 12-01-2009, 09:28 PM   #7
bmr
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Rayskovsky View Post
Hi,

You can use a professional$$ tool call Partition Magic that can do dynamic partitionning (i.e. without deleting data). Since you want to change the size of you root partition, you will need to be on another system since linux won't let you change is own partition.

There are a few opensource software like QTparted, GParted and Palimpsest but I never used those.

Good luck
Ray
Thanks Ray.
 
  


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
Those of you with multiple Linux distros across multiple partitions ... SlowCoder General 14 05-15-2009 03:24 PM
Mounting USB external drive with multiple partitions, USB bluetooth mouse xmeson Slackware 7 12-17-2006 09:00 AM
Flash drive with 2 partitions...how do I mount the other partition? Carl P DamnSmallLinux 4 04-06-2005 10:20 PM
Exteral USB hard drive with multiple partitions moxx Linux - Hardware 5 05-02-2004 02:50 PM
Multiple linux partitions SirLaughAlot Linux - Newbie 1 11-02-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:52 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
Open Source Consulting | Domain Registration