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

Re: How to boot w/o initrd?



hey,
happened to me 2 days, same thing, borked kernel install :)
you can boot into old the kernel if you know its name
and if u are like me , this should work

hd:<patition number>,/boot/vmlinux.old root=/dev/hda4 initrd=initrd.old ro
where partition number is your / partition num, like 4 for hda4 (the partition num for /boot if you have it seperate).

otherwise just boot from your debian install cd, switch to a virtual console
- mount your filesystem somewhere like /mnt
- mount /proc ( mount -t /proc none /mnt/proc
- chroot /mnt /bin/bash

edit your yaboot.conf

- /usr/sbin/ ybin -v
this should work , hopefully.
good luck

Matthew T. Atkinson wrote:

'ello,

I had a stock Sarge install with kernel-image-2.6.7.  I have now managed
to recompile 2.6.8 (Debian version) and install it, in an attempt to fix
the ALSA and keyboard problems (and learn something about the insides of
my computer).  Now my system won't boot.  I am told that the initrd
image is missing (not surprising as I have not compiled support for it,
or created one, in 2.6.8).

I tried the advertised ``old'' option on YaBoot, to see if like
GRUB/LILO it would fall back to the previous kernel so I could boot the
system, but it still tried to boot into 2.6.8 (and failed).

How can I get the system to boot?  From the output ``help'' gives, it
doesn't seem like there is a way to edit boot parameters from inside
YaBoot.

bye just now, best regards,


P.S. I am using a PowerBook5,4



Reply to: