Arusha Project
Sidai (policy)
Sidai how-to, etc.
 
How to..., etc.
User environment
Disk configuration
OS installs
HPUX11 install
Solaris install
Red Hat Linux install
post OS-install
Pre OS-reinstall
ARK boot
user accounts
Compiling/Linking
Distributing password files
Package proto-hosts
Logfile management
Log analysis
Scripting
Version wrapper
Version wrapper
Backups/archiving
Backups/tapeless: rationale
Backups/tapeless: design
Hostname change
Magic keystrokes
Booting tricks
Dead machine!
Root passwords
Removable media
ClearCase install
ClearCase admin
Logical Volume tricks
HP Mirror/UX
Mailman
VNC
 
Hosted by
SourceForge.net Logo

Using removable media (CDs, floppy disks)

I don't use removable media that much, and tend to forget the incantations required under various Unices. This is a `cheat sheet'.

Floppy disks

Formatting a floppy disk

You can't write on a floppy unless it has been low-level formatted.

  • Linux: Use fdformat /dev/fd0H1440, for a normal 1.44MB floppy...

  • Solaris: You do `fdformat' as well, but after `volcheck' (see below).

Making a boot floppy

This is covered in the install pages. Note that the floppy should already be low-level formatted.

Making a DOS floppy on Linux

You can move files from Unix to Windows by putting them on a DOS floppy, using the `mtools' package. If you want to copy 'foo.txt', you might do:
% mformat a:       # put a DOS filesystem on a low-level-formatted floppy
% mcopy foo.txt a: # do the copy
% mdir a:          # look at what's on the floppy

Using a floppy disk

On Solaris, you need to do `volcheck' after you've put in a new floppy (or CD), and `eject' at the end. Doing 'find /vol print' will give you a notion of what it thinks is there.

On Solaris, to format a floppy, just do `fdformat' (after the `volcheck').

On Linux, you just pop floppies in and out of the drive (no special commands needed).

Ejecting a floppy disk

Under Solaris, you should type `eject'. Under Linux, just eject the thing.

CD-ROMs

Playing music off of CDs

ToDo

Using CD-ROMs (for data)

Under HP-UX, it's mostly: `sudo mount /dev/cdrom /cdrom'

Under Solaris, you do `volcheck' (to make it search for removable media have come/gone...), then `cd /cdrom/<something>'. Doing 'find /vol -print' will give some notion of what it thinks is around.


© The Arusha Project, 2000-2003; team: sidai; c/o partain@users.sourceforge.net; revision 1.2, 2004-05-26.