Nxl67002

From miki
Revision as of 09:58, 9 March 2011 by Mip (talk | contribs) (→‎Log: Move VirtualBox machine setup here)
Jump to navigation Jump to search

Installed Operating System

System

Log

  • [2010-03-19] BIOS - Virtualization - Enabled Virtualization instruction + Virtualization IO
  • [2010-03-19] Info - Original partition:
  • Device Label Size Type Comment
    /dev/sda1/ 298.05 MiB FAT16 Dell rescue
    /dev/sda2/ AWS_Data 104 GiB NTFS Windows D:
    /dev/sda3/ AWS_System 44.76 GiB NTFS Windows C:
  • [2010-03-21] Backup - (Ubuntu USB) Resize and backup windows system partition:
    sudo dd if=/dev/sda of=nxl670002-sda-20100321.mbr bs=512 count=63
    sudo sfdisk -l -uS /dev/sda >nxl670002-sfdisk-20100321.txt
    sudo ntfsresize --size 20000M /dev/sda3
    sudo ntfsclone --force --save-image -o - /dev/sda3 | gzip -c > nxl670002-sda3-resized-2010321.img.gz
    
  • [2010-03-22] Disk - (Ubuntu USB) Gparted → Deleted partition /dev/sda2
  • [2010-03-22] Disk - (Ubuntu USB) Gparted → New NTFS partition /dev/sda2, 32212 MiB, label=SYSTEM
  • [2010-03-22] Disk - (Ubuntu USB) Copy /dev/sda3 to /dev/sda2, and restore size
  • sudo ntfsclone --force --save-image -o - /dev/sda3 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
    sudo ntfsresize --force --size 33772999680 /dev/sda3
    
  • [2010-03-22] Disk - (Ubuntu USB) Gparted → Set boot flag on /dev/sda2, delete /dev/sda3
  • [2010-03-22] Error - Booting Windows we have the following error:
  • Windows could not start because the following file is missing or corrupt: Windows\System32\Hal.dll
  • [2010-03-22] Disk - (Ubuntu USB) Mount /dev/sda2, and edit boot.ini as follows: change .../partition(3)/... to .../partition(2)/...
  • [2010-03-22] Disk - Setting up partition as shown below.
  • [2010-03-22] VirtualBox — Host-only network vboxnet0:
    • IPv4 address/mask 192.168.11.150/255.255.255.0 (same as AndLinux)
    • DHCP Server address/mask 192.168.11.1/255.255.255.0, Lower/Upper address bound 192.168.11.2/192.168.11.99
  • [2010-03-22] VirtualBox — Virtual machine NXL67002:
    • Create vmdk to boot windows partition /dev/sda2. Update the MBR code to remove GRUB. Repeat this every time the partitions change:
    sudo dd if=/dev/sda of=opensource.mbr bs=512 count=1
    sudo apt-get install mbr                                 # For command "install-mbr"
    sudo install-mbr -i n -p D -t 0 opensource.mbr
    sudo VBoxManage internalcommands createrawvmdk -filename nxl67002-sda2-mbr.vmdk -rawdisk /dev/sda -partitions 2 -relative -mbr opensource.mbr
    
    • Base Memory 1536 MB, 2 cpus, VT-x/AMD-V enabled, Nested Paging enabled
    • Video memory 48 MB, 2 monitors, 3D accel enabled, 2D accel enabled
    • Audio host driver PulseAudio, controller ICH AC97
    • Network PCnet-FAST III, bridged, eth0
    • Network PCnet-FAST III, Host-only adapter, vboxnet0
    • Machine folder: permanent, full access, /windows/d as d
    • Default layout: seamless mode, extended desktop (windows taskbar on external monitor, gnome taskbar on primary monitor, workspace switcher panel on top bar)

Partition

Linux dev Windows dev Type Label Size Type Linux Options Linux Mount
/dev/sda1/ \Device\Harddisk0\Partition? primary Dell Utility 298 MiB fat16
/dev/sda2/ \Device\Harddisk0\Partition? primary AWS_SYSTEM 25 GiB ntfs
/dev/sda3/ \Device\Harddisk0\Partition3 primary 100 MiB ext3 /boot
/dev/sda5/ \Device\Harddisk0\Partition4 logical ROOT 10 GiB reiserfs notail,noatime /
/dev/sda6/ \Device\Harddisk0\Partition5 logical 4.0 GiB swap Defaults swap
/dev/sda7/ \Device\Harddisk0\Partition6 logical AWS_DATA 87 GiB ntfs /win/d
/dev/sda8/ \Device\Harddisk0\Partition7 logical DATA 24 GiB reiserfs notail,noatime /data