Bug#535166: security.debian.org: fails to upgrade the kernel, when the kernel lies on hde

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#535166: security.debian.org: fails to upgrade the kernel, when the kernel lies on hde

Micronius
Package: security.debian.org
Severity: grave
Justification: renders package unusable


My desktop owns 1 IDE-unit on the motherboard and 2 PCI-RAID-IDE-units (without using the RAID-facility) on a PCI-card. My fstab contains the following lines:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc                    /proc           proc     defaults        0       0
LABEL=wg-rootpart       /               reiserfs defaults        0       1
LABEL=wg-bootpart       /boot           reiserfs notail          0       2
LABEL=wg-swappart       none            swap     sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660      user,noauto     0       0
/dev/fd0        /media/floppy0  auto             rw,user,noauto  0       0

My /boot/grub/menue.lst contains the following lines:

title Debian GNU/Linux, kernel 2.6.26-2-amd64
password ......
root (hd0,0)
kernel /vmlinuz-2.6.26-2-amd64 root=UUID=8e1b2e49-3dfb-4942-8eb6-9868733c5d15 ro splash=verbose
initrd /initrd.img-2.6.26-2-amd64

When I use

apt-get update
apt-get dist-upgrade

this does not work for upgrading the kernel. The following messages appear:

"Booting the kernel

....

Loading, please wait ...

mount: mounting /dev on /root/dev failed:
       no such file or directory

[dito for /sys and /proc]

Target filesystem doesn't have /sbin/init.
No init found.

........

"
Then the system halts and does not work further.

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#535166: security.debian.org: fails to upgrade the kernel, when the kernel lies on hde

Joey Schulze
reassign 535166 kernel-package
thanks

The code that doesn't handle your situation is in the kernel package.

Micronius wrote:

> My desktop owns 1 IDE-unit on the motherboard and 2 PCI-RAID-IDE-units (without using the RAID-facility) on a PCI-card. My fstab contains the following lines:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc                    /proc           proc     defaults        0       0
> LABEL=wg-rootpart       /               reiserfs defaults        0       1
> LABEL=wg-bootpart       /boot           reiserfs notail          0       2
> LABEL=wg-swappart       none            swap     sw              0       0
> /dev/hdb        /media/cdrom0   udf,iso9660      user,noauto     0       0
> /dev/fd0        /media/floppy0  auto             rw,user,noauto  0       0
>
> My /boot/grub/menue.lst contains the following lines:
>
> title Debian GNU/Linux, kernel 2.6.26-2-amd64
> password ......
> root (hd0,0)
> kernel /vmlinuz-2.6.26-2-amd64 root=UUID=8e1b2e49-3dfb-4942-8eb6-9868733c5d15 ro splash=verbose
> initrd /initrd.img-2.6.26-2-amd64
>
> When I use
>
> apt-get update
> apt-get dist-upgrade
>
> this does not work for upgrading the kernel. The following messages appear:
>
> "Booting the kernel
>
> .....
>
> Loading, please wait ...
>
> mount: mounting /dev on /root/dev failed:
>        no such file or directory
>
> [dito for /sys and /proc]
>
> Target filesystem doesn't have /sbin/init.
> No init found.

Regards,

        Joey

--
It's time to close the windows.

Please always Cc to me when replying to me on the lists.



--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Bug#535166: security.debian.org: fails to upgrade the kernel, when the kernel lies on hde

Ben Hutchings-3
In reply to this post by Micronius
On Tue, 2009-06-30 at 13:11 +0200, Micronius wrote:
[...]

> this does not work for upgrading the kernel. The following messages appear:
>
> "Booting the kernel
>
> ....
>
> Loading, please wait ...
>
> mount: mounting /dev on /root/dev failed:
>        no such file or directory
>
> [dito for /sys and /proc]
>
> Target filesystem doesn't have /sbin/init.
> No init found.
>
> ........
>
> "
> Then the system halts and does not work further.
Please send the output of:

    for part in /dev/hd??; do reiserfstune $part; done

Ben.

--
Ben Hutchings
DNRC Motto:  I can please only one person per day.
Today is not your day.  Tomorrow isn't looking good either.

signature.asc (845 bytes) Download Attachment