Mounting other harddrives
My Linux O/S is runnig as a slave & i have another harddrive partitioed with Win 98 & 2000 pro. This is master. I am booting into linux & wanting to mount this other hdd to get some files off it .
Doing a fdisk i see the following info /dev/hda1 * Win 95 fat32 /dev/hda2 Win95 Ext/d but when i try mount /dev/hda1 or 2 i get the following error mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab This is repeated for hda2.. I know the fstab file but don't want to play with it unknowingly because of the repercusssinoms it can have.. Can anyone suggest what i am sposed to add into this file Regards Andrew |
you first need to make a Folder in your /mnt folder....call it Windows just for the sake of it....then do the same thing but add
/mnt/Windows, so you'll have mount /dev/hda1 /mnt/Windows |
first of all create a directory in /mnt directory called win98 <or whatever you want to call it>
then do a: mount -t vfat /dev/hda1 /mnt/win98 this is the normal structure of a mout command: mount -t <filesystem type> <device> <directory to be mounted to> do the smae thing as the first command to mount your other harddisk, but create another directory to mount it to, like win2k. Also the above assumes that the windows is a FAT partition, not a NTFS. If it is NTFS make sure that NTFS support is added in your kernel, and then replace vfat with ntfs. |
Thanks for that. I have done what you said but it is now saying
mount: you must specify the filesystem type |
if i do it on /dev/hda1 /mnt/windows
i get mount: fs type vfat not supportd by kernel |
did you add the -t flag?
mount -t vfat ....? if it still wont support it...that meants you gotta compile your kernel with vfat support... |
sorry...on my original message I forgot to add the -t vfat..., like Sfin said.
zlinuxz |
If you don't want to recompile your kernel, try replacing vfat with msdos, only difference that I saw is that msdos filesystem doesn't support long names.
|
What i am stuck on is this. I had some tulip driver eth0 card in my machine & even though it ran fine under RH 6.1 i couldnt get it going on an install of RH 7.2. Thinking that i can swap hardware in & out of my system I threw in a realtek eth0 card i had. It now works fine with this. I have needed to put my 6.1 system back for the moment & thought that kudzu would just remove the one card & add the other (which it did) but now no network activity. I have d/led drivers for this other card & thrown them on a floppy & mounted the floppy but if i have these drivers as an RPM file how do i copy to the mounted floppy disk ??
I have tried cp (filename) /dev/fd0/filename but the doesnt work. How do you do this ??? Thanx Andrew |
Please ignore the above post. Worked it out. Sorry i am confusing myself here..
|
All times are GMT -5. The time now is 10:55 PM. |