Results 1 to 6 of 6

Thread: "umount: devfs: not mounted"

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Location
    Pennsylvania
    Posts
    4

    "umount: devfs: not mounted"

    I've installed Knoppix 3.7 onto a second hd, have Lilo working fine, but as KDE loads, Knoppix hangs at "umount: devfs: not mounted." I've scoured the web, but with no definitive answers, just a lot of stuff about recompiling my kernel. Help, please?

  2. #2
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    Well, since you're not getting any takers, here are some not-so-helpful observations.

    The problem is most probably not what that error message is telling you, for three reasons. The first is that it's not a fatal error to unmount (umount) a file system that isn't mounted. Chances are that the script that called umount just did it to make absolutely sure that devfs was unmounted.

    Then there's the general situation that when something hangs, it's often hanging on some step after the one that you last got a message about. The step that hangs ... is hung. It usually won't be able to send an error message.

    Finally, when a process goes through steps A, B, C, D, E, F, and then blows up on step G, it's just one of Murphy's Laws that the real problem occurred back in step B, C, or D, but the consequencies of that problem didn't show up until later.

    I've done a little poking around in Knoppix to try to find the script that could be bombing on you, but no luck so far. Can you tell us more about what you see before things hang?

    -- Ed

  3. #3
    Junior Member
    Join Date
    Mar 2005
    Location
    Pennsylvania
    Posts
    4

    Thanks...

    Firstly, thanks for taking this up... for a while I though I had bad breath. Secondly, what you suggested is what I figured. The startup process runs through most of it's stuff, but when trying to run the 2.4 kernel hangs at the unmount; with the 2.6 kernel, at kjournald process. All the other posts in other forums discussed the default setting of the kernel being to not allow devfs and apparently I need to. Right now, I've been relegated to trying a new compile. I got a compiling linux for dummies article which I'm going to play with when I have time. Thanks, again... any ideas you have would be greatly appreciated.

  4. #4
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    for a while I thought I had bad breath
    If that's the problem, recompiling the kernel won't help!

    I think I found where in the boot process your system is hanging. Please check these message fragments to make sure I'm in the right place.
    • 2.4.27 kernel
    Code:
    RAMDISK: Compressed image found at block 0
    Freeing initrd memory: 3185k freed
    VFS: Mounted root (ext2 filesystem).
    Freeing unused kernel memory: 144k freed
    initrd-tools: 0.1.74
    mount: fstype devfs not supported by kernel
    Journalled Block Device driver loaded
    umount: devfs: not mounted
       x=x=x=x=x   (or below)
    mount: fstype devfs not supported by kernel
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    umount: devfs: not mounted
       x=x=x=x=x    (or above)
    INIT: version 2.78-knoppix booting
    Welcome to KNOPPIX (HD-Installation)
    • 2.6.9 kernel
    Code:
    RAMDISK: Compressed image found at block 0
    VFS: Mounted root (ext2 filesystem).
    Freeing unused kernel memory: 276k freed
    initrd-tools: 0.1.74
    mount: fstype devfs not supported by kernel
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting.  Commit interval 5 seconds
       x=x=x=x=x
    umount: devfs: not mounted
    INIT: version 2.78-knoppix booting
    Welcome to KNOPPIX (HD-Installation)
    Up until that last line, "Welcome to KNOPPIX," the text is in monochrome. Any later references to devfs or kjournald will be in multi-color text.

    What's happening in the middle of this stretch, at least on my computer, is that the root partition on the hard drive is being mounted as filesystem type ext3. The ext3 and reiserfs filesystems are more resistant to errors because they journal - keep logs of - the read and write activity to drives; ext2 doesn't do this.

    So if this is where your system is hanging, that is, when it starts working with the root partition using a journalled filesystem, then my guess would be that the filesystem on that partition is bad (and devfs isn't involved).

    What I'd do is run fsck on all the Linux partitions (except swap) on the drive. Even on any that are ext2, to help determine the extent and reason for the (possible) problem.
    • NOTE !!!

      - do not run fsck on a mounted filesystem !!!


      - $ man fsck before using !!!
    So what you do is boot from the Knoppix CD and do something like this:

    Code:
    $ sudo umount /dev/hda1
    $ sudo fsck /dev/hda1
    You can also run fsck from the hard drive if you have another Linux to boot into, but DO NOT run it on the partition that you're using. One way to do this accidentally is to type # fsck with no options, which makes it run on all the filesystems in /etc/fstab (which of course includes the one you're on).

    That said, fsck does try to warn you before running on a mounted filesystem. But forewarned is forearmed - too bad Venus de Milo didn't hear that one in time!

    Another thing you could do is just start the installation over. QTParted will reformat that partition for you, but just to check that there isn't maybe a bad spot on the drive I think I'd do this before running knoppix-installer:

    Code:
    $ sudo mkfs -c -t ext3 /dev/hda1
    $ sudo fsck /dev/hda1
    The -c option checks for bad blocks before writing the filesystem. The fsck is redundant, but hey - why not?

    And skip recompiling the kernel, eh?

    -- Ed

  5. #5
    Junior Member
    Join Date
    Mar 2005
    Location
    Pennsylvania
    Posts
    4
    Thanks Ed... I'm gonna try and work through this. I've already re-hd-installed an inordinate number of times, maybe next will be the lucky one.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2005
    Location
    Colorado, USA
    Posts
    205
    You must have the patience of Job to keep re-trying Knoppix!

    Have you tried installing another version of Linux? Debian's sarge is about my favorite - its installer works very well, and its hardware detection is almost as good as Knoppix'. Another one that goes very smoothly is Progeny Debian.

    -- Ed

Similar Threads

  1. Wont Boot Past "VFS: Mounted Root"
    By simusid in forum Hardware & Booting
    Replies: 5
    Last Post: 11-28-2006, 07:24 AM
  2. Logical partitions mounted but "empty"
    By TP Diffenbach in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 06-22-2005, 11:20 AM
  3. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  4. "Foreign" drive formats and "dd" command
    By geebee2000 in forum Hardware & Booting
    Replies: 9
    Last Post: 05-21-2003, 07:29 PM
  5. Locate Knoppix "group" in "K" menu
    By Juny in forum General Support
    Replies: 4
    Last Post: 03-14-2003, 09:02 AM

Posting Permissions

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


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x600Gb SAS, Proxmox

$360.00



DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2690v3 2.6GHz =24 Cores 32GB H730 4xRJ45

$274.00



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 1x 300GB HDD

$89.99



Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB picture

Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB

$510.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu picture

Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu

$135.00



DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY picture

DELL POWEREDGE T430 SERVER W/ DUAL XEON E5-2609 CPU & 16GB MEMORY

$329.00



Dell PowerEdge T330 E3-1240v5 3.5GHz 3.5

Dell PowerEdge T330 E3-1240v5 3.5GHz 3.5" 8-Bay 8GB PERC H330 Server Tower

$200.00



DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$240.00



Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores  64gb  H730  2x 750w picture

Dell Poweredge R730xd 2.5in 2x E5-2690 v3 2.6ghz 24-Cores 64gb H730 2x 750w

$189.99