Nxl67002: Difference between revisions
Jump to navigation
Jump to search
m (→Partition) |
(→Log) |
||
Line 20: | Line 20: | ||
|<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''' - (Ubuntu USB) Resize and backup windows system partition: |
||
{{pl2|<source lang="bash" enclose="prevalid"> |
{{pl2|<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 |
sudo ntfsresize --size 20000M /dev/sda3 |
||
sudo ntfsclone --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''' → Deleted partition <tt>/dev/sda2</tt></li> |
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' → Deleted partition <tt>/dev/sda2</tt></li> |
||
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' → New NTFS partition <tt>/dev/sda2</tt>, '''32212 MiB''', label='''SYSTEM'''</li> |
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' → New NTFS partition <tt>/dev/sda2</tt>, '''32212 MiB''', label='''SYSTEM'''</li> |
||
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) Copy <tt>/dev/sda3</tt> to <tt>/dev/sda2</tt></li> |
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) Copy <tt>/dev/sda3</tt> to <tt>/dev/sda2</tt>, and restore size</li> |
||
{{pl2|<source lang="bash" enclose="prevalid"> |
{{pl2|<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 - |
||
⚫ | |||
</source>}} |
</source>}} |
||
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' → Set boot flag on <tt>/dev/sda2</tt>, delete <tt>/dev/sda3</tt></li> |
<li>[<tt>2010-03-22</tt>] '''Disk''' - (Ubuntu USB) '''Gparted''' → Set boot flag on <tt>/dev/sda2</tt>, delete <tt>/dev/sda3</tt></li> |
Revision as of 09:38, 1 April 2010
Installed Operating System
System
Log
- [2010-03-19] BIOS - Virtualization - Enabled Virtualization instruction + Virtualization IO
- [2010-03-19] Info - Original partition:
- [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 --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
- [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.
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: |
sudo ntfsclone --force --save-image -o - /dev/sda3 | sudo ntfsclone --restore-image --overwrite /dev/sda2 -
sudo ntfsresize --size 33772999680 /dev/sda3
Partition
Device | Type | Label | Size | Type | Linux Options | Linux Mount |
---|---|---|---|---|---|---|
/dev/sda1/ | primary | Dell Utility | 298 MiB | fat16 | ||
/dev/sda2/ | primary | SYSTEM | 31 GiB | ntfs | ||
/dev/sda5/ | logical | 4.0 GiB | swap | Defaults | swap | |
/dev/sda6/ | logical | ROOT | 10 GiB | reiserfs | Defaults | / |
/dev/sda7/ | logical | DATA | 103.3 GiB | ntfs |