Linux is a bit different when it comes to recognizing partitions.  It
does not assign a drive letter automatically (As you already know).  You
must know what partitons are what, and then you can mount them yourself
in linux anywhere you want.  First grab a copy of Partition Magic or
something and write down what the individual partitions are, then you
can decide where you want to mount them.  The next part is the actual
mounting of the partitions.  On my system I have a fairly clean setup
with LM on the second partitons on my scsi drive (/dev/sda2), a 128mb
swap partition on /dev/sda3, and fat32 partitions on /dev/sda1, and
/dev/hda1.  Now you will probably want to set up the drives to mount at
boot, you can do this with /etc/fstab.  Just open it with any old
editor....I like pico, but that's my opinion.  I'll paste my /etc/fstab
below with comments.

***********************************************************
/dev/sda2       /               ext2    defaults        1 1  <-----  This is my root 
partition, LM
set this up my itself
/dev/sda3       swap            swap    defaults        0 0  <-----  Same with my swap 
partition
/dev/fd0        /mnt/floppy     auto    sync,user,noauto,nosuid,nodev,unhide    0 0 
<---- This is the floppy drive
/dev/cdrom      /mnt/dvd        auto    user,noauto,nosuid,exec,nodev,ro        0 0  
<----
***See #1 Below***
/dev/scd0       /mnt/cdrom      auto    user,noauto,nosuid,exec,nodev,ro        0 0  
<----
This is a 32x SCSI CD-ROM
/dev/scd1       /mnt/cdr        auto    user,noauto,nosuid,exec,nodev,ro        0 0  
<---- This
is a SCSI CD-R
/dev/sda1       /dos_c          vfat    defaults        0 0  <---- ***See #2 Below***
/dev/hda1       /dos_d          vfat    defaults        0 0  <---- Nothing special 
here, just an
IDE FAT partition
/dev/sdb4       /mnt/zip        vfat    defaults        0 0  <---- This is an Iomega 
SCSI Zip
none            /proc           proc    defaults        0 0  <---- Not sure what this 
is, never
messed with it ;)
none            /dev/pts        devpts  mode=0622       0 0  <---- Same as above.
***********************************************************
Due to word wrapping, it will probably look a bit messed up, please deal
with it.

#1 - This is my IDE DVD-ROM, it's on the secondary master IDE port
(/dev/hdc) and was hardlinked to /dev/cdrom by LM
#2 - Ok, This is what you want.  This is a standard line to mount a FAT
partition with LFN support (if you compiled the kernel with the proper
options)

Ok, now that that is overwith, here is another problem I came across
whereas when I booted up into linux all I got across the top of the
screen was "LI" and nothing else.  It was NOT just lilo freezing up, but
rather an error message from the computer about how the drives were
reported.  Linux is real picky when it comes to this.  You would come
across this problem when you have a mixed IDE and SCSI setup like I
have.  The BIOS was set to boot from the SCSI drive but linux thought
the IDE drive was the boot drive, hence the problem.  The fix is a
simple addition to /etc/lilo.conf.  I'll paste an example below with
comments.

***********************************************************
boot = /dev/sda2
compact
prompt
append="mem=128M nopnp"   <---- The "mem=128M" is required to recognize
more than 64MB ram
disk=/dev/sda  <---- These two lines tell lilo that the first scsi
device is the boot drive or drive C in dos
  bios=0x80
disk=/dev/hda  <---- These two lines tell lilo that the IDE Drive on the
primary master is drive D in dos
  bios=0x81
default = linux
timeout=100
root = /dev/sda2
read-only
map=/boot/System.map
image = /vmlinuz
  label = linux
***********************************************************
Another example of that wonderfull thing called word wrapping =\

As you can see, this one is only slightly modified from the original. 
The only things I changed have comments.

Anyway, I hope that this answered your question, and made it a little
easier to understand.  For those who already knew everything here,
thanks for putting up with the LONG message, it was necessary.

Peace 8^)
Jack Hain

ibi wrote:
> 
> I have a thorny newbie question about CPU's and multiple drives.
> 
> 1- Is Mandrake6.0 okay with AMD K6-3 CPU? The hardware list has K, K6-2
> and Athalon but no mention of the K6-3, which is an upgraded K6-2.
> 
> My friend and I are learning Linux together. We both have multiple
> drives and Windows loaded, but different configurations and this is
> where the thorny part begins. We both want to access Windows files, but
> can't seem to find the /mnt point.
> 
> John has 3-drives. W95 is on the main drive; LINUX on the 3rd drive, a
> secondary master. /mnt/Hdc1 doesn't work. The file size is read but he
> gets the same error message I do that asks, "Aren't you trying to mount
> a ? partion instead of a ? inside?"
> 
> My system is a little more complicated. My master drive has multiple W98
> paritions plus L-M at the end of this drive which is recognized as hda9
> and hda11. The second drive is a slave. The MO backup is the Secondary
> Master and is NOT recognized by L-M.
> 
> When I watch L-M set up I see the following lines:
> 1)hda 1,2 <5,6,7,8,9,19,11>
> 2)hdb 1<5,6> (backup files)
> 3)hdc Unknown
> 
> I think 1) is the A:, C: plus the <paritions including EXT2>.
> I think line 2) is the secondary drive with it's two partitions
> And, I hope 3) is the MO drive.
> 
> What is the correct mount for the two machines? I have FAT 16 and FAT32
> files in W98. Will vfat allow me to access both files type?
> 
> Thanks for the help and I apologize for the lengthy message.
> 
> Pj
> [EMAIL PROTECTED]

Reply via email to