LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-29-2006, 08:15 AM   #1
biophysics
Member
 
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444

Rep: Reputation: 30
re-Partition disk without deletion


Hi Gurus,
My 80 GB (laptop) hard disk is setup like this.

0_____10______20_____30______40______50______60______70_____80

<-----------------><---><-----><---------------------------->
| | | |
25GB 500MB 1GB 54GB
WinXP ext2 swap reiserfs
ntfs /boot /



I want to shrink my WinXP to 10GB and use the free space 15GB (25 -10) to increase ' / ' linux reiser partition.

Is it possible to resize and move the partitions?
 
Old 03-29-2006, 09:57 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,018

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
It's certainly possible to do with commercial tools like Acronis Disk Director which has excellent linux support for ext2,3 and reiserfs:

http://www.acronis.com/homecomputing.../diskdirector/

It's a windows program but you can make a bootable cd that can run the program once you install it in windows. In fact, the bootable cd is really a mini bootable linux cd. This is the best commercail partitioning tool I've found with very good linux support. I don't recommend Partition Magic which has bad linux support IMHO.

I don't know if I'd try to do that with free tools like cfdisk or sfdisk. The live cd, PCLOS, has a nice graphical partitioning suite adopted from mandrake/mandriva's "Control Center"(harddrake):

http://www.pclinuxos.com/page.php?6

This is the best free partitioning tool I've seen and can resize ntfs. What you need to do is shrink that first partition down and put the unallocated space on the back end of the partition. Then increase the adjacent partition with that unallocated space and decrease it and put the unallocated space on it's back end and so on until you get that unallocated space to your end partition. I would do each of these operations separately backing up data before each operation.
 
Old 03-29-2006, 10:26 AM   #3
frtu
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Hi Bio physics,

First of all, i am not a guru; i use partition magic to solve problems like these. However even PM has its limits.

To answer your question it would be helpfull to know what data you can afford to lose, what bootmgr you use, which partitions are at present bootable, would you consider a reinstall of linux, are these all primairy partitions, are you sure there is not one of those hidden partitions with windows recovery software present etc...

From your posting i guess that the XP and ext2 partitions are both primairies and swap and the big one are in an extended partition.

Repartitioning is risky without proper tools and experience. After several failures I ended up with the following scheme on my (3) multiboot systems:
primary 1: XP 10 Gbyte
primary 2: Linux (excluding /home) 4 Gbyte
extended partition with
extended1: swap (1,5 times ram size)
extended2: ntfs (XP data disk with "my documents" etc)
extended3: /home

Benefits of a separate /home partition become obvious when you have to reinstall linux, no worries about loosing data

rgds
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 07:30 AM
deletion of a partition newusermike Linux - Newbie 1 09-29-2005 08:06 PM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
partition deletion lead to space loss.help please manas_shukla Linux - Hardware 4 01-24-2005 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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