Re: linux hangs up while booting



tblanchard001@xxxxxxxxx schrieb:
On Jul 25, 2:16 pm, Joris Dolderer <no-spam> wrote:
tblanchard...@xxxxxxxxx schrieb:





On Jul 25, 5:07 am, Joris Dolderer <no-spam> wrote:
tblanchard...@xxxxxxxxx wrote:
On Jul 24, 9:56 am, Joris Dolderer <no-spam> wrote:
Hello,
I have recently deleted GRUB accidentally. After having reinstalled it,
the kernel hangs up while booting. The last boot messages I can see are:
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Running /scripts/local-premount ...
kinit: name_to_dev_t(/dev/sda5) = sda5(8,5)
kinit: trying to resume from /dev/sda5
Attempting manual resume
kinit: no resume image, doing normal boot...
Done.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: running /scripts/init-bottom...
Done.
Is this from dmesg? or just the screen when booting?
This is just the screen when booting.
can you get access to /var/log/dmesg? if so I would tail -n 99 /var/
log/dmesg to see the last 99 lines of the log. If you find something
post it.
I have deleted the dmesg file (to see only the things of the following
boot) and rebooted, but the dmesg staid empty. So I think that the
particular daemon/module/whatever isn't loaded at the time the system
hangs up.

Is it possible that the kernel/initrd is damaged or a kernel module
doesn't exist or is damaged? No idea how this could have happened, but
it is worth thinking.

Maybe it is worth saying: On my laptop, the line the comes after the
"Running /scripts/init-bottom... Done." is "Mount failed on selinuxfs:
No such device".

Joris- Hide quoted text -

- Show quoted text -

That's pretty helpful, check /etc/fstab and look for selinuxfs. Also
try /proc/mounts
I had a similar thing happen to me once, it couldn't mount because the
volume label was wrong, and the old entry in fstab was fouling
everything up.


Just to make clear: My laptop works fine, it is only for comparison.

I haven't found a selinuxfs on my laptop, but I think that doesn't matter.

On my desktop computer (that is the one not working), the computer hangs up before this message appears.
The /etc/fstab of my desktop computer doesn't contain a selinuxfs.

Joris
Joris
.



Relevant Pages

  • IBM Netfinity 3500 and 5.5
    ... to RELENG_5_5 and built a new world and kernel, ... After these two lines have been printed, the machine hangs hard. ... So I rebooted after disabling the onboard NIC ... but that didn't help - booting still hangs at the same place. ...
    (freebsd-questions)
  • Re: 2.6.15-rc5-mm2
    ... When booting this kernel with vga=791 like I normally do, ... Booting with vga=normal works just fine. ... the screen and then it hangs - even the ... I've got the vesafb driver build in, none of the other fb drivers. ...
    (Linux-Kernel)
  • Re: linux hangs up while booting
    ... the kernel hangs up while booting. ... The last boot messages I can see are: ... Is it possible that the kernel/initrd is damaged or a kernel module ...
    (comp.os.linux.misc)
  • Re: linux hangs up while booting
    ... the kernel hangs up while booting. ... The last boot messages I can see are: ... Is it possible that the kernel/initrd is damaged or a kernel module doesn't exist or is damaged? ...
    (comp.os.linux.misc)
  • [PATCH] Fix vesafb display panning regression
    ... Fix vesafb hang when scroll mode is REDRAW. ... > When booting this kernel with vga=791 like I normally do, ... > hangs on boot. ... Booting with vga=normal works just fine. ...
    (Linux-Kernel)