LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-02-2018, 09:43 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,970

Rep: Reputation: 271Reputation: 271Reputation: 271
Does a dd copy make a Windoze-bootable disk?


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?
 
Old 04-02-2018, 09:56 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
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.
 
1 members found this post helpful.
Old 04-07-2018, 04:49 PM   #3
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Rep: Reputation: 17
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.
 
Old 04-07-2018, 05:08 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
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?
 
Old 04-07-2018, 05:50 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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.
 
Old 04-07-2018, 11:43 PM   #6
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,970

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by keefaz View Post
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 View Post
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.
 
Old 04-08-2018, 09:54 AM   #7
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
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.
 
1 members found this post helpful.
Old 04-08-2018, 10:23 AM   #8
linuxbawks
Member
 
Registered: Apr 2013
Distribution: Snuckware
Posts: 240

Rep: Reputation: 17
Quote:
Originally Posted by dave@burn-it.co.uk View Post
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.
Curious, what sort of application is this?
 
Old 04-08-2018, 11:51 AM   #9
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
Hands! My laptop has two bootable dive bays

Last edited by dave@burn-it.co.uk; 04-08-2018 at 11:53 AM.
 
Old 04-08-2018, 07:45 PM   #10
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,970

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by dave@burn-it.co.uk View Post
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.
Good. I have only 1 drive bay. Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
copy the IMG to the USB device and make it bootable cccc Debian 2 02-01-2011 01:11 PM
GRUB Installed in a disk without windoze and trying to boot windoze in another disk caosxxi General 13 09-07-2009 03:10 PM
How to copy OS disk of 76 GB to 146GB and make it bootable grens Linux - General 1 09-18-2008 11:25 AM
Can I make a bootable Linux CD with Netbackup client to restore Windoze egurski General 2 11-16-2007 10:26 AM
how to copy linux cd and make it bootable matt_w_lambert Linux - Software 1 03-30-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration