programs on my drive D: that I got off the internet and want to install
in linux. However, I don't have a clue as to how to access this drive
while running linux. [I must mention that I am very new to linux.] If
anybody knows how I can access the win95 partition of this second hard
drive, I would really appreciate the help. Also, the reason I had to
use the internet in windows is because I have a winmodem. Thanks in
advance.
Trevor
You have to do the following things:
1. Check if your kernel is compiled with vfat filesystem support.
(/proc/filesystems)
2. Find the windows 95 partition (either hdxy (IDE) or sdaxy (SCSI))
(/proc/partitions)
3. Mount the windows 95 partition to a directory of your choice. (e.g.
"mount -t /dev/sda3 /mount/windows" -- make sure, that the mount point
/mount/windows exist.
4. Fill up the File /etc/fstab with the additional line for mounting the
windows partition at every startup: (for example
/dev/hda1 /windows98 vfat defaults 1
1)
good luck, Eduard.
>Trevor Tinker wrote:
>>
>> Here's my situation: I have windows installed on drive C: and I have a
>> second hard drive that has 3 partitions. The first/main partition,
>> drive D:, is a win95 fat32 partition. The second is my linux native
>> partition and the third is the linux swap. There are linux packages and
>>
>> programs on my drive D: that I got off the internet and want to install
>> in linux. However, I don't have a clue as to how to access this drive
>> while running linux. [I must mention that I am very new to linux.] If
>> anybody knows how I can access the win95 partition of this second hard
>> drive, I would really appreciate the help. Also, the reason I had to
>> use the internet in windows is because I have a winmodem. Thanks in
>> advance.
>You have to do the following things:
>1. Check if your kernel is compiled with vfat filesystem support.
>(/proc/filesystems)
>2. Find the windows 95 partition (either hdxy (IDE) or sdaxy (SCSI))
>(/proc/partitions)
>3. Mount the windows 95 partition to a directory of your choice. (e.g.
>"mount -t /dev/sda3 /mount/windows" -- make sure, that the mount point
>/mount/windows exist.
>4. Fill up the File /etc/fstab with the additional line for mounting the
>windows partition at every startup: (for example
>/dev/hda1 /windows98 vfat defaults 1
>1)
I don't know if I'd mount it always, but you can put a line in fstab that will
let you shorten the mount command a bit. For example, the line:
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
will let you mount the cdrom with this command:
mount /mnt/cdrom
instead of this command:
mount -t iso9660 /dev/cdrom /mnt/cdrom
This assumes /dev/cdrom is a symbolic link to the correct device, such as
/dev/hdc.
And to mount without anything in fstab, assumming your 2nd drive is the slave
disk on your primary IDE controller, the syntax is "mount this type of device
here", or:
mount -t vfat /dev/hdb1 /mnt/dos
where the first partition on your 2nd drive is a win9x partition, and the
directory /mnt/dos already exists. This works for both fat16 and fat32
partitions. If you do "mount -t msdos" it mounts in 8.3 mode; if you do
"mount -t vfat" you get long filename support. However, the DOS file
attributes get mapped to the executable bit being set for all files, so you'll
have to chmod the files after you copy them to your linux partition.
Steve