<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sfdisk and RedHat 4.0 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788387#M23394</link>
    <description>The disks appear to be the same sizes, but the error message:&lt;BR /&gt;"Warning: extended partition does not start at a cylinder boundary.&lt;BR /&gt;DOS and Linux will interpret the contents differently.&lt;BR /&gt;Warning: The partition table looks like it was made&lt;BR /&gt;  for C/H/S=*/255/63 (instead of 17433/255/32).&lt;BR /&gt;For this listing I'll assume that geometry."&lt;BR /&gt;&lt;BR /&gt;is that's throwing me and not allowing me to run sfdisk -d /dev/cciss/c0d0 | sfdisk /dev/cciss/c0d1.&lt;BR /&gt;&lt;BR /&gt;Here is the fdisk/sfdisk output:&lt;BR /&gt;Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 8854 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1   *           1         653     5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2             654        1306     5245222+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3            1307        1828     4192965   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4            1829        8854    56436345    5  Extended&lt;BR /&gt;/dev/cciss/c0d0p5            1829        3133    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6            3134        4438    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7            4439        5743    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8            5744        6396     5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9            6397        8017    13020651   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p10           8018        8854     6723171   83  Linux&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d1: 72.8 GB, 72833679360 bytes&lt;BR /&gt;255 heads, 32 sectors/track, 17433 cylinders&lt;BR /&gt;Units = cylinders of 8160 * 512 = 4177920 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d0: 17433 cylinders, 255 heads, 32 sectors/track&lt;BR /&gt;Warning: extended partition does not start at a cylinder boundary.&lt;BR /&gt;DOS and Linux will interpret the contents differently.&lt;BR /&gt;Warning: The partition table looks like it was made&lt;BR /&gt;  for C/H/S=*/255/63 (instead of 17433/255/32).&lt;BR /&gt;For this listing I'll assume that geometry.&lt;BR /&gt;Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0&lt;BR /&gt;&lt;BR /&gt;   Device Boot Start     End   #cyls    #blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1   *      0+    652     653-   5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2        653    1305     653    5245222+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3       1306    1827     522    4192965   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4       1828    8853    7026   56436345    5  Extended&lt;BR /&gt;/dev/cciss/c0d0p5       1828+   3132    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6       3133+   4437    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7       4438+   5742    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8       5743+   6395     653-   5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9       6396+   8016    1621-  13020651   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p10      8017+   8853     837-   6723171   83  Linux&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d1: 17433 cylinders, 255 heads, 32 sectors/track&lt;BR /&gt;Units = cylinders of 4177920 bytes, blocks of 1024 bytes, counting from 0&lt;BR /&gt;&lt;BR /&gt;   Device Boot Start     End   #cyls    #blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d1p1          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p2          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p3          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p4          0       -       0          0    0  Empty&lt;BR /&gt;</description>
    <pubDate>Mon, 15 May 2006 13:45:38 GMT</pubDate>
    <dc:creator>TJ Toedebusch</dc:creator>
    <dc:date>2006-05-15T13:45:38Z</dc:date>
    <item>
      <title>sfdisk and RedHat 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788385#M23392</link>
      <description>I have noticed something different on RH 4.0 compared to RH 3.0 and am hoping you all have som e ideas.&lt;BR /&gt;&lt;BR /&gt;We make a back-up bootable copy of our root disk using sfdisk and dd.  It works pretty good and allows us to boot to our alternate root disk at will.&lt;BR /&gt;&lt;BR /&gt;In order to get the partition table from root to back-up disk, we use sfdisk -d /dev/cciss/c0d0 | sfdisk /dev/cciss/c0d1 (or /dev/sda, /dev/sdb depending on hardware).  This worked great on RH2.1, RH3.0, but fails on RH4.0.  Here is the error:&lt;BR /&gt;&lt;BR /&gt;# sfdisk -d /dev/cciss/c0d0 | sfdisk /dev/cciss/c0d1&lt;BR /&gt;Checking that no-one is using this disk right now ...&lt;BR /&gt;OK&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d1: 17433 cylinders, 255 heads, 32 sectors/track&lt;BR /&gt;Old situation:&lt;BR /&gt;Units = cylinders of 4177920 bytes, blocks of 1024 bytes, counting from 0&lt;BR /&gt;&lt;BR /&gt;   Device Boot Start     End   #cyls    #blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d1p1          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p2          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p3          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p4          0       -       0          0    0  Empty&lt;BR /&gt;&lt;BR /&gt;sfdisk: unrecognized input: extended partition does not start at a cylinder boundary.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I check all our 4.0 servers and they all do this.&lt;BR /&gt;&lt;BR /&gt;Any ideas? I have tried -f, -L to no avail.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 May 2006 12:49:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788385#M23392</guid>
      <dc:creator>TJ Toedebusch</dc:creator>
      <dc:date>2006-05-15T12:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: sfdisk and RedHat 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788386#M23393</link>
      <description>Shalom&lt;BR /&gt;&lt;BR /&gt;Please try sfdisk -l&lt;BR /&gt;&lt;BR /&gt;or fdisk -l&lt;BR /&gt;&lt;BR /&gt;The two drives are identical? That makes life a lot easier.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 15 May 2006 13:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788386#M23393</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-05-15T13:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: sfdisk and RedHat 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788387#M23394</link>
      <description>The disks appear to be the same sizes, but the error message:&lt;BR /&gt;"Warning: extended partition does not start at a cylinder boundary.&lt;BR /&gt;DOS and Linux will interpret the contents differently.&lt;BR /&gt;Warning: The partition table looks like it was made&lt;BR /&gt;  for C/H/S=*/255/63 (instead of 17433/255/32).&lt;BR /&gt;For this listing I'll assume that geometry."&lt;BR /&gt;&lt;BR /&gt;is that's throwing me and not allowing me to run sfdisk -d /dev/cciss/c0d0 | sfdisk /dev/cciss/c0d1.&lt;BR /&gt;&lt;BR /&gt;Here is the fdisk/sfdisk output:&lt;BR /&gt;Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 8854 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1   *           1         653     5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2             654        1306     5245222+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3            1307        1828     4192965   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4            1829        8854    56436345    5  Extended&lt;BR /&gt;/dev/cciss/c0d0p5            1829        3133    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6            3134        4438    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7            4439        5743    10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8            5744        6396     5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9            6397        8017    13020651   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p10           8018        8854     6723171   83  Linux&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d1: 72.8 GB, 72833679360 bytes&lt;BR /&gt;255 heads, 32 sectors/track, 17433 cylinders&lt;BR /&gt;Units = cylinders of 8160 * 512 = 4177920 bytes&lt;BR /&gt;&lt;BR /&gt;           Device Boot      Start         End      Blocks   Id  System&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d0: 17433 cylinders, 255 heads, 32 sectors/track&lt;BR /&gt;Warning: extended partition does not start at a cylinder boundary.&lt;BR /&gt;DOS and Linux will interpret the contents differently.&lt;BR /&gt;Warning: The partition table looks like it was made&lt;BR /&gt;  for C/H/S=*/255/63 (instead of 17433/255/32).&lt;BR /&gt;For this listing I'll assume that geometry.&lt;BR /&gt;Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0&lt;BR /&gt;&lt;BR /&gt;   Device Boot Start     End   #cyls    #blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d0p1   *      0+    652     653-   5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p2        653    1305     653    5245222+  83  Linux&lt;BR /&gt;/dev/cciss/c0d0p3       1306    1827     522    4192965   82  Linux swap&lt;BR /&gt;/dev/cciss/c0d0p4       1828    8853    7026   56436345    5  Extended&lt;BR /&gt;/dev/cciss/c0d0p5       1828+   3132    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p6       3133+   4437    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p7       4438+   5742    1305-  10482381   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p8       5743+   6395     653-   5245191   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p9       6396+   8016    1621-  13020651   83  Linux&lt;BR /&gt;/dev/cciss/c0d0p10      8017+   8853     837-   6723171   83  Linux&lt;BR /&gt;&lt;BR /&gt;##########################################################################################&lt;BR /&gt;&lt;BR /&gt;Disk /dev/cciss/c0d1: 17433 cylinders, 255 heads, 32 sectors/track&lt;BR /&gt;Units = cylinders of 4177920 bytes, blocks of 1024 bytes, counting from 0&lt;BR /&gt;&lt;BR /&gt;   Device Boot Start     End   #cyls    #blocks   Id  System&lt;BR /&gt;/dev/cciss/c0d1p1          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p2          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p3          0       -       0          0    0  Empty&lt;BR /&gt;/dev/cciss/c0d1p4          0       -       0          0    0  Empty&lt;BR /&gt;</description>
      <pubDate>Mon, 15 May 2006 13:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788387#M23394</guid>
      <dc:creator>TJ Toedebusch</dc:creator>
      <dc:date>2006-05-15T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: sfdisk and RedHat 4.0</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788388#M23395</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;Zero your current mbr:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/zero of=/dev/cciss/c0d1 bs=512 count=1&lt;BR /&gt;&lt;BR /&gt;Then run fdisk to the /dev/cciss/c0d1 disk. Then just enter "w", this will correct any problems in the partition table.&lt;BR /&gt;&lt;BR /&gt;Now run sfdisk.</description>
      <pubDate>Tue, 16 May 2006 07:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sfdisk-and-redhat-4-0/m-p/3788388#M23395</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-05-16T07:58:31Z</dc:date>
    </item>
  </channel>
</rss>

