[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dvhtool problems



On Tue, Aug 14, 2001 at 09:25:54AM -0700, John D. Davis wrote:
> I had some problems with fdisk when I first tried to parition the disk.
> This is what my partition looks like:
> 
> Disk /dev/sda (SGI disk label): 5 heads, 104 sectors, 4019 cylinders
> Units = cylinders of 520 * 512 bytes
> 
> ----- partitions -----
>    Device  Info      Start       End   Sectors  Id  System
> /dev/sda1  boot       101      3820   1934400  83  Linux native
> /dev/sda2  swap      3821      3980     83200  82  Linux swap
> /dev/sda9               0       100     52520   0  SGI volhdr
> /dev/sda11              0      3980   2069785   6  SGI volume
> ----- bootinfo -----
> Bootfile: /linux
> ----- directory entries -----
>  0: sgilabel   sector    4 size     512
>  1: sash       sector    5 size  140800
>  2: ide        sector  280 size  980992
>  3: linux      sector 2196 size 2636202
> 
> I actually created the swap partition first and then the main linux
> partition. Then I changed the volume header size.  I used the following
> website as a guide for the install:
> http://www.stafwag.f2s.com/indy/?lang=eng
> Hope this helps.

Now I have:

Disk /dev/sda (SGI disk label): 9 heads, 117 sectors, 4016 cylinders
Units = cylinders of 1053 * 512 bytes

----- partitions -----
Pt#    Device  Info     Start       End   Sectors  Id  System
 1: /dev/sda1  boot       101      3900   4001400  83  Linux native
 2: /dev/sda2  swap      3901      4015    121095  82  Linux swap
 9: /dev/sda3               0       100    106353   0  SGI volhdr
11: /dev/sda4               0      4015   4228848   6  SGI volume
----- Bootinfo -----
Bootfile: /unix
----- Directory Entries -----
 0: sgilabel   sector    2 size     512
 1: sash       sector    3 size  283648
 2: ide        sector  558 size  283648


When I make dvhtool -d /dev/sda --unix-to-vh /target/boot/vmlinuz-2.4.5
linux I have:

dvh_open: Bad volume header
Can't open Disk Volume Header

  eloy



Reply to: