Thus spake Carl J. Benson ([EMAIL PROTECTED]):
"sfdisk -l -uM /dev/hda" yields:

Disk /dev/hda: 1216 cylinders, 255 heads, 63 sectors/track
Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start   End    MiB    #blocks   Id  System
/dev/hda1   *     0+  6149-  6150-   6297448+  83  Linux
/dev/hda2      6149+  7177-  1028-   1052257+  82  Linux swap
/dev/hda3      7177+  9538-  2362-   2417782+  83  Linux
/dev/hda4         0      -      0          0    0  Empty

I noticed a difference in a heading, "MiB" on SuSE9.0,
"MB" on RH9. Also "mebibytes" -- what the heck? Could this
version of sfdisk be corrupt?

prepareclient currently looks for mebibytes. This from Common.pm:


 # If we catch the "Units =" line, and we confirm that the sfdisk
 # output is using
 # megabytes or sectors, then we're good to go. -BEF-
 #
 if ((m|^Units =|) and ((m|^Units = megabytes|) or (m|^Units = mebibytes|))) {

That 4th partition puzzles me; it seems to be an artifact
of the installation program. I used fdisk, removed it, and
rebooted, but it's still there. Wierd.

I believe that sfdisk will report all possible primary partitions, even
if they are allocated no blocks (not that it's all zeros). Not to worry about this.



-- Carl Benson, PHS Linux NetAdmin (206-667-4862, [EMAIL PROTECTED])

Brian Elliott Finley wrote:
What is the output from:

sfdisk -l -uM /dev/hda


Thus spake Carl J. Benson ([EMAIL PROTECTED]):


I'm trying to make an image of a golden client running SuSE9.0.
I downloaded and installed SystemImager from sisuite.org, according
to the instructions. The installation appeared to be successful.

When I run prepareclient, it tells me:

Using "sfdisk" to gather information about /dev/hda...

FATAL: Your sfdisk output does not appear to be in megabytes or
sectors, and I just don't know what to do with it! The disk in
question is: hda

I've used prepareclient successfully on several dozen RedHat 9 and
a Debian system, so this took me by surprise. Running "sfdisk -v" on
both the SuSE9.0 and a sample RH9 system gives the same result,
version 3.07.

I tried "sfdisk -l /dev/hda" on both my SuSE9.0 system and a RH9
system, and the units appear to be the same.

Any ideas, anyone?

--
Carl Benson                  |  [EMAIL PROTECTED]
Linux Network Administrator  |  Telephone: (206) 667-4862
Fred Hutchinson Cancer       |  Fax:       (206) 667-6869
   Research Center           |  Opinions expressed are my own.




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users


--
---------------------------------------------------------
Brian Elliott Finley Argonne, MCS Division Phone: 630.631.6621 http://thefinleys.com
gpg --keyserver wwwkeys.pgp.net --recv-keys 10F8EE52
---------------------------------------------------------



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to