EaseUS Todo Backupを使用すれば、コピー元とコピー先の容量が異なっていても、パーティション領域を調整してクローニングができるようである。元のHDDの実使用領域は70GBくらいだったが、クローニング時間は約1時間ほどで完了した。交換後初めてOSを起動する時は、チェックディスクが走るが、これはOS起動中にクローニングを行ったため、ダーティーシャットダウンから再起動したときと同じ状態だからだろう。
OS起動後はサクサク動くようになって実に快適である。
ただ、ディスクの管理を確認すると、ディスクの先頭領域に8MBほど未使用領域があるが、特に動作に問題ないので気にしないことにする。
EaseUS Todo Backupの詳しい使用方法については以下のサイトが参考になる。
root@voyage:~# vi /etc/auto.master
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
#/misc /etc/auto.misc
/music /etc/auto.nas #/musicに/etc/auto.nasで設定した領域をマウントさせる。
次に、NASをマウントさせるためのauto.nasファイルを新規に作成。
root@voyage:~# vi /etc/auto.nas
nas -fstype=cifs,rw,noperm,user=user01,pass=password ://192.168.0.3/share/music
#↑/music/nasにマウント ↑NASのuser名 ↑NASのパスワード ↑NASの共有フォルダ名
root@voyage:/tmp/root# fdisk -l
Disk /dev/sda: 128.0 GB, 128035676160 bytes #内蔵SSD
30 heads, 63 sectors/track, 132312 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2575bf49
Device Boot Start End Blocks Id System
/dev/sda1 2048 250069679 125033816 83 Linux #パーティションが作成された
Disk /dev/sdb: 1025 MB, 1025024000 bytes #インストールイメージが入ったUSBメモリ
255 heads, 63 sectors/track, 124 cylinders, total 2002000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x005f8f51
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 2001999 999976 c W95 FAT32 (LBA)
インストールの開始。
root@voyage:/tmp/root# /usr/local/sbin/voyage.update
What would you like to do?
1 - Create new Voyage Linux disk
2 - Update existing Voyage configuration
3 - Exit
(default=1 [Create new Voyage Linux disk]):≪Enter≫
some mandatory options are unset, please enter them interactively
Where is the Voyage Linux distribution directory?
(default=/tmp/root):≪Enter≫
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=2 [Select Target Profile - this overwrites current settings]):≪Enter≫
Please select Voyage profile:
1 - Keep existing settings
2 - 4501
3 - 4511/4521 4 - 4801
5 - 5501
6 - 6501
7 - ALIX
8 - APU
9 - Generic PC
10 - Notebook (pcmcia)
11 - WRAP
(default=7 [ALIX]): 9 #普通のパソコンなので9を選択
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=3 [Select Target Disk]):≪Enter≫
Partitions information
major minor #blocks name
8 0 125034840 sda
8 1 125033816 sda1
8 16 1001000 sdb
8 17 999976 sdb1
7 0 77700 loop0
7 1 77700 loop1
Which device accesses the target disk [/dev/hde]? /dev/sda
Which partition should I use on /dev/sda for the Voyage system [1]?≪Enter≫
Device information for /dev/sda1
device fs_type label mount point UUID
-------------------------------------------------------------------------------
/dev/sda1 ext2 (not mounted) d00f5160-af4e-469d-a7c2-d3af2a97977e
Where can I mount the target disk [/tmp/cf]? ≪Enter≫
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=4 [Select Target Bootstrap Loader]):≪Enter≫
Which loader do you want (grub or lilo) [grub]?≪Enter≫
Which partition is used for bootstrap [1]?≪Enter≫
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=5 [Configure Target Console]):≪Enter≫
Select terminal type:
1 - Serial Terminal
2 - Console Interface
(default=2 [Console Interface]):≪Enter≫
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=6 [Partition and Create Filesystem]):≪Enter≫
What shall I do with your Flash Media?
1 - Partition Flash Media and Create Filesystem
2 - Use Flash Media as-is
(default=1 [Partition Flash Media and Create Filesystem]): 2
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=7 [Copy Distribution to Target]):≪Enter≫
Configuration details:
----------------------
Distribution directory: /tmp/root
Disk/Flash Device: /dev/sda
Installation Partition: /dev/sda1
Bootstrap Partition: /dev/sda1
Will be mounted on: /tmp/cf
Target system profile: Generic PC
Target console: standard
Bootstrap installer: grub
Bootstrap partition: /dev/sda1
OK to continue (y/n)? y
Ready to go ....
Copying files .... done
Removing pcmcia from update-rc.d
update-rc.d: using dependency based boot sequencing
Removing dnsmasq.pxe.conf in /etc/dnsmasq.more.conf
Reconfiguring resolvconf
Updating /etc/hosts
Installing grub
Copy grub files from /tmp/cf to /tmp/cf/boot/grub
Setting up grub under chroot /tmp/cf
copyfiles.sh script completed
What would you like to do?
1 - Specify Distribution Directory
2 - Select Target Profile - this overwrites current settings
3 - Select Target Disk
4 - Select Target Bootstrap Loader
5 - Configure Target Console
6 - Partition and Create Filesystem
(default=8 [Exit]):≪Enter≫
USBメモリを取り外し再起動する。
root@voyage:/tmp/root# reboot
Broadcast message from root@voyage (pts/0) (Sun Jan 18 06:17:28 2015):
The system is going down for reboot NOW!
これでしばらくはイケルかなと思っていたら、メインマシンのWindows Server 2008 R2はOS機能でテープバックアップに対応していないorz。MS的にはテープはレガシーなものとして切り捨ててるみたいだ。あと、ビデオカード(RADEON HD 2600XT)のドライバの出来がよくないのか、コンポーネントでHDTV出力不可。