Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot files gone?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
woodshop
n00b
n00b


Joined: 15 Feb 2004
Posts: 34

PostPosted: Thu Nov 04, 2004 11:49 pm    Post subject: /boot files gone? Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Nov 05, 2004 12:06 am    Post subject: Reply with quote

- 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
View user's profile Send private message
woodshop
n00b
n00b


Joined: 15 Feb 2004
Posts: 34

PostPosted: Fri Nov 05, 2004 12:22 am    Post subject: Reply with quote

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
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Fri Nov 05, 2004 3:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum