Linux n00b need help!

DaiShan

Diamond Member
Jul 5, 2001
9,617
1
0
Yesterday I was bored so I decided to power up my old compaq and install Redhat 6.1 on it (since I had a book for it) anyways, I went through the install, now according to the book I need to mount the cd-rom drive so I can install other stuff I want, I type at root mount /dev/hdb /mnt/cdrom and it tells me I must specify a filesystem type, how do I do this? TIA hopin to get into linux ;)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Get accustomed to the man pages, they're the docs for all (well, most) of the commands on the system. type 'man mount' to read the manual page for the mount command, you'll get answers there a lot quicker than here =)
 

BlackOmen

Senior member
Aug 23, 2001
526
0
0
whew, and I thought I was the only one who giggled like a little schoolgirl when entering man mount to find an option
 

DaiShan

Diamond Member
Jul 5, 2001
9,617
1
0
yah I know, I didn't want to laugh because I am such a newb, anyways, man didn't make much sense to me, it was like 5 pages long, is there a basic option, I mean I just want to be able to use the cd-rom so I can install the rest of the things, you would think this book would have done enough research to actually get it right....
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< yah I know, I didn't want to laugh because I am such a newb, anyways, man didn't make much sense to me, it was like 5 pages long, is there a basic option, I mean I just want to be able to use the cd-rom so I can install the rest of the things, you would think this book would have done enough research to actually get it right.... >>


what you're looking for is the 'options' section, where it displays all the options you can specify on the command line. the one you'll want is -t.

-t vfstype
The argument following the -t is used to indicate
the file system type. The file system types which
are currently supported are: adfs, affs, autofs,
coda, coherent, cramfs, devpts, efs, ext, ext2,
ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs,
nfs, ntfs, proc, qnx4, reiserfs, romfs, smbfs,
sysv, tmpfs, udf, ufs, umsdos, vfat, xenix, xfs,
xiafs. Note that coherent, sysv and xenix are
equivalent and that xenix and coherent will be
removed at some point in the future -- use sysv
instead. Since kernel version 2.1.21 the types ext
and xiafs do not exist anymore.

so basically this;

mount -t iso9660 /dev/hdxx /mnt/cdrom

but for future reference, get used to reading man pages, if you post every question here you will never learn anything (at least not very quickly)
 

Tiger

Platinum Member
Oct 9, 1999
2,312
0
0
You didn't specify a filesystem with the mount command.

Try this,
mount -t iso9660 -r /dev/hdb /mnt/cdrom. The -r sets the filesystem as read only which makes sense for a CD drive.

Put the CD in the drive before issueing the command and make sure you unmount it before removing the disk.
The command is umount /mnt/cdrom

 
Mar 14, 2002
54
0
0
If you plan on repeating this many times (ie: if you ever plan on using the cd again), I'd suggest adding an entry to your /etc/fstab file specifically for the cdrom drive. Make sure you label it "no auto", so it doesnt try to mount at boot.


A sample entry would look like:


(the device) (mountpoint) (type) (options ) (pass, etc)
/dev/hdxx /mnt/cdrom iso9660 ro,noauto,nosuid 0 0
 

matheusber

Senior member
Jun 12, 2001
380
5
81


<< You didn't specify a filesystem with the mount command.

Try this,
mount -t iso9660 -r /dev/hdb /mnt/cdrom. The -r sets the filesystem as read only which makes sense for a CD drive.

Put the CD in the drive before issueing the command and make sure you unmount it before removing the disk.
The command is umount /mnt/cdrom
>>



on my slack 8 ( worked also in 7.0 ) i just type:

mount /dev/cdrom /cdrom ... and nothing else ... just as in a regular file system ...

when this doesnt work, i lost that partition ( hd of course )

matheus