[Bug 50128] Re: Dapper fails to boot off second disk

Phillip Susi psusi at ubuntu.com
Thu May 23 02:41:14 UTC 2013


Dapper reached end of life some time ago, is this still an issue with
12.04+?


** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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/50128

Title:
  Dapper fails to boot off second disk

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

Bug description:
  I had SuSE 8.2 on /dev/hda2 on an old machine, and I installed Dapper
  (initially 6.04) on /dev/hdb2. I used lilo as the boot loader, on
  /dev/hda.

  I attempted to boot into Dapper, and ended up with the Dapper kernel
  and my old SuSE 8.2!

  The problem is on the initrd.img, in file scripts/functions.

  The function parse_numeric does not correctly parse the root device
  number.

  The following diffs show a fix that works for me. Sorry but I don't
  know which package was use to create the initrd.

  --- functions_broken	2006-06-17 17:27:04.000000000 +0100
  +++ fixed/scripts/functions	2006-06-17 17:27:49.000000000 +0100
  @@ -239,10 +239,14 @@
   		minor=${1#*:}
   		major=${1%:*}
   		;;
  -	*)
  +	????)
   		minor=$((0x${1#??}))
   		major=$((0x${1%??}))
   		;;
  +	???)
  +		minor=$((0x${1#?}))
  +		major=$((0x${1%??}))
  +		;;
   	esac
   
   	mknod /dev/root b ${major} ${minor}

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




More information about the foundations-bugs mailing list