LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-20-2007, 09:43 PM   #1
AP81
Member
 
Registered: Mar 2005
Posts: 38

Rep: Reputation: 15
Using DD ...


Hi Guys,

I have made a dual boot Windows/Linux setup that has works just fine. These are production level systems that are cloned and send to clients on a large scale.

The Windows boot.ini boots a file called linux.bin to boot the Linux partition. When I clone the drive (using commercial cloning hardware), if the target drive geometry is different the Linux partition becomes unbootable. When this happens, I have to use dd (dd if-/dev/hda3 of=/tmp/linux.bin bs=1 count=512) to create a new linux.bin file, then I copy it back over to the Windows partition so boot.ini can boot this file.

Although I have automated this via a boot disc, it would make everyones life easier if I could do this through windows.

So my question is:
Is there any Windows software than can do this? All I really need to is to take the first 512 bytes off partition 4 and save this to a file.

Thanks,
Adam
 
Old 11-20-2007, 10:16 PM   #2
AP81
Member
 
Registered: Mar 2005
Posts: 38

Original Poster
Rep: Reputation: 15
I found a program called bootpart that does the trick, however it adds some text to the bootsector. Damn it!
 
  


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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:08 PM.

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