patronu Posted December 17, 2010 Share Posted December 17, 2010 can anyone help with a utility that runs from linux and is capable of changing the bootloader to ntldr? something like bootsect utility from windows. thank you. Link to comment Share on other sites More sharing options...
jaclaz Posted December 17, 2010 Share Posted December 17, 2010 You can use dd allright.,See here:http://www.winimage.info/forum/viewtopic.php?f=1&t=163http://www.winimage.info/forum/viewtopic.php?f=1&t=276jaclaz Link to comment Share on other sites More sharing options...
patronu Posted December 17, 2010 Author Share Posted December 17, 2010 You can use dd allright.,See here:http://www.winimage.info/forum/viewtopic.php?f=1&t=163http://www.winimage.info/forum/viewtopic.php?f=1&t=276jaclazso dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1 to copyand dd whatever to write it back on a new hard drive ??? Link to comment Share on other sites More sharing options...
jaclaz Posted December 17, 2010 Share Posted December 17, 2010 so dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1 to copyand dd whatever to write it back on a new hard drive ???Sure, but of course it won't work on the new hard drive, as it will probably have different size of partition or whatever, you need to change suitably the "dynamic" part, READ the post by natan on the given links, (and all the rest), the idea is to change the CODE (or "static" part) leaving UNTOUCHED the DATA (or "dynamic" part), or at least this is what you asked and what the bootsect utility actually does.jaclaz. Link to comment Share on other sites More sharing options...
patronu Posted December 18, 2010 Author Share Posted December 18, 2010 I think it's to complicated. So I tried to run bootsect using wine. the only problem is I don't know how to specify the driver letter Does wine know how to convert driver letter to something like /dev/hda?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now