Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
No, I don't know what I just said. But the /dev/hda1 entry is gone (don't ask.) and I need it back....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    97

    How do I create device nodes for block devices?


    No, I don't know what I just said. But the /dev/hda1 entry is gone (don't ask.) and I need it back.

  2. #2
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    You need to use mknod, however I'm not sure which minor/major numbers you need... Another possibility is to for example boot knoppix, and copy "hda" over to the slack partition.

  3. #3
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    also try running
    Code:
    udev
    Brilliant Mediocrity - Making Failure Look Good

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    yep - I was going to suggest udev

    but my major/minor numbers for /dev/hda1 are 3,1

  6. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    97
    I don't know how to use udev or mknod. And when I boot Knoppix, my slack partition is read-only =\

  7. #6
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    try
    Code:
    /etc/rc.d/rc.udev start
    Brilliant Mediocrity - Making Failure Look Good

  8. #7
    Just Joined!
    Join Date
    May 2005
    Posts
    97
    Code:
    root@slack:/# /etc/rc.d/rc.udev start
    root@slack:/#

  9. #8
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    that means its started

  10. #9
    Just Joined!
    Join Date
    May 2005
    Posts
    97
    What does one do after that? I think i tried 'udev'

  11. #10
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    Quote Originally Posted by peaceofpi
    What does one do after that? I think i tried 'udev'
    did it create /dev/hda1 ?
    Brilliant Mediocrity - Making Failure Look Good

Page 1 of 2 1 2 LastLast

Posting Permissions

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