Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 2597

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<HTML
><HEAD
><TITLE
>Removing Linux and restoring your Windows partition to its Original
      state</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="Linux Installation Strategies mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Setting up Loadlin"
HREF="x349.html"><LINK
REL="NEXT"
TITLE="XFree 4.01"
HREF="x445.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Installation Strategies mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x349.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x445.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN412"
>12. Removing Linux and restoring your Windows partition to its Original
      state</A
></H1
><P
>Depending on whether you are using <SPAN
CLASS="APPLICATION"
>Lilo</SPAN
>
      or <SPAN
CLASS="APPLICATION"
>Loadlin</SPAN
> the method differs
      slightly. <SPAN
CLASS="APPLICATION"
>Lilo</SPAN
> users have to first restore
      their original <SPAN
CLASS="ACRONYM"
>MBR</SPAN
> either by typing <B
CLASS="COMMAND"
>/sbin/lilo
	<TT
CLASS="OPTION"
>-u</TT
></B
> within Linux or typing <B
CLASS="COMMAND"
>fdisk
	<TT
CLASS="OPTION"
>/MBR</TT
></B
> in <SPAN
CLASS="ACRONYM"
>DOS</SPAN
>. The next steps
      are common for both <SPAN
CLASS="APPLICATION"
>Loadlin</SPAN
> and
      <SPAN
CLASS="APPLICATION"
>Lilo</SPAN
> users. These are not really neccessary but
      just to be on the safe side I do them all the same.</P
><P
>Boot using the Linux installation CD and type <TT
CLASS="USERINPUT"
><B
>Linux
	expert</B
></TT
> at the first prompt, answer whatever you wish to the
      next questions until you get to the install selection screen. Here select
      <EM
>Install</EM
> and <EM
>With Fdisk</EM
> and use
      <SPAN
CLASS="APPLICATION"
>Fdisk</SPAN
> to delete all Linux partitions. Write the
      changes to disk and
      <B
CLASS="KEYCAP"
>Ctrl</B
>&#8211;<B
CLASS="KEYCAP"
>Alt</B
>&#8211;<B
CLASS="KEYCAP"
>Delete</B
>
      your way out of the installation program or reset your system to
      reboot. Remember to change the <SPAN
CLASS="ACRONYM"
>BIOS</SPAN
> settings to boot
      from the hard disk or else you will reboot from the
      <SPAN
CLASS="ACRONYM"
>CDROM</SPAN
> again.</P
><P
>Reboot once again, this time with the
      <SPAN
CLASS="APPLICATION"
>fips</SPAN
> disk that has the backup of your partition
      table and boot sector &#8211; you saved it, didn't you? &#8211; and type
      <B
CLASS="COMMAND"
>restorrb</B
> at the prompt. Answer
      <TT
CLASS="USERINPUT"
><B
>yes</B
></TT
> to the question, the program will restore your
      partition table and boot sector and you can pat yourself on the back for
      accomplishing the impossible &#8211; reclaiming lost partition space! This
      is all the more reason for making sure that the crucial backup file
      (<TT
CLASS="FILENAME"
>Rootboot.000</TT
>) is saved in at least
      <TT
CLASS="LITERAL"
>5</TT
> different locations. You can never be too
      careful. Reboot back into Windows and run
      <SPAN
CLASS="APPLICATION"
>scandisk</SPAN
> on the newly increased
      <I
CLASS="MEDIALABEL"
>C</I
> drive. It will report one error in the
      <SPAN
CLASS="SYSTEMITEM"
>fsinfo</SPAN
> sector which is just a used and free space
      accounting error. Your Linux data is now naturally lost for
      ever. Hopefully this procedure won't be neccessary unless you are
      increasing space allocated to Linux or getting rid of Windows.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x349.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x445.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Setting up <SPAN
CLASS="APPLICATION"
>Loadlin</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><SPAN
CLASS="APPLICATION"
>XFree 4.01</SPAN
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>