Sophie

Sophie

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

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

<HTML
><HEAD
><TITLE
>Modify /new-disk/etc/fstab as appropriate</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.56"><LINK
REL="HOME"
TITLE="Hard Disk Upgrade Mini How-To"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Copy the files from the old disk to the new disk"
HREF="copy.html"><LINK
REL="NEXT"
TITLE="Prepare LILO to boot the new disk"
HREF="prepare.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"
>Hard Disk Upgrade Mini How-To</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="copy.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="prepare.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="MODIFY"
>8. Modify <TT
CLASS="FILENAME"
>/new-disk/etc/fstab</TT
> as appropriate</A
></H1
><P
>If your new disk doesn't have the same partitions or organization as the
      old disk, modify the file <TT
CLASS="FILENAME"
>/new-disk/etc/fstab</TT
> on the
      new disk as appropriate.</P
><P
>Make sure that the disk partitions (first column) correspond to the
      organization you'll have with the new disk, once the old disk has been
      removed, and that you're only mounting one partition at 
      <TT
CLASS="FILENAME"
>/</TT
> as shown in the second column.</P
><P
>For more information on the format of the file 
      <TT
CLASS="FILENAME"
>/etc/fstab</TT
>, see the Linux System Administrator's
      Guide, section 4, under <I
CLASS="EMPHASIS"
>Mounting and unmounting</I
>.</P
><P
>For swap partitions, use a line similar to this one:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>/dev/hda1   swap    swap    defaults    0  0</PRE
></TD
></TR
></TABLE
>
    </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="copy.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="prepare.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Copy the files from the old disk to the new disk</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Prepare <SPAN
CLASS="ACRONYM"
>LILO</SPAN
> to boot the new disk</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>