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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-01-2009, 03:44 PM
|
#1
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Rep:
|
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?
|
|
|
12-01-2009, 03:52 PM
|
#2
|
LQ Guru
Registered: Dec 2007
Distribution: Centos
Posts: 5,286
|
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).
|
|
|
12-01-2009, 03:57 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Location: Canada
Distribution: Ubuntu Desktop / Ubuntu server / CentOS
Posts: 4
Rep:
|
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
|
|
|
12-01-2009, 04:38 PM
|
#4
|
LQ Newbie
Registered: Aug 2008
Distribution: Fedora
Posts: 1
Rep:
|
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.
|
|
|
12-01-2009, 05:01 PM
|
#5
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,152
|
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.
|
|
|
12-01-2009, 09:25 PM
|
#6
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by johnsfine
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.
|
|
|
12-01-2009, 09:28 PM
|
#7
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by Rayskovsky
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.
|
|
|
All times are GMT -5. The time now is 10:52 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|