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

Bug#420809: Bug: Installation-reports: init placed in /sbin/init but Grub looks for it as /init




On Apr 24, 2007, at 2:24 PM, Steve Langasek wrote:

On Tue, Apr 24, 2007 at 01:46:57PM -0700, David Warman wrote:
Am I supposed to respond directly to you or should I redirect this to
a more formal address?

The bug address (420809@bugs.debian.org) is the right place to send replies;
cc:ing now.

Sorry, not assuming buggy crap. Debian is anything but. Only assuming
that if I was not given the option to place init that it would be
taken care of. That it wasn't  taken care of I consider a single bug,
and it surprised me too. Would have stumped me if I didn't have some
knowledge of what I am doing, and almost did.

Well, grub certainly doesn't need you to manually specify the path to init in the general case. Did you add this boot option in /addition/ to the defaults, or /replacing/ them? If you replaced the default options, that
at least suggests where to continue looking for the problem.

At the boot menu, I pressed e to get into edit mode, selected the kernel line, pressed e again, and added 'init=/sbin/init' to the end of the line. The kernel panic message suggested I set an init= option to the kernel to fix the problem. At first I thought it was an LBA mode problem, but it wasn't. There were no dialogs in the installation sequence that mention where init should be. I re- installed from CD boot twice to be sure I checked all the configuration dialog options before I looked for the init= solution.

Boot method: CD (downloaded the latest stable CD .iso)
Image version: http://cdimage.debian.org/debian-cd/4.0_r0/i386/bt-cd/
debian-40r0-i386-CD-1.iso.torrent
Date: 4/23/07 5:30pm

Machine: Intel PC server chassis,
Processor: PIII
Memory:  2GB RAM, 80GB IDE HD
Partitions: accepted the default option presented during
installation, i.e. use entire disk, about 2.5Gb for swap. I did not
make any changes to this.

i.e. a basic standard oldish system, perhaps a little higher in
capacity but no special devices. Not even sound. Just new enough to
have two USB 1 ports.

Output of lspci -nn and lspci -vnn:  don't have the machine set up
yet to where I can share the results back to my Mac, however I do not
think the Broadcom CNB20LE bridge or ATI Rage XL or the two Intel
82557 Ethernet controllers etc would have affected where init was
placed.

Not that the lspci output matters much in this case, but this is almost
certainly not a problem with where init was placed.

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ O]
Detect network card:    [ O ]
Configure network:      [ O]
Detect CD:              [ O]
Load installer modules: [O ]
Detect hard drives:     [ O]
Partition hard drives:  [ O]
Install base system:    [ O but ignored video resolution selection]
Clock/timezone setup:   [O]
User/password setup:    [ O but not in sudoers ]
Install tasks:          [ O]
Install boot loader:    [ O ]
Overall install:        [ O- ]

Comments/Problems:

Took everything at default settings.
Installer placed init in /sbin/init, kernel looked for it as /init,
couldn't find it, and panic'ed on reboot.

What is the output leading up to this error message, when booting without an
init= option?
something along the lines of "kernel panic: can't find /init. perhaps you need to add init= to to kernel". However, I cannot reproduce it now as the kernel seems to be remembering /sbin/init (yes, it is still there, I just checked) without the boot option present. I suppose the savedefault command saved the location; the option has gone away on its own now. menu.lst was _not_ changed from its initial setting. In fact I do not see where such info might be stored, but the fact is the system now boots reliably without the init= option, which I only entered once. There is no link to init in /. I find this (it working now) as puzzling as the original panics.

Thanks,

--
Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. vorlon@debian.org http:// www.debian.org/






Reply to: