[K12OSN] lilo config? MBR hosery? boot issues...
anthony baldwin
anthonybaldwin at snet.net
Sat May 15 00:02:26 UTC 2004
Les Mikesell wrote:
> On Fri, 2004-05-14 at 18:10, anthony baldwin wrote:
>
>>>If everything else is correct, running
>>>grub-install
>>>as root should do it all for you. If you try it the hard way
>>>you have to figure out the bsd-style partition name conventions.
>>>
>>
>>I did /sbin/grub-install /dev/hda
>>and I got an "install finished" message, which seemed to indicate that
>>all was well, but a subsequent reboot produced simliar results as
>>perviously, only, instead of a screen with only "LI" in the corner, it
>>have "L 80 80 80 80 80 80 80"
>>adding another 80 every 20 seconds or so. I grew tired of the
>>proliferating 80s and flopped in the floppy and rebooted.
>>Is this really bad news? Does it mean my MBR is all hosed or something?
>
>
> Whichever of grub or lilo you installed last will overwrite the
> MBR, but it sounds like something is missing. Does 'df' show any
> space remaining on your /boot partition? If it is full, you
> may have installed too many kernels without removing any.
> rpm -qa |grep kernel
I got this output:
bash-2.05b$ rpm -qa |grep kernel
kernel-utils-2.4-9.1.101.fedora
ltsp_kernel_i386-3.0-13.k12ltsp.0.4.0
kernel-2.4.22-1.2166.nptl
kernel-smp-2.4.22-1.2166.nptl
kernel-source-2.4.22-1.2166.nptl
ltsp_kernel_i386_pxe-3.0-13.k12ltsp.0.4.0
ltsp_kernel_kitchen-sink-3.0-2.k12ltsp.2.3.0
kernel-pcmcia-cs-3.1.31-13
bash-2.05b$ rpm -q kernel
kernel-2.4.22-1.2166.nptl
Which stumps me. Before the update I had at least 7 kernels showing
when lilo came up. Someof them were just older kernels, but I don't se
them now. An smp and the bigmem were also listed. It was booting the
bibmem, for no apparent reason, but it was working so I left it alone.
I'm not sure what to remove here, either, and what to keep.
What's an nptl kernel?
I can't tell you how much I appreciate your assistance, btw.
I'm wondering if this output is significant:
bash-2.05b$ cd /usr/src/linux-2.4/kernel
bash-2.05b$ ls
acct.c exit.c kmod.c printk.c sys.c
capability.c fork.c ksyms.c profile.c sysctl.c
compat.c futex.c Makefile ptrace.c time.c
context.c info.c module.c resource.c timer.c
cpufreq.c itimer.c panic.c sched.c uid16.c
dma.c kallsyms.c pid.c signal.c user.c
exec_domain.c kksymoops.c pm.c softirq.c
and
bash-2.05b$ cd /boot
bash-2.05b$ ls
boot.0300
boot.b
chain.b
config-2.4.22-1.2166.nptl
config-2.4.22-1.2166.nptlsmp
grub
initrd-2.4.22-1.2166.nptl.img
initrd-2.4.22-1.2166.nptlsmp.img
kernel.h
lost+found
map
message
module-info
os2_d.b
System.map
System.map-2.4.22-1.2166.nptl
System.map-2.4.22-1.2166.nptlsmp
vmlinux-2.4.22-1.2166.nptl
vmlinux-2.4.22-1.2166.nptlsmp
vmlinuz
vmlinuz-2.4.22-1.2166.nptl
vmlinuz-2.4.22-1.2166.nptlsmp
> should show the currently installed versions. If there are quite
> a few, get rid of some with 'rpm -e ...'. Then if you upgraded from
> CD's and haven't done an online update, do a 'yum update kernel' to
> install the latest available and fill in any missing pieces. You
> may still have to patch up the grub installation or hand-edit
> /etc/lilo.conf
>
> ---
> Les Mikesell
> les at futuresource.com
>
>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
--
Anthony Baldwin
http://www.School-Library.net
Freedom to Learn!
-----BEGIN GEEK CODE BLOCK-----
GED$/L/P/FA d? s: a C++ L++ W++ N++ K- w--- M+ PS++
PE-- Y+ PGP- t+ tv-- b++(b++++) D? G e++++ h++ r--- y?
------END GEEK CODE BLOCK------
More information about the K12OSN
mailing list