LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-20-2002, 04:05 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Resize Partition?


Hello

Does someone know a way to resize partition without backing it up?

Thanks
 
Old 08-20-2002, 05:50 PM   #2
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Rep: Reputation: 15
in linux fdisk.
through this command you will enter in fdisk
"fdisk /dev/hd?"
then type p for printing partitiong table.
and see the number of the cylinders of the partition which one you want to chnage.
then delete the partition you want to resize. enter its number when prompts. after that made a partition in your required cylinders. enter the first cylinder name and last cylinder name when it propmts for them.
then "t" for changing the partition id because by default it will make the new partition of linux by default.
then "w" for save the changes .
in case of any corruption "q" for exit without saving changes.
 
Old 08-20-2002, 06:34 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
No, don't use fdisk to resize a partition. When a partition is deleted all its data is lost.
Instead, use GNU PARTED.
 
Old 08-20-2002, 07:06 PM   #4
fool_inteligent
Member
 
Registered: Jun 2002
Posts: 91

Rep: Reputation: 15
no dear if you delete a partition then it doesnt means that you have formatted it . it is just like resizing it . because we are creating a new on same cylinders at the same time.
experience it convert your any fat32 partition in 2 partitions.
and give them the same id "b"=win95fat32.you will loose no data. and it is a linux fdisk with no limits not a microsft fdisk.the same method is used in all the partitioning resizer tools.
 
Old 08-20-2002, 08:04 PM   #5
stewe151
Member
 
Registered: Jan 2002
Posts: 49

Rep: Reputation: 15
Just use webmin. Sooooo much easier.
 
Old 08-20-2002, 11:38 PM   #6
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Quote:
Originally posted by fool_inteligent
no dear if you delete a partition then it doesnt means that you have formatted it . it is just like resizing it . because we are creating a new on same cylinders at the same time.
experience it convert your any fat32 partition in 2 partitions.
and give them the same id "b"=win95fat32.you will loose no data. and it is a linux fdisk with no limits not a Microsoft fdisk.the same method is used in all the partitioning resizer tools.
You won't lose data until the file system on the first partition tries to write to the second partition because it won't know that the 2nd partition doesn't belong to it any more! Also any data that happened to be on the second partition will be lost as soon as you try to do anything with the 2nd partition. Who knows what "scandisk" would do with this situation! I'm sure something very bad!

Resizer programs first defragment the drive to make sure all data is in the boundaries of the first partition, it then modifies the FAT so that sectors in the second partition will no longer be referenced. Then it will proceed to split the partition like the manor above.

Gparted has always worked well for me, the documentation was a little intimidating. So has that little Turbo Pascal program that somebody wrote to run under DOS that used to be included with Linux distributions (I forgot the name of it). Partition Magic also does it, but I've never used it.
 
Old 08-22-2002, 11:46 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by fool_inteligent
no dear if you delete a partition then it doesnt means that you have formatted it . it is just like resizing it . because we are creating a new on same cylinders at the same time.
experience it convert your any fat32 partition in 2 partitions.
and give them the same id "b"=win95fat32.you will loose no data. and it is a linux fdisk with no limits not a microsft fdisk.the same method is used in all the partitioning resizer tools.
It's very dangerous method. You may do this, but you risk much (the whole data).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
is it possible to resize partition? Itachi Linux - General 3 09-13-2005 11:00 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
Partition Out Of Space? How to resize from another partition? colelinux Linux - Newbie 6 03-16-2004 08:48 AM
resize an ext3 partition with coexisting ntfs partition andy_g Linux - Newbie 1 02-03-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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