[SLE] Recover question - no kernel
From: Moby (moby_at_mobsternet.com)
Date: 03/31/05
- Previous message: Theo v. Werkhoven: "Re: [SLE] Configuring Spamassassin and amavisd-new"
- Next in thread: Stephen Boddy: "Re: [SLE] Recover question - no kernel"
- Reply: Stephen Boddy: "Re: [SLE] Recover question - no kernel"
- Maybe reply: Moby: "Re: [SLE] Recover question - no kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 16:30:03 -0600 To: suse-linux-e@suse.com
I have a need to reinstall the kernel on a SuSE 9.2 box using the
install CDs and booting into rescue mode. The original root partition
was at /dev/hda4 and the original /boot was /dev/hda2. Both / and /boot
are resierfs. Kernel source and binary RPMS exist on the original /
(/dev/hda4) under /home/raw/kernel. Here at the steps I am taking and
the issue I keep on facing:
1) Boot off SuSE 9.2 CD1, choose Rescue, login as root.
2) cd /mnt. Then mkdir t4. Then mount /dev/hda4 /mnt/t4.
3) chroot /mnt/t4.
4) mount /dev/hda2 /boot
At this point, my file system is back the way it used to be before I
destroyed the kernel. Now to install the kernel I have tried using the
binary rpms as well as compiling the installing from sources. The
problem is that both steps, installing the binary RPMs or making from
source, apparently look for information under /sys. In my case, /sys
goes away at step (3) above. I understand /sys is a "virtual" file
system. My question is how do I get my kernel back? I would like to
install a binary RPM instead of compiling and installing my own.
However, even when installing from the binary RPM, I see complaints
about being unable to find items under /sys. I think this makes it
unable to produce a proper initrd, and as a result of which, even though
the RPM appears to install fine and I see all the proper looking files
at all the right places, on a reboot the machine complains about waiting
for /dev/hda4 and then gives up.
It seems that the use of /sys severely hinders a quick recovery, such as
simply booting as in steps (1) through (4) above and installing the
binary kernel RPM.
Thanks in advance for any help
-- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin First they came for the Jews and I did not speak out because I was not a Jew. Then they came for the Communists and I did not speak out because I was not a Communist. Then they came for the trade unionists and I did not speak out because I was not a trade unionist. Then they came for me and there was no one left to speak out for me. -- Pastor Martin Niemöller -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Theo v. Werkhoven: "Re: [SLE] Configuring Spamassassin and amavisd-new"
- Next in thread: Stephen Boddy: "Re: [SLE] Recover question - no kernel"
- Reply: Stephen Boddy: "Re: [SLE] Recover question - no kernel"
- Maybe reply: Moby: "Re: [SLE] Recover question - no kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: [Fwd: KI-2.6.8-2-686 Upgrage And Modem Issuse]-Problem Solved-Partially-then finally
... >>installing sarge. ... >Is this new kernel an image or did
you compile from source (Kernel ... # The first network card - this entry was created during
the Debian ... networking while installing the sarge kernel image, ... (Debian-User) - Re: Debian install fails on Intel P4C800 w/ WD800J drive (but Redhat 9 is ok)
... It is not clear to me which kernel you are installing by this ... > to detect
the remaining IDE drives, ... Another suggested doing installing KNOPPIX on the
hard drive. ... (Debian-User) - PROBLEM:hd? lost interrupt problem
... Ripping audio cd's, installing some Linux distributions, ... accesing
cdrom from VmWare 4 couses kernel to print "hd? ... (Linux-Kernel) - Re: kernel-package system: install a boot block using the existing /etc/lilo.conf?
... > yes rebooting the system when the script finished would boot the old kernel.
... The symlinks are relatively ... that installing a new boot block referring
to the new kernel ... (Debian-User) - Re: Xserver
... The next version of Debian has a new installer, so if you are installing ...
you're probably using a 2.2 kernel ... upgrading, I'd go ahead and jump to 2.6 (unless
you have special needs, ... (Debian-User)