Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

add ntldr from linux

- - - - -

  • Please log in to reply
4 replies to this topic

#1
patronu

patronu

    Junior

  • Member
  • Pip
  • 86 posts
  • Joined 19-June 05
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.


How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,660 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
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
patronu

patronu

    Junior

  • Member
  • Pip
  • 86 posts
  • Joined 19-June 05

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


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
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,660 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

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
patronu

patronu

    Junior

  • Member
  • Pip
  • 86 posts
  • Joined 19-June 05
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??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users