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
Triple boot setup (Linux, Win7, WinXP); XP reports NTLDR missing
After considerable tinkering I've managed to properly partition and install three operating systems in my netbook - Linux Mint Debian Edition, which I use normally; Windows 7, which I use when I need some Windows-specific application that is unavailable in Linux; and Windows XP, which I use...
Installation & Setup
can't enter BIOS when booting (Win7 / Ubuntu Linux dual boot system)
Hello everyone! I've made my Sony VAIO into a dual-boot machine (Win7 64-bit and Ubuntu Linux) and I'm having trouble getting into the BIOS. When powering up, even though I repeatedly press and hold down the DEL key it always goes straight to the GRUB menu: And then when I select to...
Hardware & Devices
Windows won't boot, error 0xc000000e after installing arch linux
I installed arch linux on another partition of my hard disk, after I installed it grub took over the windows boot loader. When I try and boot into window I get the error 0xc000000e saying that windows cannot boot etc. Ive looked online to try and figure out how to solve this problem and they...
Performance & Maintenance
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
Installing Linux to "triple-boot" with XP and Win7
Hi, I've got a fine working dual-boot system with Windows XP Professional SP3 and Windows 7 Ultimate. I'm gonna install Ubuntu Linux 10, but I also want to keep both Windows systems. I googled after it, and I found many tutorials showing how to install Ubuntu to dual-boot with either XP or...
Installation & Setup

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 03:53.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App