How to create entries for hard disk partitions in /dev?


Results 1 to 15 of 18

Thread: How to create entries for hard disk partitions in /dev?

Threaded View

  1. #8
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,978
    Thanks everybody for suggestions(Davno), directions(Icarus), explanation(bwkaz) and the exact script from Exodus2001

    All excellent stuff! Exactly the ticket as shown below
    Code:
    bash-3.00# chmod 755 morehda
    bash-3.00# lilo -b /dev/hda51
    Ignoring entry 'boot'
    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    Failure to communicate with kernel device-mapper driver.
    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    Failure to communicate with kernel device-mapper driver.
    Incompatible libdevmapper 1.01.01 (2005-03-29)(compat) and kernel driver
    Fatal: raid_setup: stat("/dev/hda51")
    bash-3.00# bash morehda
    bash-3.00# lilo -b /dev/hda51
    Ignoring entry 'boot'
    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    Failure to communicate with kernel device-mapper driver.
    /proc/misc: No entry for device-mapper found
    Is device-mapper driver missing from kernel?
    Failure to communicate with kernel device-mapper driver.
    Incompatible libdevmapper 1.01.01 (2005-03-29)(compat) and kernel driver
    Warning: '/proc/partitions' does not match '/dev' directory structure.
        Name change: '/dev/hda21' -> '/tmp/dev.0'
    Warning: '/dev' directory structure is incomplete; device (3, 21) is missing.
    Warning: '/dev' directory structure is incomplete; device (3, 22) is missing.
    Warning: '/dev' directory structure is incomplete; device (3, 23) is missing.
    Warning: '/dev' directory structure is incomplete; device (3, 24) is missing.
    Warning: '/dev' directory structure is incomplete; device (22, 21) is missing.
    Warning: '/dev' directory structure is incomplete; device (22, 22) is missing.
    Warning: '/dev' directory structure is incomplete; device (22, 23) is missing.
    Warning: '/dev' directory structure is incomplete; device (22, 24) is missing.
    Added scilinux *
    Added single-user
    bash-3.00#
    I cut and paste Exodus2001 script as "morehda" without any alteration. The above show Lilo didn't compile before the issue of "morehda" and it did after.
    Last edited by saikee; 12-30-2006 at 09:27 PM.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

Posting Permissions

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