54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>UMSDOS HOW-TO: Setting a Linux section in a DOS partition</TITLE>
|
|
<LINK HREF="UMSDOS-HOWTO-9.html" REL=next>
|
|
<LINK HREF="UMSDOS-HOWTO-7.html" REL=previous>
|
|
<LINK HREF="UMSDOS-HOWTO.html#toc8" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="UMSDOS-HOWTO-9.html">Next</A>
|
|
<A HREF="UMSDOS-HOWTO-7.html">Previous</A>
|
|
<A HREF="UMSDOS-HOWTO.html#toc8">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s8">8. Setting a <EM>Linux</EM> section in a <EM>DOS</EM> partition</A></H2>
|
|
|
|
<P><EM>Umsdos</EM> has some use even for <EM>Ext2</EM> (Native <EM>Linux</EM>
|
|
file-system) users. One common scenario is this:
|
|
<P>
|
|
<UL>
|
|
<LI><EM>Linux</EM> being your <EM>OS</EM> of choice, the <EM>Linux</EM>
|
|
partition start to fill and fill and fill.</LI>
|
|
<LI>Your <EM>DOS</EM> partition is collecting dust, being half empty.</LI>
|
|
<LI>You are suddenly out of space in the <EM>Ext2</EM> partition.</LI>
|
|
<LI>You are still not sure you want to get rid of <EM>DOS</EM>.</LI>
|
|
</UL>
|
|
<P><EM>Umsdos</EM> may save the day here. You can setup a <EM>Linux</EM>
|
|
directory in the <EM>DOS</EM> partition and use it without restriction
|
|
for <EM>Linux</EM> usage. For example, say you want to setup a new
|
|
directory named <CODE>"extra"</CODE> in your <CODE>C:</CODE> drive. And you want this
|
|
directory to behave as a normal <EM>Linux</EM> directory. Do this
|
|
(assuming that C: is /dev/hda1).
|
|
<P>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
mkdir /c
|
|
/sbin/mount -t umsdos /dev/hda1 /c
|
|
mkdir /c/extra
|
|
umssync /c/extra
|
|
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
<P>You must be root to do this.
|
|
<P>By setting up <CODE>/etc/fstab</CODE> like this, you will always
|
|
have access to the <CODE>/c/extra</CODE> directory.
|
|
<P>
|
|
<P>
|
|
<HR>
|
|
<A HREF="UMSDOS-HOWTO-9.html">Next</A>
|
|
<A HREF="UMSDOS-HOWTO-7.html">Previous</A>
|
|
<A HREF="UMSDOS-HOWTO.html#toc8">Contents</A>
|
|
</BODY>
|
|
</HTML>
|