View previous topic :: View next topic |
Author |
Message |
jamisnemo n00b
Joined: 27 Jun 2004 Posts: 11
|
Posted: Mon Dec 10, 2007 8:48 pm Post subject: Whats suposed to be in /boot? (file not found) [Solved] |
|
|
Hi,
I've messed up my /boot directory and I need to try to get the default files back. Whats in there (can someone post their /boot (I'm using grub...)) and where do the files come from?
I accidently deleted the directory when I was trying to clean up some stuff left over from a slackware install...
Any help would be great!
thanks!
jamis
Last edited by jamisnemo on Mon Dec 10, 2007 9:23 pm; edited 1 time in total |
|
Back to top |
|
|
phsdv Guru
Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Mon Dec 10, 2007 8:53 pm Post subject: |
|
|
In /boot I have my kernels and grub. So copy your kernel again to /boot and reinstall grub and make an entry for your kernel in menu.lst |
|
Back to top |
|
|
jamisnemo n00b
Joined: 27 Jun 2004 Posts: 11
|
Posted: Mon Dec 10, 2007 9:11 pm Post subject: |
|
|
I've tried reinstalling grub but since grub is able to boot, there's gotta be something else missing from the directory.
here's my listing of /boot:
Code: |
livecd boot # ls
grub kernel-2.6.22-hardened-r8
livecd boot #
|
shouldn't there be a link back to /boot using some link? like:
boot -> .
how would I make this link?
Thanks for the reply!
jamis[/code] |
|
Back to top |
|
|
hoacker Guru
Joined: 04 Aug 2007 Posts: 505 Location: Bürstadt, Germany
|
|
Back to top |
|
|
jamisnemo n00b
Joined: 27 Jun 2004 Posts: 11
|
Posted: Mon Dec 10, 2007 9:22 pm Post subject: [solved!] |
|
|
Ah ha! I got it!
I think that because the link back to boot was missing i had to change the location of the kernel from:
kernel /boot/kernel-2.6.22-hardened-r8 root=/dev/hda3
to
kernel /kernel-2.6.22-hardened-r8 root=/dev/hda3
this is the second time I've had to make such a change so if you're having problems with grub not being able to find a file, try this.
I'll change the original post to [SOLVED]
but if I could get some info on making that boot link I'd be pretty happy. Thanks!
jamis |
|
Back to top |
|
|
hoacker Guru
Joined: 04 Aug 2007 Posts: 505 Location: Bürstadt, Germany
|
Posted: Mon Dec 10, 2007 9:51 pm Post subject: Re: [solved!] |
|
|
jamisnemo wrote: |
I think that because the link back to boot was missing i had to change the location of the kernel from:
kernel /boot/kernel-2.6.22-hardened-r8 root=/dev/hda3
to
kernel /kernel-2.6.22-hardened-r8 root=/dev/hda3
[...]
but if I could get some info on making that boot link I'd be pretty happy. Thanks!
|
You don't really need this link but you can create it with these commands:
Code: | cd /boot
ln -s . boot
|
|
|
Back to top |
|
|
|