|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Mini question
Okay i have everything working now - never thought i would every say that but i have :-))))
I have one small problem though, i have two hard drives on this beast and i can only seem to access one at the moment, the other one is a fat32 drive - which sa im aware linux reads all file formats so shouldnt be a problem where shall i look for this, i no its really stupid but i am extremly new at this i would of though dev/hdb or something but again im new (& blond) :-) (and for anyone that remembers me - i got my usb adsl modem working !!!!!!!) Thanks all |
|
|
|
|
|
#2 |
|
Member (13 bit)
Join Date: Jul 2000
Location: Fullerton, CA
Posts: 7,030
|
Hi BP,
Have you mounted the drive first? |
|
|
|
|
|
#3 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
You need to mount the drive.
Assuming that the FAT32 hard disk is the slave one, and that it uses IDE: Step 1: Create an empty folder, you can create it wherever you like, but usually /mnt/ is used, so let's create a folder called fathd in /mnt/. Step 2: Switch to super user mode by using the su command and type: mount -t vfat /dev/hdb1 /mnt/fathd Now, move to /mnt/fathd, you'll be able to access the files on the first partition, to access the second partition, you need to use /dev/hdb2 in the mount command, and so on. When you are done, you need touse the umount command, switch to super user and type: umount /mnt/fathd If you are using a SCSI drive, use /dev/sdb1 instead of /dev/hdb1 in the mount command. HTH |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Ah that is great, you cleared up two things in one then
(i wondered wot SU Root meant in all these tutorials i've been reading - now i no) :-) Thats really sound though, thx loads (is there a way to have it do it automatically on bootup?) |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
You need to edit /etc/fstab to do it automatically, open /etc/fstab using the text editor you like and entries for your second hard disk, you need to be root to do so.
|
|
|
|
|
|
#6 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Right i have my fstab file - it looks like
LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda3 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 /dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 So if i want to have my second harddrive in there too would te extra line look something like /dev/hdb1 /mnt/files vfat Whats missing in this line? |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
You need to add:
/dev/hdb1 /mnt/files vfat auto This line will mount /dev/hdb1 to /mnt/files when Linux is started. HTH |
|
|
|
|
|
#8 |
|
Member (9 bit)
Join Date: Jan 2002
Location: UK
Posts: 389
|
Thx loads :-)
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|