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

Bug#385949: initramfs-tools: lilo not run after installation; system did not boot any more



On Mon, Sep 04, 2006 at 11:09:38AM +0200, Sebastien Blondeel wrote:
> On Mon, Sep 04, 2006 at 10:53:09AM +0200, maximilian attems wrote:
> > i need more information, please post the output of
> 
> Thanks for the quick reaction.

sure, sorry for the trouble,
please keep bugreport on cc.

 
> > cat /etc/kernel-img.conf
> 
> # cat /etc/kernel-img.conf
> # Do not create symbolic links in /
> do_symlinks = No
> # Fri Aug 18 23:01:26 CEST 2006
> # message from ``Configuring linux-image-2.6.16-2-k7''
> do_initrd = Yes

if you want to have lilo run at the end of an linux-image install
or after an update of an initramfs you need to add to aboves file:
do_bootloader = Yes
or if you use grub
do_bootloader = no
 
> > ls -l /etc/lilo.conf
> 
> # ls -l /etc/lilo.conf
> -rw-r----- 1 root root 4587 2006-09-04 09:42 /etc/lilo.conf

ok
> > ls -l /sbin/lilo
> 
> # ls -l /sbin/lilo
> -rwxr-xr-x 1 root root 602 2006-07-31 22:27 /sbin/lilo

detto
 
> > dpkg -l grub
> 
> # dpkg -l grub
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name                        Version                     Description
> +++-===========================-===========================-======================================================================
> ii  grub                        0.97-13                     GRand Unified Bootloader
 
hmm you have both installed, without indication of which one
to run, so you need to run lilo manualy on upgrades of linux-image
or after update-initramfs runs. as lilo stores an hardcoded block
and has no idea about the fs
 
> Note on this last one: I had tried to switch to grub typing "apt-get install
> grub" but this did nothing and I did not insist (I''l try to make the actual
> switch today). Maybe this is what fooled your installation scripts into
> thinking re-rerunning "lilo" was not necessary?

try to use grub-install or grub directly
http://www.itp.tuwien.ac.at/~mattems/blog/2006/01/18#grub_install

best regards

-- 
maks



Reply to: