Nxl67002: Difference between revisions

From miki
Jump to navigation Jump to search
 
(32 intermediate revisions by one other user not shown)
Line 2: Line 2:
* [[{{PAGENAME}} - Windows XP|Windows XP]]
* [[{{PAGENAME}} - Windows XP|Windows XP]]
** [[{{PAGENAME}} - Windows XP - Files|Configuration files]]
** [[{{PAGENAME}} - Windows XP - Files|Configuration files]]
* [[{{PAGENAME}} - Ubuntu|Ubuntu Karmic Koala 9.10]]
* [[{{PAGENAME}} - Ubuntu|Ubuntu Lucid Lynx 10.04 LTS]]
** [[{{PAGENAME}} - Ubuntu - Files|Configuration files]]
** [[{{PAGENAME}} - Ubuntu - Files|Configuration files]]
* [[{{PAGENAME}} - Wine|Wine on Ubuntu]]
** [[{{PAGENAME}} - Wine - Files|Configuration files]]
* [[Configuration NXP Dell Latitude D620 - AndLinux|AndLinux]] (ported from BEQLEUNXP1NB103)
** [[Configuration NXP Dell Latitude D620 - AndLinux - Files|Configuration files]]


== System ==
== System ==
=== Hardware Info ===
* Laptop [[Dell Latitude E6500|'''DELL Latitude E6500''']]

=== Log ===
=== Log ===
<ul>
<ul>
<li>[<tt>2010-03-19</tt>] '''BIOS''' - '''Virtualization''' - Enabled Virtualization instruction + Virtualization IO</li>
<li>[<tt>2010-03-19</tt>] '''BIOS''' &mdash; '''Virtualization''' - Enabled Virtualization instruction + Virtualization IO</li>
<li>[<tt>2010-03-19</tt>] '''Info''' - Original partition:</li>
<li>[<tt>2010-03-19</tt>] '''Info''' &mdash; Original partition:</li>
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 20: Line 27:
|<tt>/dev/sda3/</tt>||AWS_System||align="right"|44.76 GiB||NTFS||Windows C:
|<tt>/dev/sda3/</tt>||AWS_System||align="right"|44.76 GiB||NTFS||Windows C:
|}
|}
<li>[<tt>2010-03-21</tt>] '''Backup''' - (Ubuntu USB) backup windows system partition:
<li>[<tt>2010-03-21</tt>] '''Backup''' &mdash; (Ubuntu USB) Resize and backup windows system partition:
{{pl2|<source lang="bash" enclose="prevalid">
<source lang="bash" enclose="prevalid">
sudo dd if=/dev/sda of=nxl670002-sda-20100321.mbr bs=512 count=63
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 sfdisk -l -uS /dev/sda >nxl670002-sfdisk-20100321.txt
sudo ntfsclone --save-image -o - /dev/sda3 | gzip -c > nxl670002-sda3-2010321.img.gz
sudo ntfsresize --size 20000M /dev/sda3
sudo ntfsclone --force --save-image -o - /dev/sda3 | gzip -c > nxl670002-sda3-resized-2010321.img.gz
</source>}}
</source>
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' &rarr; Deleted partition <tt>/dev/sda2</tt></li>
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' &rarr; New NTFS partition <tt>/dev/sda2</tt>, '''32212 MiB''', label='''SYSTEM'''</li>
<li>[<tt>2010-03-22</tt>] '''Disk''' &mdash; (Ubuntu USB) Move <tt>/dev/sda3</tt> to <tt>/dev/sda2</tt>:</li>
<ul>
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) Copy <tt>/dev/sda3</tt> to <tt>/dev/sda2</tt></li>
<li>Delete partition <tt>/dev/sda2</tt>, and create new NTFS partition <tt>/dev/sda2</tt>, '''32212 MiB''', label='''SYSTEM''' (using ''Gparted'')</li>
{{pl2|<source lang="bash" enclose="prevalid">
<li>Copy <tt>/dev/sda3</tt> to <tt>/dev/sda2</tt>, and restore size:</li>
sudo ntfsresize --size 32000M /dev/sda3
<source lang="bash" enclose="prevalid">
sudo ntfsclone --force --save-image -o - /dev/sda3 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
sudo ntfsclone --force --save-image -o - /dev/sda3 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
sudo ntfsresize --force --size 33772999680 /dev/sda3
</source>}}
</source>
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' &rarr; Set boot flag on <tt>/dev/sda2</tt>, delete <tt>/dev/sda3</tt></li>
<li>Set boot flag on <tt>/dev/sda2</tt>, delete <tt>/dev/sda3</tt> (using ''Gparted'')</li>
<li>[<tt>2010-03-22</tt>] '''Error''' - Booting Windows we have the following error:</li>
<li>[[Linux NTFS|Mount <tt>/dev/sda2</tt>]], and edit '''boot.ini''' as follows: change <tt>.../partition(3)/...</tt> to <tt>.../partition(2)/...</tt></li>
Failing to do so will give the following error when booting Windows:
<source lang="text">
Windows could not start because the following file is missing or corrupt:
Windows could not start because the following file is missing or corrupt:
Windows\System32\Hal.dll''
Windows\System32\Hal.dll
</source>
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) [[Linux NTFS|Mount <tt>/dev/sda2</tt>]], and edit '''boot.ini''' as follows: change <tt>.../partition(3)/...</tt> to <tt>.../partition(2)/...</tt></li>
<li>Set up partitions as shown below.</li>
<li>[<tt>2010-03-24</tt>] '''Windows''' - '''Install''' Autoruns 9.57 - Saved current configuration to "Autoruns 20100324.txt"</li>
</ul>
<li>[<tt>2010-03-24</tt>] '''Windows''' - New hardware profile "Virtual", copy of "Profile 1"</li>
<li>[<tt>2010-03-22</tt>] '''VirtualBox''' &mdash; Host-only network '''vboxnet0''':
* Adapter: 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'''
<li>[<tt>2010-03-22</tt>] '''VirtualBox''' &mdash; Virtual machine '''NXL67002''':
* Create vmdk to boot windows partition <tt>/dev/sda2</tt>. Update the MBR code to remove GRUB. <font color="red">'''Repeat''' this every time the partitions change</font>:
{{pl2|<source lang="bash" enclose="prevalid">
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
</source>}}
* <s>Base Memory '''1536 MB''', '''2''' cpus, '''IO APIC''' enabled, VT-x/AMD-V '''enabled''', Nested Paging '''enabled'''</s>
* {{red|[<tt>2011-03-30</tt>]}} &mdash; Base Memory '''1536 MB''', {{red|'''1'''}} cpus, '''IO APIC''' {{red|disabled}}, VT-x/AMD-V '''enabled''', Nested Paging '''enabled'''<br/>Disable IO APIC support because it slows down the VM. This requires changing the Windows HAL to ''Standard PC'' (which is uniprocessor architecture).
* Video memory '''64 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''', '''<tt>/win/d</tt>''' as '''<tt>d</tt>'''
* Default layout: '''fullscreen mode'''
</ul>
</ul>

=== Benchmarking ===
Some boot time measurement:
{| class="wikitable"
!Date!!System!!Login Window||Launch VBox||Outlook avail||Auto-mail
|-
|2011-03-09||Ubuntu Lucid||1:20||1:39
|-
|2011-03-09||XP (VBox)||1:20|| ||3:30||4:12
|-
|2011-04-13||XP (VBox)||0:24|| ||-||~3:00
|}
TBC - numbers are not very accurate


=== Partition ===
=== Partition ===
{| class="wikitable"
{| class="wikitable"
|-
|-
!Device!!Type!!Label!!Size!!Type!!Linux Options!!Linux Mount
!Linux dev!!Windows dev!!Type!!Label!!Size!!Type!!Linux Options!!Linux Mount
|-
|<tt>/dev/sda1/</tt>||<tt>\Device\Harddisk0\Partition?</tt>||primary||Dell Utility||align="right"|298 MiB||fat16|| ||
|-
|-
|<tt>/dev/sda1/</tt>||primary||Dell Utility||align="right"|298 MiB||fat16|| ||
|<tt>/dev/sda2/</tt>||<tt>\Device\Harddisk0\Partition?</tt>||primary||AWS_SYSTEM||align="right"|25 GiB||ntfs|| ||
|-
|-
|<tt>/dev/sda2/</tt>||primary||AWS_SYSTEM||align="right"|31 GiB||ntfs||ro||<tt>/windows/c</tt>
|<tt>/dev/sda3/</tt>||<tt>\Device\Harddisk0\Partition3</tt>||primary|| ||align="right"|100 MiB||ext3|| ||<tt>/boot</tt>
|-
|-
|<tt>/dev/sda5/</tt>||logical|| ||align="right"|4.0 GiB||swap||Defaults||swap
|<tt>/dev/sda5/</tt>||<tt>\Device\Harddisk0\Partition4</tt>||logical||ROOT||align="right"|10 GiB||reiserfs||notail,noatime,'''acl'''||<tt>/</tt>
|-
|-
|<tt>/dev/sda6/</tt>||logical||ROOT||align="right"|20 GiB||reiserfs||Defaults||<tt>/</tt>
|<tt>/dev/sda6/</tt>||<tt>\Device\Harddisk0\Partition5</tt>||logical|| ||align="right"|4.0 GiB||swap||Defaults||swap
|-
|-
|<tt>/dev/sda7/</tt>||logical||HOME||align="right"|93 GiB||ext4||Defaults||<tt>/home</tt>
|<tt>/dev/sda8/</tt>||<tt>\Device\Harddisk0\Partition7</tt>||logical||DATA||align="right"|110 GiB||ext4||defaults,'''acl'''||<tt>/data</tt>
|}
|}

Latest revision as of 11:23, 26 April 2013

Installed Operating System

System

Hardware Info

Log

  • [2010-03-19] BIOSVirtualization - 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) Move /dev/sda3 to /dev/sda2:
    • Delete partition /dev/sda2, and create new NTFS partition /dev/sda2, 32212 MiB, label=SYSTEM (using Gparted)
    • 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
      
    • Set boot flag on /dev/sda2, delete /dev/sda3 (using Gparted)
    • Mount /dev/sda2, and edit boot.ini as follows: change .../partition(3)/... to .../partition(2)/...
    • Failing to do so will give the following error when booting Windows:
       Windows could not start because the following file is missing or corrupt:
       Windows\System32\Hal.dll
      
    • Set up partitions as shown below.
  • [2010-03-22] VirtualBox — Host-only network vboxnet0:
    • Adapter: 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, IO APIC enabled, VT-x/AMD-V enabled, Nested Paging enabled
    • [2011-03-30] — Base Memory 1536 MB, 1 cpus, IO APIC disabled, VT-x/AMD-V enabled, Nested Paging enabled
      Disable IO APIC support because it slows down the VM. This requires changing the Windows HAL to Standard PC (which is uniprocessor architecture).
    • Video memory 64 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, /win/d as d
    • Default layout: fullscreen mode

Benchmarking

Some boot time measurement:

Date System Login Window Launch VBox Outlook avail Auto-mail
2011-03-09 Ubuntu Lucid 1:20 1:39
2011-03-09 XP (VBox) 1:20 3:30 4:12
2011-04-13 XP (VBox) 0:24 - ~3:00

TBC - numbers are not very accurate

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,acl /
/dev/sda6/ \Device\Harddisk0\Partition5 logical 4.0 GiB swap Defaults swap
/dev/sda8/ \Device\Harddisk0\Partition7 logical DATA 110 GiB ext4 defaults,acl /data