MSFN Forum: add ntldr from linux - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

add ntldr from linux Rate Topic: -----

#1 User is offline   patronu 

  • Junior
  • Pip
  • Group: Members
  • Posts: 85
  • Joined: 19-June 05

Posted 17 December 2010 - 01:16 AM

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.


#2 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,430
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 17 December 2010 - 04:48 AM

You can use dd allright.,

See here:
http://www.winimage....c.php?f=1&t=163
http://www.winimage....c.php?f=1&t=276

jaclaz

#3 User is offline   patronu 

  • Junior
  • Pip
  • Group: Members
  • Posts: 85
  • Joined: 19-June 05

Posted 17 December 2010 - 05:13 AM

View Postjaclaz, on 17 December 2010 - 04:48 AM, said:



so dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1 to copy
and dd whatever to write it back on a new hard drive ???

#4 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,430
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 17 December 2010 - 05:51 AM

View Postpatronu, on 17 December 2010 - 05:13 AM, said:

so dd if=/dev/hdb1 of=bootsect.lnx size=512 count=1 to copy
and 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.

#5 User is offline   patronu 

  • Junior
  • Pip
  • Group: Members
  • Posts: 85
  • Joined: 19-June 05

Posted 18 December 2010 - 04:22 AM

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??

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy