LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how would i mount this in fstab? (https://www.linuxquestions.org/questions/linux-general-1/how-would-i-mount-this-in-fstab-31411/)

aaronluke 09-28-2002 08:42 PM

how would i mount this in fstab?
 
im trying to get some files out of three cds cd 1 2 3 but first i have to mount them all the directories are created and the iso in located in my win98 dir, i cd into my iso and i input this

mount -t iso9660 walhalla-i386-disc1.iso/rhiso/cd1 -o ro loop
(rhiso is the file i made when i hit enter it says mount point does not exist.

i know i have to pico /etc/fstab

can someone help me out with what to put in the 5 sections, in the first section i have to put hda7

i dont know what to put in the second colum or the 3rs or 4th but the fifth is 0 0

i need to do this for cd 1, 2, 3

i need to get wu-ftp and samba out of these disk
and install them

i know this might sound confusing sorry any help would be appreciated :cry:

DavidPhillips 09-28-2002 10:57 PM

First of all you do not burn iso files directly on the cd, you need to extract the image to the cd, but I guess that's what it sounds like you have there.

I will call your cdroms /dev/cdrom0, /dev/cdrom1, /dev/cdrom2
since I don't know what the device names are, you may want to link them to those names anyway if their not already


make a place to mount them

mkdir /mnt/cdrom0 /mnt/cdrom1 /mnt/cdrom2

mount the cdroms

mount -t iso9660 /dev/cdrom0 /mnt/cdrom0
mount -t iso9660 /dev/cdrom1 /mnt/cdrom1
mount -t iso9660 /dev/cdrom2 /mnt/cdrom2

make a place to mount the iso files

mkdir /mnt/iso0 /mnt/iso1 /mnt/iso2

mount the iso files ( use the correct names )

mount -o loop /mnt/cdrom0/*.iso /mnt/iso0
mount -o loop /mnt/cdrom1/*.iso /mnt/iso1
mount -o loop /mnt/cdrom2/*.iso /mnt/iso2


There is no need to use fstab unless you are making a mount point permanent


All times are GMT -5. The time now is 04:03 PM.