The award for the best software of the week goes again to
Knoppix and to the included
ntfstools suite
without whose assistance the process of changing two disks wouldn’t
have been so easy and successful.
Since I recently invested in a Hauppauge WinPVR 150 card and my
Windows PC was still running on an old Maxtor 30Gb disk, some new
additional disk space was required. Additionally I wanted to move from
the Reiser file system to the
SGI XFS file system on my Linux
box (the reason being, that I experienced some performance problems
in the past with very large multi media files on ReiserFS, at least
with pre 4.0). So I wanted to give XFS a try.
Anyway, I bought a nice 200Gb disk drive (SP2014N) from Samsung and
installed it as the second drive in my Linux box. Then I booted the
Knoppix CD, partitioned the new drive, made XFS file systems and moved
the Linux data over with one large
find / -mount | cpio -pdumv /path to drive. After seeing the slow
progess I aborted the first copy process and looked at the IDE
parameter settings with the hdparm command. I noticed, that the DMA
transfer mode wasn’t activated. So, remember activating the disk DMA
transfer modes, when doing some intensive disk I/O under
Knoppix. After that, the performance was as expected. Then I copied the
Windows Home Edition NTFS file system to the new partition with
ntfsclone. This also went well, except that I did the mistake to not
start the Windows partition at the very same cylinder as the
originating partition (the old partition started a cyl. 6, while the
new began at 1). The new Window partition wouldn’t boot unless I moved
the start of the partition also to cyl. 6. BTW, I used
install-mbr as the
new master boot record. So another lesson learned: be carefully to
start the Windows boot partition at the same location as the old
partition. In the end, the switch from the 160Gb to the 200Gb Samsung
on my Linux box went very smoothly.
Then I installed the 160MB drive as the second drive in the Windows
box and again booted into Knoppix. The move from the 30Gb Maxtor drive
to the 160Gb would have went just as smoothly, if I hadn’t forgotten
to activate the boot flag for the Windows partition. So here some
additional reboots were required until I remembered to set the boot
flag. After fixing this, this switch of drives was also quickly
completed.
Now you can understand, why I have so warm feeling towards Knoppix and
the Ntfstools.