Find the answer to your Linux question:
Results 1 to 2 of 2
I am trying to learn and understand Mandrake 10. I am taking on-line Linux courses.Following the paragraph from the course In http://www.linux.org/lessons/beginne...lesson13c.html "mke2fs /dev/fd0 The command is an abbreviated way ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    1

    formatting problems with a floppy


    I am trying to learn and understand Mandrake 10. I am taking on-line Linux courses.Following the paragraph from the course In http://www.linux.org/lessons/beginne...lesson13c.html

    "mke2fs /dev/fd0

    The command is an abbreviated way of saying "make an ext2 file system". The other part is the device, your floppy drive, which is known to Linux as "fd0" (floppy drive 0). As we mentioned in the first part of the course, everything is a file in Linux, including your floppy drive.

    My action is as follows:
    insert the floppy in the drive
    Type in the shell cd /dev
    That moves me from the home to the dev directory
    Type-in the shell: mke2fs /dev/fd0
    Enter
    bash: mke2fs: command not foundWhat did I do wrong? I assumed changing directories because putting the command in the home directory did not work. And the root directory is off limits.
    I tried to be as descriptive as possible to present my case.
    Please Help me out

  2. #2
    Just Joined!
    Join Date
    Dec 2005
    Posts
    17
    First off, I don't believe you should have to cd to /dev before issuing the command. Secondly, before issuing the command, you have to be root
    Code:
    su
    Asks for password, enter it. Then issue your command and it will work beautifully If ever a 'command is not found', try it as root
    Kevin

    UPDATE: Read your tutorial a little closer It actually tells you that you have to su to root

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •