How to change partition number & block size

How to change partition number & block size

Post by spag » Sat, 28 Jun 2003 03:55:40



Hallo,
I need some help. I'm looking for some utility that will change general partition number assigns,
and block size on nonempty partition.
Best regards,

spagi

 
 
 

How to change partition number & block size

Post by Loren Co » Sat, 28 Jun 2003 04:10:06



> Hallo,
> I need some help. I'm looking for some utility that will change general partition number assigns,
> and block size on nonempty partition.  > Best regards, > > spagi

Yikes, duck!  the nitwits are attacking....       --Loren

 
 
 

How to change partition number & block size

Post by spag » Sat, 28 Jun 2003 04:22:01


Quote:> Yikes, duck!  the nitwits are attacking....       --Loren

f... you - if you cant help just shut your mouth up.
i know that my english is bad, but this is not the reason to insulting me.
:p
 
 
 

How to change partition number & block size

Post by Kenneth A Kauffma » Sat, 28 Jun 2003 04:41:27



Quote:> > Yikes, duck!  the nitwits are attacking....       --Loren
> f... you - if you cant help just shut your mouth up.
> i know that my english is bad, but this is not the reason to insulting me.
> :p

I believe you will need to rebuild the partitions and not "convert" them.

<ducks>
ken k

 
 
 

How to change partition number & block size

Post by lcoe » Sat, 28 Jun 2003 04:44:32



>> Yikes, duck!  the nitwits are attacking....       --Loren
> f... you - if you cant help just shut your mouth up.
> i know that my english is bad, but this is not the reason to insulting me.
> :p

not the English, the question.  it's from nowhere.  i suppose you don't
want to create the new partition and copy the data, right?  you want
some kind of partition "magic" utility.

well, with the size of disks today, that may be coming soon if not already,
but it would only do what you can do for yourself if you actually wanted
to learn linux.   --Loren

 
 
 

How to change partition number & block size

Post by spag » Sat, 28 Jun 2003 04:56:36


Quote:> not the English, the question.  it's from nowhere.  i suppose you don't

ok, so i will try to tell you more clearly.
1) I want to convert the block size on my partition from 1024 to f.e.
2048, the partition is very big and has also data on it.
2) I want to change root partition number from /dev/hda1 to /dev/hda2,
because fdisk says "Partition table entries are not in disk order"
Bye
 
 
 

How to change partition number & block size

Post by lcoe » Sat, 28 Jun 2003 05:14:22



>> not the English, the question.  it's from nowhere.  i suppose you don't
> ok, so i will try to tell you more clearly.
> 1) I want to convert the block size on my partition from 1024 to f.e.
> 2048, the partition is very big and has also data on it.

i don't know of a utility that will do this, it would be recent, tho.  you
should have received the other posts by now.  you will have to find space
or backup the partition to tape/cdrom, recreate it, then restore.

Quote:> 2) I want to change root partition number from /dev/hda1 to /dev/hda2,
> because fdisk says "Partition table entries are not in disk order" > Bye

i don't recall this message ever showing for me and i have a system that
boots linux from the 2nd partition and the 1st is Dos.  and there is
no way that i know to "change" the partition number, it is based on the
order in the partition table.  this is true for dos and linux.

   --Loren

 
 
 

How to change partition number & block size

Post by spag » Sat, 28 Jun 2003 05:28:54


Quote:> i don't recall this message ever showing for me and i have a system that
> boots linux from the 2nd partition and the 1st is Dos.  and there is
> no way that i know to "change" the partition number, it is based on the
> order in the partition table.  this is true for dos and linux.

this message is showing when first partition is after second partition :-)
you can get that f.e. by switching the partitions with partition magic.
i found stupid way to solve this - first the
partitions become removed and next recreated witch some partition
recovery utility.
after that the order on my hd was good.
i asked you because i wanted to find more "professional" solution.
-- nitwit
 
 
 

How to change partition number & block size

Post by lcoe » Sat, 28 Jun 2003 07:40:17



>> i don't recall this message ever showing for me and i have a system that
>> boots linux from the 2nd partition and the 1st is Dos.  and there is
>> no way that i know to "change" the partition number, it is based on the
>> order in the partition table.  this is true for dos and linux.
> this message is showing when first partition is after second partition :-)
> you can get that f.e. by switching the partitions with partition magic.

                   ^^^^
      what is this ^^^^ ?

Quote:> i found stupid way to solve this - first the
> partitions become removed and next recreated witch some partition
> recovery utility.
> after that the order on my hd was good.

so, what about changing block size?  that's a little more complicated
than shrinking a partition.

Quote:> i asked you because i wanted to find more "professional" solution.
> -- nitwit

Pro, me?.  i dunno.  yes, i have worked in the industry for 35yrs or so,
the last 11 in Unix environments and the last 5 as an IT Specialist, a title
for someone who cannot be classified any other way.  i would never expect
anyone in our shop (hp.rsn) to diddle with a partition table w/some 3rd
party utility.  if they did and managed to*up a live system, it
would likely mean termination (if anyone could prove it ;-).

the only folks who screwed around like that were the Software Engineers
and then only on their home systems.     --Loren

p.s.  for those interested, the _very_ first "free unix" was not Unix
      at all.  it ran on CP/M, was called Zcpr and was written by
      the same folks who wrote the original att Unix.  these folks
      wanted something to run the common utilities of Unix on their
      home system.

 
 
 

How to change partition number & block size

Post by spag » Sat, 28 Jun 2003 19:00:26


Quote:>> you can get that f.e. by switching the partitions with partition magic.
>                    ^^^^
>       what is this ^^^^ ?

"f.e." mean "for example" (sorry :-)
 
 
 

How to change partition number & block size

Post by Kenneth A Kauffma » Sat, 28 Jun 2003 23:42:07




> >> i don't recall this message ever showing for me and i have a system
that
> >> boots linux from the 2nd partition and the 1st is Dos.  and there is
> >> no way that i know to "change" the partition number, it is based on the
> >> order in the partition table.  this is true for dos and linux.

> > this message is showing when first partition is after second partition
:-)
> > you can get that f.e. by switching the partitions with partition magic.
>                    ^^^^
>       what is this ^^^^ ?

> > i found stupid way to solve this - first the
> > partitions become removed and next recreated witch some partition
> > recovery utility.
> > after that the order on my hd was good.

> so, what about changing block size?  that's a little more complicated
> than shrinking a partition.

> > i asked you because i wanted to find more "professional" solution.
> > -- nitwit

> Pro, me?.  i dunno.  yes, i have worked in the industry for 35yrs or so,
> the last 11 in Unix environments and the last 5 as an IT Specialist, a
title
> for someone who cannot be classified any other way.  i would never expect
> anyone in our shop (hp.rsn) to diddle with a partition table w/some 3rd
> party utility.  if they did and managed to*up a live system, it
> would likely mean termination (if anyone could prove it ;-).

> the only folks who screwed around like that were the Software Engineers
> and then only on their home systems.     --Loren

> p.s.  for those interested, the _very_ first "free unix" was not Unix
>       at all.  it ran on CP/M, was called Zcpr and was written by
>       the same folks who wrote the original att Unix.  these folks
>       wanted something to run the common utilities of Unix on their
>       home system.

As I stated before, changing block size has to be done by rebuilding the
storage.  Backup, rebuild the partition and restore.  If its truely
important information, I would not even trust a "magic utility" if it
exists.

ken k

 
 
 

How to change partition number & block size

Post by mjt » Sun, 29 Jun 2003 21:51:35



> I need some help. I'm looking for some utility that will change general
> partition number assigns, and block size on nonempty partition.

.... 'parted' at gnu.org

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

1. Changing block size without partitioning

I donb't think so.  Changing block sizes, like changing partition sizes,
is pretty equivalent to reformatting, anyway.
Partition Magic 5 is supposed to be able to do this magic for ext2
systems, but when I tried it I lost a bunch of files --



:

--
Never trust a man in a suit

cll

2. Stupid USR Sportster

3. How do I find number & size of partitions on my redhat 7.2?

4. printer in linux

5. EXT2: Defualt block-size & super-block pos.

6. parameter list too long

7. how to change block size tar not using SMIT

8. Redhat 6.2 - COMPS/Custom Install problem

9. changing block size in ext2/3 filesystem

10. changing tape block size

11. How To: change 8mm tape block size

12. weird: only half capacity after SCSI block size change

13. DOS partition and block size