Version 1 (modified by mitty, 15 years ago) (diff) |
---|
inside install disk image
- 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
- sudo mount -o loop VMware-VMvisor-Installer-4.0.0-171294.x86_64.iso /media/cdrom0/ -r
- cp -av /media/cdrom/image.tgz .
- bunzip2 usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd.bz2
- file usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd
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
- sudo losetup -f
/dev/loop0
- sudo losetup /dev/loop0 usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd
- sudo fdisk -l -u /dev/loop0
Disk /dev/loop0: 943 MB, 943718400 bytes 64 heads, 32 sectors/track, 900 cylinders, total 1843200 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x49e2fd2f Device Boot Start End Blocks Id System /dev/loop0p1 8192 1843199 917504 5 Extended /dev/loop0p4 * 32 8191 4080 4 FAT16 <32M /dev/loop0p5 8224 520191 255984 6 FAT16 /dev/loop0p6 520224 1032191 255984 6 FAT16 /dev/loop0p7 1032224 1257471 112624 fc Unknown /dev/loop0p8 1257504 1843199 292848 6 FAT16
partitions
- loop0p4
- sudo mount -r -o loop,offset=16384 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/
- ID_FS_LABEL=Hypervisor0
- ls -l /media/
-r-xr-xr-x 1 root root 11493 2009-06-11 12:48 ldlinux.sys -rwxr-xr-x 1 root root 95296 2009-06-11 12:48 mboot.c32 -rwxr-xr-x 1 root root 22388 2009-06-11 12:48 safeboot.c32 -rwxr-xr-x 1 root root 21 2009-06-11 12:48 syslinux.cfg
- loop0p5
- sudo mount -r -o loop,offset=4210688 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/
- ID_FS_LABEL=Hypervisor1
- ls -l /media/
-rwxr-xr-x 1 root root 150 2009-06-11 12:48 boot.cfg -rwxr-xr-x 1 root root 1153300 2009-06-11 12:48 cimstg.tgz -rwxr-xr-x 1 root root 12730046 2009-06-11 12:48 cim.vgz -rwxr-xr-x 1 root root 137 2009-06-11 12:48 license.tgz -rwxr-xr-x 1 root root 137 2009-06-11 12:48 mod.tgz -rwxr-xr-x 1 root root 137 2009-06-11 12:48 oem.tgz -rwxr-xr-x 1 root root 1229 2009-06-11 12:48 pkgdb.tgz -rwxr-xr-x 1 root root 46184258 2009-06-11 12:48 sys.vgz -rwxr-xr-x 1 root root 16805 2009-06-11 12:48 vmkboot.gz -rwxr-xr-x 1 root root 2044368 2009-06-11 12:48 vmk.gz
- loop0p6
- sudo mount -r -o loop,offset=266354688 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/
- ID_FS_LABEL=Hypervisor2
- ls -l /media/
-rwxr-xr-x 1 root root 150 2009-06-11 12:48 boot.cfg
- loop0p7
mount: you must specify the filesystem type
- loop0p8
- sudo mount -r -o loop,offset=643842048 -t auto usr/lib/vmware/installer/VMware-VMvisor-big-171294-x86_64.dd /media/
- ID_FS_LABEL=Hypervisor3
- ls -l /media/
drwxr-xr-x 2 root root 16384 2009-06-11 12:49 conf drwxr-xr-x 2 root root 16384 2009-06-11 12:49 db drwxr-xr-x 4 root root 16384 2009-06-11 12:49 packages
installed system (via ssh on esxi host)
- 2GBのUSB flash diskにインストール
- fdisk -l /dev/disks/mpx.vmhba32\:C0\:T0\:L0
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 2013 MB, 2013265920 bytes 64 heads, 32 sectors/track, 1920 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System /dev/disks/mpx.vmhba32:C0:T0:L0p1 5 900 917504 5 Extended /dev/disks/mpx.vmhba32:C0:T0:L0p4 * 1 4 4080 4 FAT16 <32M /dev/disks/mpx.vmhba32:C0:T0:L0p5 5 254 255984 6 FAT16 /dev/disks/mpx.vmhba32:C0:T0:L0p6 255 504 255984 6 FAT16 /dev/disks/mpx.vmhba32:C0:T0:L0p7 505 614 112624 fc VMKcore /dev/disks/mpx.vmhba32:C0:T0:L0p8 615 900 292848 6 FAT16 Partition table entries are not in disk order
- ls -l /
l--------- 0 root root 1984 Jan 1 1970 altbootbank -> /vmfs/volumes/4b72c5e3-3a61e05b-ed4c-b9b6da83be5c drwxr-xr-x 1 root root 512 Nov 11 22:46 bin l--------- 0 root root 1984 Jan 1 1970 bootbank -> /vmfs/volumes/7c7b15ea-54f861ef-a388-473f43007b89 drwxr-xr-x 1 root root 512 Nov 11 23:26 dev drwxr-xr-x 1 root root 512 Nov 11 22:46 etc drwxr-xr-x 1 root root 512 Nov 11 22:46 lib l--------- 0 root root 1984 Jan 1 1970 locker -> /store drwxr-xr-x 1 root root 512 Jun 11 19:36 opt drwxr-xr-x 1 root root 131072 Nov 11 23:26 proc l--------- 0 root root 1984 Jan 1 1970 productLocker -> /locker/packages/4.0.0/ drwxr-xr-x 1 root root 512 Nov 11 22:46 sbin l--------- 0 root root 1984 Jan 1 1970 scratch -> /tmp/scratch l--------- 0 root root 1984 Jan 1 1970 store -> /vmfs/volumes/c2a427e4-2d317086-fef9-b5750d88536c drwxrwxrwt 1 root root 512 Nov 11 23:20 tmp drwxr-xr-x 1 root root 512 Nov 11 22:46 usr drwxr-xr-x 1 root root 512 Nov 11 22:46 var drwxr-xr-x 1 root root 512 Nov 11 22:46 vmfs l--------- 0 root root 1984 Jan 1 1970 vmupgrade -> /locker/vmupgrade/
- ls -l /vmfs/volumes/
drwxr-xr-x 1 root root 8 Jan 1 1970 4b72c5e3-3a61e05b-ed4c-b9b6da83be5c drwxr-xr-x 1 root root 8 Jan 1 1970 7c7b15ea-54f861ef-a388-473f43007b89 l--------- 0 root root 1984 Jan 1 1970 Hypervisor1 -> 7c7b15ea-54f861ef-a388-473f43007b89 l--------- 0 root root 1984 Jan 1 1970 Hypervisor2 -> 4b72c5e3-3a61e05b-ed4c-b9b6da83be5c l--------- 0 root root 1984 Jan 1 1970 Hypervisor3 -> c2a427e4-2d317086-fef9-b5750d88536c drwxr-xr-x 1 root root 8 Jan 1 1970 c2a427e4-2d317086-fef9-b5750d88536c