Install only boot partition

Asked by Jach

The main thing I'd like is to reinstall only the /boot stuff to a separate partition using the live cd, because I accidentally deleted everything in the /boot directory. (Don't ask how, please. >.>) I made the separate partition bootable, and edited the fstab file to be correct. Because I had deleted everything, I tried a Mepis /boot folder someone archived for me (who has relatively the same system), but I still get a Grub error 15. The partition with Ubuntu and stuff on it is /dev/sda1 and the boot partition is /dev/sda5. I'm wondering if I did not edit the menu.lst file correctly? (I'm going to have someone give me their /boot in Ubuntu if I can't reinstall it myself and try that, probably not the brightest idea but meh.)

A sample in the menu.lst (I'm also a little concerned that there aren't any =, but that's how it was):
title MEPIS at sda5, kernel 2.6.15-27-desktop
root (sd0,4)
kernel /boot/vmlinuz-2.6.15-27-desktop root=/dev/sda1 nomce quiet vga=791
boot

I did do a "ln -s . boot" command to make a loop, so it should know where to look. Are the locations correct, or do I need to change something?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jach
Solved:
Last query:
Last reply:
Revision history for this message
Jach (kevinmccloud) said :
#1

Well, I fixed grub by doing a new install on that, but I still need an Ubuntu Dapper kernel. Can anyone help with that?

Revision history for this message
Best Jach (kevinmccloud) said :
#2

Fixed finally. Got an old Dapper kernel and all works now. Thanks a lot Google...

I hate grub. >.> (hd1,0) instead of sda is odd...