<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <HTML> <HEAD> <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9"> <TITLE>NT OS Loader + Linux mini-HOWTO: The Linux part of the work</TITLE> <LINK HREF="Linux+NT-Loader-6.html" REL=next> <LINK HREF="Linux+NT-Loader-4.html" REL=previous> <LINK HREF="Linux+NT-Loader.html#toc5" REL=contents> </HEAD> <BODY> <A HREF="Linux+NT-Loader-6.html">Next</A> <A HREF="Linux+NT-Loader-4.html">Previous</A> <A HREF="Linux+NT-Loader.html#toc5">Contents</A> <HR> <H2><A NAME="s5">5. The Linux part of the work</A></H2> <P>You have to boot from diskettes until the NT-part is fixed. <P> <P>Now you have to peel the bootsector from your Linux-root-Partition. With /dev/hda2 as your linux-partition, the dd-command is: <P> <BLOCKQUOTE><CODE> <PRE> # dd if=/dev/hda2 of=/bootsect.lnx bs=512 count=1 </PRE> </CODE></BLOCKQUOTE> <P>There is something wrong if your bootsect.lnx has more than 512 bytes. <P>Now copy the file bootsect.lnx to a DOS-formated floppy if this is your way to transfer files to the NTFS-Windows-partition. <P>You can copy it with <P> <BLOCKQUOTE><CODE> <PRE> # mcopy /bootsect.lnx a: </PRE> </CODE></BLOCKQUOTE> <P>or with <P> <BLOCKQUOTE><CODE> <PRE> # mount -t msdos /dev/fd0 /mnt # copy /bootsect.lnx /mnt # umount /mnt </PRE> </CODE></BLOCKQUOTE> <P> <P> <HR> <A HREF="Linux+NT-Loader-6.html">Next</A> <A HREF="Linux+NT-Loader-4.html">Previous</A> <A HREF="Linux+NT-Loader.html#toc5">Contents</A> </BODY> </HTML>