Re: Kernel recompile has left /boot empty

From: Matt Bostock (matt_at_mattbostock.com)
Date: 03/15/04


Date: Mon, 15 Mar 2004 02:36:17 -0000

It's all ext3, same as the main partition.

When I run:

# du boot -h

It comes up with:
8.0K boot

So it really appears as though there's only the kernel.h left.

Matt

-- 
Banging your head against a wall uses 150 calories an hour.
"Brian Reiahle" <reply@the.newsgroup> wrote in message
news:3w85c.91$th6.2039@nnrp1.ozemail.com.au...
> Matt Bostock wrote:
> > Hi,
> >
> > I successfully recompiled my kernel (2.4.25), patched with GRSecurity.
I'm
> > using RedHat9 and Grub bootloader. I tested out the new kernel so that
it
> > would only load as default once, and then if anything went wrong I could
> > simply reboot. Everything went fine, except that I noticed /boot was
empty
> > apart from containing kernel.h.
> >
> > I presumed it was normal for 'kernel testing', so I rebooted, made the
new
> > recompiled kerned the default, and rebooted again. Everything has been
> > working fine, expect /boot is still empty except for kernel.h.
> >
> > I need to recompile the kernel again with some new options, but can't
> > because /boot is almost empty. Any idea why it's (almost) empty?
> >
> > Thanks,
> > Matt :)
>
> Do you have /boot on a seporate partition?
> if so, dose it use a different filesystem?
>
> The first thing that came to mind was that maby the boot scripts faild
> to mount /boot ... maby you forgot to add support for it's filesystem?
> ... maby a needed module is on a filesystem not mounted until after
> /boot failed.
>
> not sure about the kernel.h though, im just thinking out loud at the
moment.
It's all ext3, same as the main partition.
When I run:
# du boot -h
It comes up with:
8.0K    boot
So it really appears as though there's only the kernel.h left.
Matt
-- 
Banging your head against a wall uses 150 calories an hour.
"Brian Reiahle" <reply@the.newsgroup> wrote in message
news:3w85c.91$th6.2039@nnrp1.ozemail.com.au...
> Matt Bostock wrote:
> > Hi,
> >
> > I successfully recompiled my kernel (2.4.25), patched with GRSecurity.
I'm
> > using RedHat9 and Grub bootloader. I tested out the new kernel so that
it
> > would only load as default once, and then if anything went wrong I could
> > simply reboot. Everything went fine, except that I noticed /boot was
empty
> > apart from containing kernel.h.
> >
> > I presumed it was normal for 'kernel testing', so I rebooted, made the
new
> > recompiled kerned the default, and rebooted again. Everything has been
> > working fine, expect /boot is still empty except for kernel.h.
> >
> > I need to recompile the kernel again with some new options, but can't
> > because /boot is almost empty. Any idea why it's (almost) empty?
> >
> > Thanks,
> > Matt :)
>
> Do you have /boot on a seporate partition?
> if so, dose it use a different filesystem?
>
> The first thing that came to mind was that maby the boot scripts faild
> to mount /boot ... maby you forgot to add support for it's filesystem?
> ... maby a needed module is on a filesystem not mounted until after
> /boot failed.
>
> not sure about the kernel.h though, im just thinking out loud at the
moment.


Relevant Pages

  • Re: booting linux using a floppy
    ... which kernel of the list to boot from. ... Note that this will at this point remove your ability to boot into windows. ... I think I recall that you said the grub loader... ... and grub will search for a partition containing grub's stage2 file ...
    (comp.os.linux.misc)
  • Re: My Machine Wont Boot
    ... The boot order is correct in the bios. ... Decoded into readable language, the,0 is the partition number of the (0 ... Installing Grub And A Kernel ... won't install grub because the kernel hasn't changed. ...
    (Fedora)
  • Re: /boot on a separate partition
    ... >> partition at the start of the drive. ... The problem I'm having is trying to actually boot the system. ... Undaunted, I type 'ad(0,d)/loader' to load the stage 3 loader. ... the message "can't load 'kernel". ...
    (freebsd-questions)
  • Re: Kernel boot configuration in modern Linux systems
    ... is enough to copy this image file to the boot medium like the ... BIOS to load the kernel, the kernel image had to be located beyond this ... This is not a problem for a sane install, ... because there will be a fairly small partition holding / and it is not ...
    (comp.os.linux.development.system)
  • Re: Kernel recompile has left /boot empty
    ... PS Please note that when I rebooted the system after testing the new kernel, ... the boot dir was normal again. ... >> simply reboot. ... > The first thing that came to mind was that maby the boot scripts faild ...
    (alt.os.linux)