LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-30-2005, 04:14 AM   #1
rextor
Member
 
Registered: Jul 2005
Location: india
Posts: 47

Rep: Reputation: 15
partition resizing using parted...bad memories of fdisk


my partition structure is such......this is a parted o/p
Disk geometry for /dev/hda: 0.000-38204.578 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 5122.287 primary fat32 boot
2 5122.288 38193.596 extended lba
5 5122.318 15359.018 logical fat32
6 15359.049 25595.749 logical fat32
10 25595.780 25697.724 logical ext3
11 25697.755 25956.584 logical linux-swap
12 25956.615 34812.729 logical ext3
7 34812.760 35071.589 logical ext3
8 35071.620 35330.449 logical linux-swap
9 35330.480 38193.596 logical ext3

hda7,8,9 have rh9. hda 10,11,12 have rhel4 WS. i learnt after installing the second linux os that i can have share a single swap between two linux distros. now i want to install linux from scratch in rh9 partitions. i plan to resize hda7 to 100MB and the rest to root partition. and i plan to do it using parted.
but i am in 2 minds...last time i formatted my 10GB linux partition to fat using fdisk i had to format my whole harddisk because i had not used dd command.
now is it safe to use parted without affecting the rest of the harddisk?
 
Old 07-30-2005, 11:34 AM   #2
kornerr
Member
 
Registered: Dec 2004
Location: Russia, Siberia, Kemerovo
Distribution: Slackware
Posts: 893

Rep: Reputation: 35
"fdisk" always works fine for me.
I'd suggest using GParted instead of Parted, since it's a bit wisier. Although GParted requires Parted libs...
BTW, Parted can't resize Ext3 (only in rare cases).

But actually you can do with only "fdisk" and "mkfs.ext3" (if you want to create Ext3).
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What app can REALLY delete a partition? (not fdisk, parted, etc...) kornerr Linux - General 4 05-28-2005 01:14 PM
new /opt partition from / without resizing with parted everal Linux - Hardware 1 12-16-2004 02:50 AM
Resizing a linux partition using parted Ofvitinn Linux - General 5 10-04-2004 11:22 PM
Resizing Partition on RH9 using Parted Sticks Linux - Newbie 0 07-26-2003 01:29 AM
Resizing EXT3 partition using parted??? Hegemon Linux - General 1 01-21-2003 01:59 AM


All times are GMT -5. The time now is 06:38 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration