It wasn't me but
$ dd if=/dev/sdb5 of=temp.dd bs=512 count=1
will do it (assuming that /dev/sdb5 is your Linux partition)
You will need LILO installed on that partition for this to work
(not on the MBR)
You could instead use a boot floppy to boot Linux and reinstall
LILO on the MBR when you are finished.
As for the tips section this is in a HOWTO - we could just mirror
Glen Gray wrote:
>> Sorry to bring this question up again as I know it's been on the list
>> I'll be testing out NT5 on my current linux box (ducks for cover) and
> want to use the "dd" command to grab my current linux only boot sector.
> However once the testing I need to do is finished I shall wish to remove
> ntldr from the mbr and put back my current boot sector.
>> So I'd appreciate it if that nice fellow who posted the command line for
> this awhile back would do it again :-D.
>> Actually why don't we put things like this up on the web page. A hints
> and tips section or something ????
>> Anyway, I look forward to being able to grab my boot sector, save it and
> restore in the near future
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
Bill Appelbe e-mail: bappelbe at iona.com
Product Development Tel. : + 353 1 637-2343
IONA Technologies USA : 1-800-orbix4u (toll free)
Shelbourne Road, IONA : + 353 1 6625255
Dublin 4, Ireland Web : http://www.iona.com
____________________________"Making software work together (tm)"____
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!