Re: [linux-audio-user] sharing files with windows and HD partition

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] sharing files with windows and HD partition
From: Frank Barknecht (barknech_AT_ph-cip.uni-koeln.de)
Date: Sat Jan 26 2002 - 03:14:11 EET


sigir hat gesagt: // sigir wrote:

> I'm new to Linux (SuSE 7.2)
> Like some others, I usualy use Windows98 for audio softwares.

You need to mount your windows partitions from linux. First find, where the
window partitions are. Execute this (maybe replacing /dev/hda with the
drive you want to share)

$ /sbin/fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot Start End Blocks Id System
/dev/hda1 * 1 62 497983+ 6 FAT16
/dev/hda2 63 789 5839627+ 5 Extended
/dev/hda5 63 131 554211 6 FAT16
/dev/hda6 132 142 88326 83 Linux
/dev/hda7 143 146 32098+ 83 Linux
/dev/hda8 147 172 208813+ 83 Linux
/dev/hda9 173 274 819283+ 6 FAT16
/dev/hda10 275 376 819283+ 6 Win95 FAT32

Here you see 3 FAT16 partitions and one FAT32 partition. To linux it
doesn't matter if it's FAT16 or FAT32, those are the Windows partitions.

To mount them, you need so called mount points, which are directories
inside your linux filesystem tree. Unsually they are kept under /mnt
Just make as many dirs as you need there:

$ mkdir /mnt/c /mnt/d /mnt/e

Now you can test mounting with this command as root:

# mount /dev/hda1 /mnt/c

This means: 'Linux, put /dev/hda1 under the directory /mnt/c' and hey,
it's so smart, it knows by itself, that this is a "vfat" filesystem.

You won't want to issue this command every time you boot, so this needs to
go into the filesystem config file, and that's /etc/fstab

You can simply edit this file and put lines like these at the end:

/dev/hda1 /mnt/c vfat codepage=850
/dev/hda5 /mnt/d vfat codepage=850

maybe you need another codepage, that one is used here in germany.

Now you have your windows partitions handy after each reboot.

bye,

-- 
                                                 __    __
 Frank Barknecht       ____ ______   ____ __ trip\ \  / /wire ______
                      / __// __  /__/ __// // __  \ \/ /  __ \\  ___\	
                     / /  / ____/  / /  / // ____// /\ \\  ___\\____ \	
                    /_/  /_____/  /_/  /_//_____// /  \ \\_____\\_____\
                                                /_/    \_\ 


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Jan 26 2002 - 03:05:52 EET