Bug#587290: initramfs-tools: malformed yaboot.conf created when alternate partitions use UUID= in fstab
Package: initramfs-tools
Version: 0.97
Severity: important
The generated /etc/yaboot.conf contains lines
append="root=UUID ro"
for partitions that have their /etc/fstab root line using "UUID=... " .
This makes it impossible to boot into those partitions:
the boot progresses to the point of trying to mount the root
filesystem and dies with
Begin: Running /scripts/local-premount ... done
Mount: mounting UUID on /root failed: No such directory
then a few more errors obviously caused by not having a mounted root
and eventually dropping into the (initrd) BusyBox shell.
When I went back and changed the offending line to
append="root=/dev/hda6 ro"
and reran ybin, everything was fine.
See bug # 580455 for another aspect of the switch to UUID naming being
broken on powerPC.
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 9.8M Jun 26 23:48 /boot/initrd.img-2.6.32-5-powerpc
-rw-r--r-- 1 root root 9.9M Jun 27 00:06 /boot/initrd.img-2.6.32-5-powerpc-smp
-- /proc/cmdline
root=/pci@f2000000/mac-io@17/ata-4@1f000/disk@0:4 root=/dev/hda4 ro
-- resume
RESUME=UUID=e672ba0d-2c2e-4b03-9e4e-7a71f39c44b9
-- /proc/filesystems
ext3
-- lsmod
Module Size Used by
uinput 10475 2
loop 16273 0
firewire_sbp2 16232 0
snd_aoa_codec_tas 13079 2
snd_aoa_fabric_layout 12091 0
snd_aoa 15620 2 snd_aoa_codec_tas,snd_aoa_fabric_layout
snd_aoa_i2sbus 20933 1
snd_pcm 67233 1 snd_aoa_i2sbus
snd_timer 21510 1 snd_pcm
snd_page_alloc 9053 1 snd_pcm
snd 53564 6 snd_aoa_codec_tas,snd_aoa_fabric_layout,snd_aoa,snd_aoa_i2sbus,snd_pcm,snd_timer
soundcore 8335 1 snd
snd_aoa_soundbus 6669 2 snd_aoa_fabric_layout,snd_aoa_i2sbus
evdev 12021 12
ext3 126551 1
jbd 46110 1 ext3
mbcache 8870 1 ext3
usbhid 40424 0
hid 68369 1 usbhid
raid1 24559 1
md_mod 89657 1 raid1
ata_generic 5947 0
libata 143752 1 ata_generic
scsi_mod 128326 2 firewire_sbp2,libata
ide_pci_generic 5580 0
ohci_hcd 35644 0
firewire_ohci 26292 0
ehci_hcd 43274 0
ide_cd_mod 28609 0
sungem 31621 0
firewire_core 44766 2 firewire_sbp2,firewire_ohci
cdrom 36707 1 ide_cd_mod
sungem_phy 12982 1 sungem
crc_itu_t 4495 1 firewire_core
usbcore 133556 4 usbhid,ohci_hcd,ehci_hcd
i2c_powermac 6651 0
nls_base 8937 1 usbcore
siimage 9538 2
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = yes
-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /proc/mdstat
Personalities : [raid1]
md127 : active (auto-read-only) raid1 hdg2[0] hdi2[1]
244198464 blocks [2/2] [UU]
unused devices: <none>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.32-5-powerpc-smp (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11-4 GNU cpio -- a program to manage ar
ii findutils 4.4.2-1 utilities for finding files--find,
ii klibc-utils 1.5.18-1 small utilities built with klibc f
ii module-init-tools 3.12~pre2-3 tools for managing Linux kernel mo
ii udev 157-1 /dev/ and hotplug management daemo
Versions of packages initramfs-tools recommends:
ii busybox 1:1.15.3-1 Tiny utilities for small and embed
Versions of packages initramfs-tools suggests:
ii bash-completion 1:1.2-2 programmable completion for the ba
-- no debconf information
Reply to: