Solved

Simple question

Posted on 1999-01-09
2
275 Views
Last Modified: 2010-05-18
Now, I have both windows 95 and OpenLinux Base 1.2 on my harddisk. I want to copy or move some files from windows 95 to Linux that are greater than 1.44M. How can I do that? Can I access the files from Windows 95 or from Linux?

Thanks!
0
Comment
Question by:mscproj
2 Comments
 

Accepted Solution

by:
win95o earned 50 total points
ID: 1639101
Yes, you can access Windows95 partitions from Linux.  To do this, you would have to mount the partition using the mount command.  First, you must determine the partition name of the partition you wish to access.  For me, it is /dev/hda5 because the Windows partition I want to access is the first logical partition.  But since you probably would want to mount a primary partition that windows boots off of, it would most likely be /dev/hda1.  You can check which partitions are available by running 'fdisk' (from Linux) and while in fdisk press 'p' to print the partition table.  It should show the available partitions on you primary master hard drive (if you have more than one physical hard disk, you have to run fdisk with the name of the device:  /dev/hdb is primary slave, /dev/hdc is secondary master, /dev/hdd is secondary slave.  So if your hard drive that you want to check with fdisk is the primary slave, you would type 'fdisk /dev/hdb').  Check which partition is your windows partition.  Once you have figured this out, create a mount directory for your partition to be mounted in.  Usually you would do this in the /mnt directory.  So, if you wanted to put it in /mnt/hda1 you would type 'mkdir /mnt/hda1'.  If you want to mount more than one partition, you should create multiple directories. Once you have the directory created, you can mount the partition by typing 'mount [device name] [mount directory]', so you would type something like 'mount /dev/hda1 /mnt/hda1'.  Then your partition will be accessable from the /mnt/hda1 partition.  You should know, however, that Linux cannot access windows long files names, so files and directories with filenames longer than 8 characters and 3 characters in the file extension will appear with a ~1 or some other number and not the entire filename.  Linux will still be able to read and write to these direcories and files, but their names will not be completely visible.  If you write filenames to your windows partition that are longer than 8 characters, windows will not be able to read them properly.  Scandisk (from dos/windows) should be able to fix such problems if you accidently put a file with a name longer than 8 characters on your windows partition.  That should basically cover it.  There is one major concern, however, with Linix af FAT32.  Caldera 1.2 comes with kernel 2.0.33.  This kernel is incapable of reading and writing FAT32 partitions.  All DOS/Windows partitions that are greater than 2GB are FAT32.  If you wish to read/write FAT32 partitions you must obtain linux kernel 2.0.35 or newer.  Caldera 1.3 comes with 2.0.35. There is an easy to use upgrade and script for kernel 2.0.36 abilable from Caldera at: http://www.calderasystems.com/support/library/openlinux-1.3-010.5.html, although this may be for Caldera 1.3.  You can always download a newer kernel and install it on your system.  You should see the the kernel HOWTO for this (this should be included with Caldera OpenLinux 1.2).  That really should cover what you need to know about mounting partitions.
0
 

Author Comment

by:mscproj
ID: 1639102
Thanks! I get it!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question