[SOLVED] Does a dd copy make a Windoze-bootable disk?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to a buy a new drive for my laptop (eMachines eME725-4520, Pentium Dual Core Processor T4400 & Windows 7 Home Premium - I bought it 8 years ago). I've filled the original (250 GB). It came with Windoze, which I kept because it was necessary to use the warranty (long expired). Unfortunately I have to use it still when I connect wirelessly from UNM (I can connect with a wire, but that's available in few spots).
If I clone the drive with dd will it be Windoze-bootable?
As long as you don't try to boot with both connected at the same after the cloning is completed, and the new has at least as many accessible sectors on it as the original, it should be bootable no matter what was installed on it. With DD, every partition and filesystem on the clone gets the same UUID, and same volume label, if any, as it had on the original.
Be careful there also tends to be an issue with the type partition table in use. Windows uses the msdos partition table. These partition carry over the 'bootable' flag. If you're going to do it like this then it's best to use an identical drive which effectively means cloning. In any case if you get a bigger drive you'll then want to resize the NTFS partition after dd which I'm not sure NTFS supports. This can all fairly easily be done under LVM however.
You may want to simply backup your data and reinstall Windoze fresh onto the new drive.
What he said. Fix the problem, not the symptom.
For this laptop when I did similar, I used the Win7 backup tool to create a system image and simply re-installed using that onto bigger partitions. The linux side was simple - and a damn sight quicker.
No problems, no angst.
If it all goes down the toilet, simply reinstall the old disk and figure out what went wrong.
I can't believe you want to use Windows just to connect wirelessly... It has to be a Linux driver that works for a 8 years laptop model, no?
I connect wirelessly all sorts of places. To connect at UNM I have to accept UNM's conditions. I get the opportunity on my first attempt to connect when I use a browser that supports Javascript. In Windoze this works. In Linux both Firefox & Opera report that they can't resolve the address (in lynx I get sent to UNM's 'your browser doesn't support Javascript' page - but the address is resolved). After I connect in Windoze, I can reboot then connect in Linux (as long as I don't change my MAC). I submitted a query on these fora years ago but never resolved it.
Quote:
Originally Posted by syg00
I used the Win7 backup tool to create a system image and simply re-installed using that onto bigger partitions.
You say I can't use dd? That's what I expected; I hoped to get off easy. I made a backup when I bought it - good thing as the burner no longer works.
Last edited by RandomTroll; 04-07-2018 at 11:49 PM.
You CAN use dd which will make an exact copy of the disk(space allowing). The problem is then that if you leave both disks in the machine, Windows will likely get confused as to which to use and cause problems.
I do exactly this and just remove the second disk and keep it as a backup. I work in a very dirty environment- both physically and electronically and it is handy to be able to just do a quick disk swap when the first one gets corrupted - the disks are seldom physically damaged. I do a backup overnight so at most a day's work gets lost.
You CAN use dd which will make an exact copy of the disk(space allowing). The problem is then that if you leave both disks in the machine, Windows will likely get confused as to which to use and cause problems.
I do exactly this and just remove the second disk and keep it as a backup. I work in a very dirty environment- both physically and electronically and it is handy to be able to just do a quick disk swap when the first one gets corrupted - the disks are seldom physically damaged. I do a backup overnight so at most a day's work gets lost.
You CAN use dd which will make an exact copy of the disk(space allowing). The problem is then that if you leave both disks in the machine, Windows will likely get confused as to which to use and cause problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.