How to change partition number & block size

Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.

  1. #1

    Default How to change partition number & block size

    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
    spagi Guest

  2. Similar Questions and Discussions

    1. Increasing partition size
      Hi, I have a Windows Server 2003 server. I was wondering, if I add hard drive space to the server, can I increase the size of the C: drive...
    2. Maximum Partition Size
      Does any one know what the maximum partition size is for Server 2003 (Standard and Enterprise) Back round: I am setting up a server to be used...
    3. partition size in windows 2000 server
      hi, i have a w2k server ugraded from an NT4.0. I have partition my hard disk into two partitions C:\ and D:\. My c:\ is only 2.0 GB and the D:\ is...
    4. How to change fs partition?
      Hi there all. To start, I am new on unix. Doing an installation on a SunFire V120 with Solaris 8. I have a partition of 14 GB. This has been...
    5. how to know the size of a raw disk partition ?
      "Michael Korte" <michael.korte@materna.de> wrote in message news:bgqeh0$38v$1@pentheus.materna.de... df only tells about mounted file systems. ...
  3. #2

    Default Re: How to change partition number & block size

    In article <pan.2003.06.26.18.55.30.457738@priv5.onet.pl>, spagi wrote:
    > 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

    Loren Coe Guest

  4. #3

    Default Re: How to change partition number & block size

    > 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
    spagi Guest

  5. #4

    Default Re: How to change partition number & block size


    "spagi" <marcingl@priv5.onet.pl> wrote in message
    news:pan.2003.06.26.19.21.52.978954@priv5.onet.pl. ..
    > > 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


    Kenneth A Kauffman Guest

  6. #5

    Default Re: How to change partition number & block size

    spagi <marcingl@priv5.onet.pl> wrote:
    >> 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

    lcoe Guest

  7. #6

    Default Re: How to change partition number & block size

    > 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
    spagi Guest

  8. #7

    Default Re: How to change partition number & block size

    > 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
    spagi Guest

  9. #8

    Default Re: How to change partition number & block size


    "lcoe" <lcoe@c1932201-a.attbi.com> wrote in message
    news:lDKKa.25865$Fy6.9059@sccrnsc03...
    > spagi <marcingl@priv5.onet.pl> wrote:
    > >> 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 screw 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


    Kenneth A Kauffman Guest

  10. #9

    Default Re: How to change partition number & block size

    spagi wrote:
    > 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

    mjt Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139