Lrwxrwxrwx 1 root root 7 Jan 5 22:34 /dev/mapper/loop1p2 ->. Lrwxrwxrwx 1 root root 7 Jan 5 22:34 /dev/mapper/loop1p1 ->. Executing the following command will create entries in /dev/mapper for each partition on kpartx -v ls -l /dev/mapper/loop1* It turns out there is a program called kpartx that solves this problem. Since /dev/loop1p1 and /dev/loop1p2 don’t exist, gparted won’t work. You can mount the image as a loopback device if you like, but it won’t work with losetup /dev/loop1 /media/xubuntu/my_drive/hdd.img I mounted the 2TB drive and created an image of my hard drive by executing the following dd if=/dev/sdb of=/media/xubuntu/my_drive/hdd.img cp hdd.img hdd2.imgĪfter that completed, I shut the system down, removed the bad drive, replaced it with a 180GB SSD, and booted back up with the Xubuntu 12.10 live CD again. I then booted it up with an Xubuntu 12.10 live CD and a 2TB hard drive I have for backup purposes. The first thing I did was shut the computer down and let the hard drive cool down for a bit. My goal here is to document all of the steps you need to follow in order to migrate from a traditional hard drive to a smaller solid state drive. It worked out just fine, of course, but migrating the data from my old hard drive to my new hard drive was not as straightforward as you would expect it to be. Normally I’d be upset about a hard drive that was about to fail, but this gave me an opportunity to replace my primary OS hard drive with a solid state drive. The remainder of my files are stored on a RAID5. Upon further investigation, the hard drive in question was an old 320GB Seagate hard drive that I use to store all of my OS files. I woke up Saturday morning, walked into my office, and was greeted by the sound of a grinding hard disk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |