WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Guest O/S Questions

Hi Anthony,

Anthony Liguori wrote:
> Marcus Brown wrote:
> 
>> Hi all,
>>
>> This looks quite interesting, however I'm confused about the partition
>> table issue. AFAIK the bootloader takes the first 446 bytes of the first
>> sector on the partition, and the partition table is the last 64 bytes of
>> this same sector (a sector being 512 bytes).
>>
>> Your dd command skips the first 63 sectors of the image.
>> How does this produce a workable disk image?
>>  
>>
> You're right.  fdisk (and AFAIK, modern partitioning tools) prefer to
> start partitions on the first cylinder boundary.  The assumption here is
> that each cylinder contains 63 sectors.

OK, but why skip this cylinder?
If you are creating an image with multiple partitions won't you need to
keep the partition table intact?

Marcus.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>