Article View: apana.lists.os.linux.debian.user
Article #3Re: In the beginning .... A beginners cry for help!!!
From: Henrik Storner
Date: Sun, 15 Feb 1998 00:00
Date: Sun, 15 Feb 1998 00:00
92 lines
3965 bytes
3965 bytes
In <6c709t$bkq$1@news1.inet.tele.dk> "Arne Haaning" <haaning@post1.tele.dk> writes: >I'm new at this - posting in newsgroups as well as linux. >I have installed the Debian Linux 1.3 and im hopelessly stuck! >I can't connect to my SCSI CD-ROMs > HP CD.Writer 6020i and Matshita cr-508. > Both connected to adaptec 2940 - found during boot-sequence. >My floppy wont talk to me (fd?? - msdos a-drive) >Where are my old dos partitions. OK, you need to learn about "device names" and "mounting" filesystems. Your CD-ROM drives are called "/dev/scd0" and "/dev/scd1", since they are SCSI devices. Your floppy disk is /dev/fd0 Your DOS partitions are probably /dev/hdaX (X is a number of 1-8). In order to use any of these, you will need to "mount" them, i.e. place them somewhere in the directory tree that makes up the entire filesystem. For the CD-ROM's, try the following command: mount -t iso9660 /dev/scd0 /mnt/cdrom The files on the CD should now appear in the directory /mnt/cdrom (this directory must exist before you run the "mount" command). Same with the floppy: mount -t msdos /dev/fd0 /mnt/floppy Again, the /mnt/floppy directory must exist before you run the command. Also, if you want to use Win95 long filenames, use "-t vfat" instead of "-t msdos". Alternatively, you can use the "mtools" package to access floppies. This is a set of commands that work like the MS-DOS commands, but with an "m" in front: mdir, mformat, mcopy, mdel etc. Your IDE disks are /dev/hda and /dev/hdb, probably. If you have only one partition on each, that will be /dev/hda1 and /dev/hdb1. So, just like the CD and the floppies, you can mount these to get access to the files. mkdir /dos_c mkdir /dos_d mount -s msdos /dev/hda1 /dos_c mount -t msdos /dev/hdb1 /dos_d To make things a bit easier, add some lines to /etc/fstab - then you don't have to remember all the options, but can merely do "mount /dos_c" or "mount /mnt/cdrom". For your setup, something like this: /dev/scd0 /mnt/cdwrite iso9660 noauto,user 0 0 /dev/scd1 /mnt/cdrom iso9660 noauto,user,ro 0 0 /dev/fd0 /mnt/floppy msdos noauto,user 0 0 /dev/hda1 /dos_c msdos noauto,user,umask=000 0 0 /dev/hdb1 /dos_d msdos noauto,user,umask=000 0 0 I've added some extra options here: "noauto" means that these filesystems are not mounted automatically when the system boots. If you always want your DOS partitions to be available, just remove that (or change it to "auto"). "user" means that you do not need to be logged in as "root" in order to mount the filesystems. "umask=000" on the MS-DOS filesystems allows any user full read/write access to the files. Note that there is nothing "magic" about the directory names shown here - if you don't like "/mnt/floppy" or /dos_c", use whatever directory you like. It just needs to be an existing, empty directory. Also, I would recommend reading something about UNIX system administration, e.g. the Linux "Installation and Getting Started" guide from the LDP (Linux Documentation Project) - http://sunsite.unc.edu/LDP/ -- Henrik Storner
Technical Details
Message-ID:
<6c7oul$8fl$1@osiris.storner.dk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6c709t$bkq$1@news1.inet.tele.dk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,31cccad2813bd966 X-Google-Attributes: gidf9b51,public X-Google-Thread: 105548,31cccad2813bd966 X-Google-Attributes: gid105548,public X-Google-Thread: ff9be,31cccad2813bd966 X-Google-Attributes: gidff9be,public From: storner@image.dk (Henrik Storner) Subject: Re: In the beginning .... A beginners cry for help!!! Date: 1998/02/15 Message-ID: <6c7oul$8fl$1@osiris.storner.dk> X-Deja-AN: 325371942 References: <6c709t$bkq$1@news1.inet.tele.dk> Organization: Linux Users Inc. - http://www.image.dk/~storner/ Newsgroups: apana.lists.os.linux.debian.user,comp.os.linux.questions,comp.os.linux.setup