LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03: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, 04:02 AM   #2
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

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, 04: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, 05:04 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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



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

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

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