LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-10-2006, 04:55 AM   #1
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Rep: Reputation: 15
Partitioning: What's safe and what's not?


Hi,

I don't want to takes risks, so I thought I'd ask first.
Is it safe to change the size of a linux ext3 partition?
I have following setup:

/dev/hda
WindowsXP ntfs: 8G
Linux ext3 30 GB
Swap 700 MB.

I would like to increase my swap file, and decrease the size of my ext3 partition for that. Is that even possible?
How do I check my file system? I got messages to do that before messing with the partitions.

-sunpascal
 
Old 02-10-2006, 05:02 AM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
Anything is possible. However- BACKUP. BACKUP. BACKUP!!!!!

try resizing it- you never learn anything unless you step out and try it.

if everything is BACKED UP then try resizing it- if it's not full then you will basically just decrease the empty space. Linux ext3 doesn't fragment, so you don't need to defrag like you do with windows.

Again, I hope you remember that before you mess with stuff to BACK UP.

titanium_geek

PS: BACKUP!!!
 
Old 02-10-2006, 05:13 AM   #3
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
ALright, so there is no rules of thumb to what can and cannot done.
And ok, I will backup my stuff.
 
Old 02-10-2006, 06:04 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,843

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
The resizing is (supposedly) supported - I've never gotten it to work satisfactorally. I always just backup (twice), delete the partitions, and re-allocte as desired, and restore.
You might find a Knoppix CD handy for all this.

Have a look at "man fsck" - and search here as well for both fsck and resizing.
 
  


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
Is It safe,..... udazzleme Linux - General 3 01-23-2006 11:46 PM
Is it safe ? Alex_jacobson Solaris / OpenSolaris 2 03-02-2005 02:24 PM
"safe" Partitioning with Linux jimieee Linux - Newbie 2 09-01-2003 04:46 PM
"safe" Partitioning with Linux jimieee Linux - Newbie 2 09-01-2003 03:32 PM
is it safe... violaten Linux - Hardware 1 08-03-2003 03:56 AM


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