[Bug 898537] Re: Booting with Lilo, /dev/root doesn't get created, and boot hangs at mountall

David Edwards 898537 at bugs.launchpad.net
Thu Dec 1 09:21:07 UTC 2011


-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/898537

Title:
  Booting with Lilo, /dev/root doesn't get created, and boot hangs at
  mountall

Status in “initramfs-tools” package in Ubuntu:
  New

Bug description:
  /usr/share/initramfs-tools/scripts/functions contains
  'parse_numeric()', that is called by 'init' and deals with the root
  device passed in by lilo; in my case, 801.

  This is handled correctly, and then we come to this (the commenting out is my workaround/fix)
  _______________________________________________________________
  #       if command -v udevd >/dev/null 2>&1; then
  #               ROOT=/dev/block/${major}:${minor}
  #       else
                  mknod -m 600 /dev/root b ${major} ${minor}
                  ROOT=/dev/root
  #       fi
  ________________________________________________________________
  When udevd is present, which it is, and the code isn't commented out, it sets ROOT to /dev/block/8:1, which certainly exists when I log in.

  Later on in the boot sequence, mountall  tells me that the root device
  isn't ready, and offers me Skip or Manual shell.

  The root device is present read only. I can take the skip option, wait
  until I get the console login, and

  mount -o remount,rw /

  from a superuser shell, and I can fix things up manually.

  Forcing the 'else' path seems to be a complete fix for me so far.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: initramfs-tools 0.99ubuntu8 [modified: usr/share/initramfs-tools/scripts/functions]
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic i686
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  Date: Thu Dec  1 08:58:06 2011
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   SHELL=/bin/bash
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/898537/+subscriptions




More information about the foundations-bugs mailing list