BrainDump
  Home arrow BrainDump arrow Page 4 - Rescue Me!
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Rescue Me!
By: Peter Lavin
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 36
    2005-01-18

    Table of Contents:
  • Rescue Me!
  • Creating a Bootable Diskette
  • Booting From a Legacy Device
  • Mounting a Drive
  • Copying Files

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Rescue Me! - Mounting a Drive
    (Page 4 of 5 )

    By now you are probably itching to look at your Windows file system, especially if you’ve never seen it from Linux before. To do this, the file system needs to be mounted, and in order to be mounted it needs a mount point. What this boils down to is that you need to create a directory and mount a specific file system on this directory. It is conventional to create mount points in the mnt directory. If you are at the root directory and issue the command ls you should see this directory. Make it your working directory by typing cd mnt. You’ll find that there are no subdirectories here but we are going to make one. Again the command is identical to the DOS command. Type mkdir cdrive and press Enter. Now list the contents of the current directory to see the newly created directory. There you go. You’ve created a directory that will be the mount point for the Windows file system.

    Please remember, though, that you are working with a RAM drive, so the changes you are making and directories you are creating won’t be there the next time you boot from the diskette.

    At this point you need to know something about the way that your hard drive is organized. If you are only running Windows and have not partitioned your drive then your C: drive will be referenced from Linux as hda1 and the command to mount this file system is mount /dev/ hda1 /mnt/cdrive –t msdos. Try it. You’ll only see a message if you’ve made an error. Now change directories to the /mnt/cdrive directory. Not sure where you are? Determine your present working directory by typing pwd. To look at your Windows files you simply need to change to the /mnt/cdrive directory and use the ls command. Savour the moment if this is the first time that you have seen a Windows partition from Linux.

    If you are running Linux then I’ll assume you know which drive to mount. Again, if you only have one partition then it will be hda1.

    You should always unmount a drive when you are finished. Your C: drive would be unmounted by typing umount /dev/hda1. Make sure the drive you are trying to unmount is not your present working directory or you’ll get a “drive busy” error.

    More BrainDump Articles
    More By Peter Lavin


       · Ever hear of <a href="http://www.knoppix.net">Knoppix?</a> It's pretty much...
       · I think the article is out of date. Better methods of system recovery now exist such...
       · There is a free online book...
       · The URL link to Knowing Knoppix did not work. It can be found at...
       · Better is in the eye of the beholder. There are many ways to skin a cat, this...
     

       

    BRAINDUMP ARTICLES

    - Outsourcing: the Hoopla, the Reality
    - MySQL Plays in the Sun
    - All About SQL Functions
    - SQL: Functioning in the Real World
    - More Advanced SQL Statements
    - Beginning SQL the SEQUEL: Working with Advan...
    - Beginning SQL
    - A Look at the VI Editor
    - A Quick Tour of Boo
    - Book Review: Open Source Licensing
    - PGP and GPG: Email for the Practical Parano...
    - Microsoft Continues War on Open Source
    - Secure Remote Desktop Sharing with VNC on Li...
    - A Look at Google Project Hosting
    - What we can Learn from Two Linux vs. Microso...

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway