Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Transferring Win7 to a SSD using Linux - boot error

02 Apr 2014   #1

LMDE, Win7 x64
Transferring Win7 to a SSD using Linux - boot error

I'm trying to transfer Win7 to a SSD. The partition table on the HD, as seen by Linux, is:

sdb1: 50 GB - NTFS Win7
sdb2: 430 GB (approx) - NTFS user data
sdb3: 20 GB - EXT4 Debian Linux

Note that I partitioned manually before installing Windows, so it didn't create its own "System Reserved" 100MB partition.

The bootloader is grub2.

I tried a couple of ready-made solutions I read about online, but one failed outright and the other gave me a bootloop. So I decided to do things by myself. Using Gparted I created the following partition table on the SSD:

sda1: 50 GB - NTFS
sda2: however much was left less 20 GB - NTFS user data
sda3: 20 GB - EXT4

I then ran a Linux live and used dd to do a full image of partition 1 on the HD to the SSD (dd if=sdb1 of=sda1 bs=1M).

At this point, since sda1 was only full by 30 gigs and the user data gets stored on the other partition, I shrunk it down to 36 gigs and expanded the data partition. I didn't mind the 20 empty gigs on the HD, but they get significant on the SSD. I only shrunk the end of sda1, I didn't actually move it (I learned about the whole SSD aligning issue later, and I'll do it after all this is sorted).

I then disconnected the HD and did a fresh install of Debian on sda3. It saw the Windows partition and put in grub2.

At this point rebooting in Debian works, but if I reboot in Windows it fails to boot and complains about a missing device. If I reconnect the HD and boot Windows from the SSD, it loads it from the HD.

Clearly it still thinks it's installed on the hard disk and looks there for the system files even though the boot process starts on the SSD. Is there an easy way to fix this (I don't know, editing a system configuration file)? If not, would a repair from the Windows install DVD fix it?

My System SpecsSystem Spec
02 Apr 2014   #2
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

My System SpecsSystem Spec

 Transferring Win7 to a SSD using Linux - boot error

Thread Tools

Similar help and support threads
Thread Forum
Win7 PRO dual boot with Linux Mint on a new Lenovo E540
I have a new Lenovo E540 preloaded with OEM Win7 PRO 64 bit ... and no discs - (other than an upgrade to Win8.1 PRO ... no thanks) Q1: How do I make a recovery disc of the current Win7 PRO 64bit ? - I have never done it before .. a recovery virgin. So far ... when the Lenovo was started...
Installation & Setup
Win7 and dual boot Linux
I have a new Lenovo laptop with OEM Win7 Pro (64bit) -- 1TB HDD - all I have done so far is charge the battery and booted ... nothing else ... (no updates, no installs ... yet! My 2 year old Toshiba is in bad shape because of my ignorance. - since joining I have followed...
Installation & Setup
Blue Screen Error with Win7 and Linux
Hello all, This is my issue. I have 3 internal HDDs in my PC, my main HDD is Windows 7,, the second is for my media, and the third is Linux Fedora. I JUST installed this yesterday, I am taking a Linux intro class for my degree so I wanted to use it whenever I want, so I put it on the HDD I...
BSOD Help and Support
Dual-Boot Win7 and Linux Fedora 19
Hi, I've just installed Linux Fedora 19 within my Win7. I was expecting that I'm going to use some 3rd party software to create Dual-Boot, but Linux did it all by itself. So I guess the using of software like Grub is not needed, or?
Installation & Setup
Windows 7 and Linux on the same PC-error when installing Win7 SP1
If you have Linux and Win 7 installed on the same machine and run across an install error when trying to install Win 7 SP1, then this one is for you. Pay attention to the the last paragraph of the article and use Disk Management to solve your problem. Windows 7/2008 R2 Service Pack 1 fails...
Windows Updates & Activation

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:44.
Twitter Facebook Google+