On Tue, 3 Jul 2001, Joshua Jore wrote: > You shouldn't have to include that line anyway. The kernel looks for a few > things by default. > The boot line is to counteract the line in /etc/lilo.conf long enough to remove or fix it. > >From memory (in order, check um... main.c I think): > > /sbin/init > /etc/init > /bin/sh > /etc/sh > > And you guys should be using /bin/sh instead of hardcoding /bin/bash. What > if you wanted to switch the Korn or c shell? Obviously some scripts use > shell specific features but that's not most stuff - especially the boot > loader. /bin/sh is supposed to be a symlink the the shell of your choice. You are correct about /bin/sh, it is just normally a symlink to /bin/bash. MANY scripts break if you symlink /bin/sh to a non-Bourne compatible shell. (bash, ash, BSD sh) Ideally you should have /bin/sash staticly linked for emergencies (has almost everything you could use in a recovery built-in). > > Josh > > On Mon, 2 Jul 2001, Daniel Taylor wrote: > > > Oh yeah, immediate workaround: > > LILO: linux init=/sbin/init > > > > On Mon, 2 Jul 2001 ming at mongo.evil-overlords.com wrote: > > > > > Here is my lilo.conf > > > > > > # LILO configuration file > > > # generated by 'liloconfig' > > > # > > > # Start LILO global section > > > append="init=/dev/sda1" > > > boot = /dev/sda > > > #compact # faster, but won't work on all systems. > > > # delay = 5 > > > vga = normal # force sane state > > > # ramdisk = 0 # paranoia setting > > > # End LILO global section > > > # Linux bootable partition config begins > > > image = /vmlinuz > > > root = /dev/sda1 > > > label = Linux > > > read-only # Non-UMSDOS filesystems should be mounted read-only for checking > > > # Linux bootable partition config ends > > > > > > > > > >It would be helpfull if you posted your lilo.conf also. > > > > > > > >Paul > > > > > > > > > > > >Ming the merciless wrote: > > > >> > > > >> OK not really sure what I am missing here but I compile a kernel, 2.2.18, > > > >> and I keep getting kernel panics saying > > > >> > > > >> Kernel Panic: No init found. Try passing init= option to kernel. > > > >> > > > >> I take it this is a line I should add to lilo.conf but not sure what option > > > >> its talking about. Any info would be appreciated. > > > >> > > > >> Jason > > > >> > > > >> _______________________________________________ > > > >> tclug-list mailing list > > > >> tclug-list at mn-linux.org > > > >> https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > >_______________________________________________ > > > >tclug-list mailing list > > > >tclug-list at mn-linux.org > > > >https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > > > > > > > > > > _______________________________________________ > > tclug-list mailing list > > tclug-list at mn-linux.org > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > tclug-list mailing list > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list >