LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-16-2005, 11:52 AM   #1
John_Emad
Member
 
Registered: Dec 2004
Posts: 196

Rep: Reputation: 30
Problem Resizing Linux Partition From Partition magic


I have installed linux Suse9.1 on my laptop and I gave it 25 GB but actually I need to resize it and make it a bit smaller and give mroe space for the windows drive as I need to install some large applications on my windows drive

I opened partition magic 8.0 from windows and i right clicked on the linux partition but for surprise I found the resize button non-activated !!!

So anyone has an idea why this happens ???

Thanx in advance
 
Old 02-16-2005, 12:01 PM   #2
id09542
LQ Newbie
 
Registered: Nov 2002
Location: Bloomington, Il
Distribution: SuSE 9.2
Posts: 22

Rep: Reputation: 15
The last time I used PM, it did not support resizing Linux partitions, only Windows.
 
Old 02-16-2005, 12:04 PM   #3
John_Emad
Member
 
Registered: Dec 2004
Posts: 196

Original Poster
Rep: Reputation: 30
then how can i resize my linux partition ??

I logged to linux ->Yast -> System -> Partitioner

but when I try to resize the linux parition it tells me that the drive is mounted so can't be resized

so how am I supposed to unmount the linux parition while I am working on linux ?????

sorry for my many questions but it is really driving me crazy !!

by the way, my linux partition is Ext2

I heard that it is impossible to resize it, is that true ??

Last edited by John_Emad; 02-16-2005 at 12:14 PM.
 
Old 02-16-2005, 12:14 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
The trick is to boot from a Live or Rescue CD (e.g. KNOPPIX). This offers all necessary tools for resizing operations. But be aware that this is always risky! Backup your data!

On command line, the tools are resize_reiserfs (for reiserfs, which is the SUSE default) and cfdisk. Read 'man resize_reiserfs' first, then you won't have problems.

EDIT: Sorry, didn't read you are using ext2. Just looking for the correct tool for this one

EDIT2: Ahh, it is called resize2fs. Should work the same way.

Last edited by abisko00; 02-16-2005 at 12:17 PM.
 
Old 02-16-2005, 12:22 PM   #5
John_Emad
Member
 
Registered: Dec 2004
Posts: 196

Original Poster
Rep: Reputation: 30
abisko00,

I guess I didnt get your post very well

1- I have installed Suse9.1 from 5 CD's i got from a friend (2 for installation and 3 for programs I guess), so am I supposed to find the tools you mentioned on those CD's ?

2- knowing that i have ext2, what would be the command I should use for resizing ?

3- is the partitioning dangerous on both data on Windows and Linux or only data on Linux ?

4- will the reisze tool give me the possibility to increase the windows partition after resizing the linux paritition ??

sorry for so many questions
 
Old 02-16-2005, 12:42 PM   #6
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
to 1.: although KNOPPIX is far more comfortable to use, the rescue system on your SuSE boot CD should do the job also

to 2.: sorry again, obviously my corrections came too late. The tool is resize2fs.

to 3.: Since the partitioner has access to all available partitions, your Windows partitions may be in danger also. Be thoughtful and always sure what you are doing to minimize the risk.

to 4.: I think qparted (available on KNOPPIX) is able to do that, maybe parted (on the SUSE CD) too, but I would recommend to use partition magic for this purpose (since you have this and know it).
 
  


Reply



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
Using partition magic to create Linux partition then install EviLBoX Linux - General 5 09-12-2008 05:01 AM
resizing linux partitions with partition magic ?? funkymunky Linux - General 6 08-22-2007 03:16 AM
Deleted linux partition (using partition magic) Geminias General 7 10-09-2005 04:14 PM
Repartitioning / Resizing partitions: partition magic in linux: possible? hamish Linux - Newbie 6 06-07-2004 04:00 PM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:24 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