[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [3.1 -> 3.2.6] xorg fails to start after kernel upgrade



reassign 663332 initramfs-tools 0.101
quit

Johannes Kolb wrote:

> After booting with a bad initrd the sysfs is missing. 
> /proc is mounted as expected, but /sys is missing. Obviously it didn't
> get moved from the initrd-location to the real root.
> So I suppose this is the actual problem with my initrd.

Nice.  Sounds right.

[...]
> | # Chain to real filesystem
> | if command -v switch_root >/dev/null 2>&1; then
> | 	exec switch_root ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console
> | elif command -v run-init >/dev/null 2>&1; then
> | 	# Move virtual filesystems over to the real filesystem
[...]
> The "switch_root" command is something new here. If I disable it,
> changing the above lines to
>
> | # Chain to real filesystem
> | if command -v run-init >/dev/null 2>&1; then
> | 	# Move virtual filesystems over to the real filesystem
[...]
> then my system boots as usual.

What does "dpkg-query -W busybox\*" say?

Jonathan


Reply to: