View previous topic :: View next topic |
Author |
Message |
woodshop n00b
Joined: 15 Feb 2004 Posts: 34
|
Posted: Thu Nov 04, 2004 11:49 pm Post subject: /boot files gone? |
|
|
I was just now playing around with maybe trying to get the lilo graphical matrix thing working.
I did mount /dev/hda2 /boot
and then i edited my lilo config and did
/sbin/lilo
and i got an error saying that bla bla bla kernel....... not found in /boot
so i look in /boot and it's empty.
I know that /dev/hda2 is my /boot partition.
Whats is weird though is that the system still boots up as if nothing is missing.
?? |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Nov 05, 2004 12:06 am Post subject: |
|
|
- IS hda2 your boot partition ?
- did you forget to mount it when installing the kernel ?
If so, the kernel is in the boot directory on the root partition - which you can't see if the boot partition is mounted.
Unmount /boot and look again... _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
woodshop n00b
Joined: 15 Feb 2004 Posts: 34
|
Posted: Fri Nov 05, 2004 12:22 am Post subject: |
|
|
Ok i looked @ /boot with hda2 mounted and with hda2 not mounted.
Both are empty.
the fstab is
Code: |
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda2 /boot ext2 noauto,noatime 1 1
/dev/hda4 / ext3 noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/sda1 /mnt/Camera auto noauto 0 0
|
When i installed the kernel and the new kernel i did
make && make modules_install
then mounted /dev/hda2
and cp 'ed the bzimage, system.map, and confige files over to /boot |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Fri Nov 05, 2004 3:11 pm Post subject: |
|
|
I'd try to e2fsck it first, then try to copy the files over again.
Pretty bizarre (barring any obvious user mistakes...) _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
|