| 1 | [[PageOutline]] |
| 2 | |
| 3 | = inside install disk image = |
| 4 | * VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso > image.tgz > usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd.bz2 > VMware-VMvisor-big-171294-x86_64.dd |
| 5 | |
| 6 | * sudo mount -o loop VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso /media/cdrom0/ -r |
| 7 | * cp -av /media/cdrom/image.tgz . |
| 8 | * bunzip2 usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd.bz2 |
| 9 | * file usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd |
| 10 | {{{ |
| 11 | usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd: x86 boot sector; partition 4: ID=0x4, active, starthead 1, startsector 32, 8160 sectors, extended partition table (last)\011 |
| 12 | }}} |
| 13 | * sudo losetup -f |
| 14 | {{{ |
| 15 | /dev/loop0 |
| 16 | }}} |
| 17 | * sudo losetup /dev/loop0 usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd |
| 18 | * sudo fdisk -l -u /dev/loop0 |
| 19 | {{{ |
| 20 | Disk /dev/loop0: 943 MB, 943718400 bytes |
| 21 | 64 heads, 32 sectors/track, 900 cylinders, total 1843200 sectors |
| 22 | Units = sectors of 1 * 512 = 512 bytes |
| 23 | Disk identifier: 0x49e2fd2f |
| 24 | |
| 25 | Device Boot Start End Blocks Id System |
| 26 | /dev/loop0p1 8192 1843199 917504 5 Extended |
| 27 | /dev/loop0p4 * 32 8191 4080 4 FAT16 <32M |
| 28 | /dev/loop0p5 8224 520191 255984 6 FAT16 |
| 29 | /dev/loop0p6 520224 1032191 255984 6 FAT16 |
| 30 | /dev/loop0p7 1032224 1257471 112624 fc Unknown |
| 31 | /dev/loop0p8 1257504 1843199 292848 6 FAT16 |
| 32 | }}} |
| 33 | |
| 34 | == partitions == |
| 35 | * loop0p4 |
| 36 | * sudo mount -r -o loop,offset=16384 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/ |
| 37 | * ID_FS_LABEL=Hypervisor0 |
| 38 | * ls -l /media/ |
| 39 | {{{ |
| 40 | -r-xr-xr-x 1 root root 11493 2009-06-11 12:48 ldlinux.sys |
| 41 | -rwxr-xr-x 1 root root 95296 2009-06-11 12:48 mboot.c32 |
| 42 | -rwxr-xr-x 1 root root 22388 2009-06-11 12:48 safeboot.c32 |
| 43 | -rwxr-xr-x 1 root root 21 2009-06-11 12:48 syslinux.cfg |
| 44 | }}} |
| 45 | |
| 46 | * loop0p5 |
| 47 | * sudo mount -r -o loop,offset=4210688 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/ |
| 48 | * ID_FS_LABEL=Hypervisor1 |
| 49 | * ls -l /media/ |
| 50 | {{{ |
| 51 | -rwxr-xr-x 1 root root 150 2009-06-11 12:48 boot.cfg |
| 52 | -rwxr-xr-x 1 root root 1153300 2009-06-11 12:48 cimstg.tgz |
| 53 | -rwxr-xr-x 1 root root 12730046 2009-06-11 12:48 cim.vgz |
| 54 | -rwxr-xr-x 1 root root 137 2009-06-11 12:48 license.tgz |
| 55 | -rwxr-xr-x 1 root root 137 2009-06-11 12:48 mod.tgz |
| 56 | -rwxr-xr-x 1 root root 137 2009-06-11 12:48 oem.tgz |
| 57 | -rwxr-xr-x 1 root root 1229 2009-06-11 12:48 pkgdb.tgz |
| 58 | -rwxr-xr-x 1 root root 46184258 2009-06-11 12:48 sys.vgz |
| 59 | -rwxr-xr-x 1 root root 16805 2009-06-11 12:48 vmkboot.gz |
| 60 | -rwxr-xr-x 1 root root 2044368 2009-06-11 12:48 vmk.gz |
| 61 | }}} |
| 62 | |
| 63 | * loop0p6 |
| 64 | * sudo mount -r -o loop,offset=266354688 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/ |
| 65 | * ID_FS_LABEL=Hypervisor2 |
| 66 | * ls -l /media/ |
| 67 | {{{ |
| 68 | -rwxr-xr-x 1 root root 150 2009-06-11 12:48 boot.cfg |
| 69 | }}} |
| 70 | |
| 71 | * loop0p7 |
| 72 | {{{ |
| 73 | mount: you must specify the filesystem type |
| 74 | }}} |
| 75 | |
| 76 | * loop0p8 |
| 77 | * sudo mount -r -o loop,offset=643842048 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/ |
| 78 | * ID_FS_LABEL=Hypervisor3 |
| 79 | * ls -l /media/ |
| 80 | {{{ |
| 81 | drwxr-xr-x 2 root root 16384 2009-06-11 12:49 conf |
| 82 | drwxr-xr-x 2 root root 16384 2009-06-11 12:49 db |
| 83 | drwxr-xr-x 4 root root 16384 2009-06-11 12:49 packages |
| 84 | }}} |
| 85 | |
| 86 | = installed system (via ssh on esxi host) = |
| 87 | * 2GBのUSB flash diskにインストール |
| 88 | |
| 89 | * fdisk -l /dev/disks/mpx.vmhba32\:C0\:T0\:L0 |
| 90 | {{{ |
| 91 | Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 2013 MB, 2013265920 bytes |
| 92 | 64 heads, 32 sectors/track, 1920 cylinders |
| 93 | Units = cylinders of 2048 * 512 = 1048576 bytes |
| 94 | |
| 95 | Device Boot Start End Blocks Id System |
| 96 | /dev/disks/mpx.vmhba32:C0:T0:L0p1 5 900 917504 5 Extended |
| 97 | /dev/disks/mpx.vmhba32:C0:T0:L0p4 * 1 4 4080 4 FAT16 <32M |
| 98 | /dev/disks/mpx.vmhba32:C0:T0:L0p5 5 254 255984 6 FAT16 |
| 99 | /dev/disks/mpx.vmhba32:C0:T0:L0p6 255 504 255984 6 FAT16 |
| 100 | /dev/disks/mpx.vmhba32:C0:T0:L0p7 505 614 112624 fc VMKcore |
| 101 | /dev/disks/mpx.vmhba32:C0:T0:L0p8 615 900 292848 6 FAT16 |
| 102 | |
| 103 | Partition table entries are not in disk order |
| 104 | }}} |
| 105 | |
| 106 | * ls -l / |
| 107 | {{{ |
| 108 | l--------- 0 root root 1984 Jan 1 1970 altbootbank -> /vmfs/volumes/4b72c5e3-3a61e05b-ed4c-b9b6da83be5c |
| 109 | drwxr-xr-x 1 root root 512 Nov 11 22:46 bin |
| 110 | l--------- 0 root root 1984 Jan 1 1970 bootbank -> /vmfs/volumes/7c7b15ea-54f861ef-a388-473f43007b89 |
| 111 | drwxr-xr-x 1 root root 512 Nov 11 23:26 dev |
| 112 | drwxr-xr-x 1 root root 512 Nov 11 22:46 etc |
| 113 | drwxr-xr-x 1 root root 512 Nov 11 22:46 lib |
| 114 | l--------- 0 root root 1984 Jan 1 1970 locker -> /store |
| 115 | drwxr-xr-x 1 root root 512 Jun 11 19:36 opt |
| 116 | drwxr-xr-x 1 root root 131072 Nov 11 23:26 proc |
| 117 | l--------- 0 root root 1984 Jan 1 1970 productLocker -> /locker/packages/4.0.0/ |
| 118 | drwxr-xr-x 1 root root 512 Nov 11 22:46 sbin |
| 119 | l--------- 0 root root 1984 Jan 1 1970 scratch -> /tmp/scratch |
| 120 | l--------- 0 root root 1984 Jan 1 1970 store -> /vmfs/volumes/c2a427e4-2d317086-fef9-b5750d88536c |
| 121 | drwxrwxrwt 1 root root 512 Nov 11 23:20 tmp |
| 122 | drwxr-xr-x 1 root root 512 Nov 11 22:46 usr |
| 123 | drwxr-xr-x 1 root root 512 Nov 11 22:46 var |
| 124 | drwxr-xr-x 1 root root 512 Nov 11 22:46 vmfs |
| 125 | l--------- 0 root root 1984 Jan 1 1970 vmupgrade -> /locker/vmupgrade/ |
| 126 | }}} |
| 127 | |
| 128 | * ls -l /vmfs/volumes/ |
| 129 | {{{ |
| 130 | drwxr-xr-x 1 root root 8 Jan 1 1970 4b72c5e3-3a61e05b-ed4c-b9b6da83be5c |
| 131 | drwxr-xr-x 1 root root 8 Jan 1 1970 7c7b15ea-54f861ef-a388-473f43007b89 |
| 132 | l--------- 0 root root 1984 Jan 1 1970 Hypervisor1 -> 7c7b15ea-54f861ef-a388-473f43007b89 |
| 133 | l--------- 0 root root 1984 Jan 1 1970 Hypervisor2 -> 4b72c5e3-3a61e05b-ed4c-b9b6da83be5c |
| 134 | l--------- 0 root root 1984 Jan 1 1970 Hypervisor3 -> c2a427e4-2d317086-fef9-b5750d88536c |
| 135 | drwxr-xr-x 1 root root 8 Jan 1 1970 c2a427e4-2d317086-fef9-b5750d88536c |
| 136 | }}} |