--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
The initrd also needs to be named in your grub entry.
It's not enough just to build and install the module, because those
are accessible only after your root fs is mounted!
--
Don Quixote de la Mancha
qui...@dulcineatech.com
http://www.dulcineatech.com
initrd /initrd.img-2.6.26-2-686
You need a line like that just below the item for the kernel you're
trying to boot, except that you want the initrd version to match the
new kernel version.
initrd stands for Initial RAM Disk. It's a compressed archive that
contains the contents of a small initial root filesystem, with just
enough in it to to load the modules you're going to need to mount your
root filesystem. In particular it needs to have the modules for your
lvm and any RAID controllers.
I've never made an initrd on Debian, but on Fedora the command is mkinitrd.
Don Quixote
On Sat, Jul 18, 2009 at 11:17 +0200, Soren Orel wrote:
> it works!
>
> I just forget:
>
> cp arch/x86/boot/bzImage /boot/vmlinuz-2.6.30-1
>
>
> and:
> mkinitramfs -o /boot/initrd.img-2.6.30-1 2.6.30.1
% apt-get install kernel-package
% man make-kpkg
might have been useful.
IIRC this has been written in order not to forget
crucial steps after once bitten.
Regs
Siggy
--
Please don't cc: me when replying on the list.
bsb-at-psycho-dot-informationsanarchistik-dot-de
or: bsb-at-psycho-dot-i21k-dot-de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkphnUoACgkQ94B/SGO8KQe2NQCgw4DTfS2iNHrzkbVjRhZftSOj
QrYAn13qZ/fsIDhdYJyxWeBPlhz1y8FN
=ACkV
-----END PGP SIGNATURE-----
On some of your vmlinux lines in your menu.lst you have the word
"single". That boots you into single-user mode, that you exit from by
hitting Ctrl-D.
Remove just the word "single" and you should be good to go.
Lucky Don Quixote :), obviously you never have been hitten by fsck not
being able to cope with a broken FS. In such a situation the machine
automagically boots into single user mode.
Maybe it should be made clearer that you're at your own risk when
hitting C-d. I'd never do that on a production box or when the
FS contains valuable data.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpi/ksACgkQ94B/SGO8KQfxfgCfY+eQXjZOb9cpLslPyUNxzzbJ
vdQAn1HSWhJ7Rx5jAHlNk2IFXxJVa9Jw
=Finx
-----END PGP SIGNATURE-----
You got that error using make-kpkg, or just as a general kernel error?
You got that error using make-kpkg, or just as a general kernel error?
This is OT, but I remember my first day away at school. I bought a new
EeePC months earlier, installed Debian on it, prepared my install for my
CS classes...then when I got to my first class, I booted up only to have a
jfs error. It took me an hour or so to figure out how to fix.
> > Remove just the word "single" and you should be good to go.
> >
> > Don Quixote
>
> Lucky Don Quixote :), obviously you never have been hitten by fsck not
> being able to cope with a broken FS. In such a situation the machine
> automagically boots into single user mode.
No. Just append 'init=/bin/bash' (or /bin/sh) at the prompt. Or
'single', if you prefer.
--
Tzafrir Cohen | tza...@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tza...@cohens.org.il | | best
ICQ# 16849754 | | friend
update-initramfs -c -k "uname"
"uname" being whatever you've named your custom kernel & do it without
the quotations.
Check to see if there is now an initrd-image file for your kernel in the /
boot directory & if there is do an "update-grub" & you're good to go.
~Amax~
--
A person needs only two tools: WD-40 and duct tape. If it doesn't move
and it should, use WD-40. If it moves and shouldn't, use the tape.
-- Red Green
================================
Registered Linux User No. 306834