You are not logged in.

#1 2010-05-16 16:31:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

boot partition wiped out - how to recreate grub's files [SOLVED]

Boot partition got wiped out on my system. 

/dev/sda1 #root
/dev/sda2 #boot
/dev/sda3 #swap
/dev/sda4 #home

I'm in an ubuntu live CD and doing this via VNC.  I am chrooted into /dev/sda1 (arch) and I have mounted /boot and regenerated the kernel images.  There is a /boot/grub/menu.lst and a /boot/grub/system.map but that's it.  If I look at my functional system (another pc) I see a ton of extra grub files:

$ ls /boot/grub
 fat_stage1_5            stage1           xfs_stage1_5
                ffs_stage1_5      minix_stage1_5     stage2
default                      iso9660_stage1_5  more.lst           stage2_eltorito
device.map                   jfs_stage1_5      reiserfs_stage1_5  ufs2_stage1_5
e2fs_stage1_5                menu.lst          splash.xpm.gz      vstafs_stage1_5

How can I get them back?  I thought that a pacman -S grub would do it, but nothing...??

Last edited by graysky (2010-05-16 16:51:10)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2010-05-16 16:38:38

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: boot partition wiped out - how to recreate grub's files [SOLVED]

The wiki seems to explain this fairly well.

Offline

#3 2010-05-16 16:39:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: boot partition wiped out - how to recreate grub's files [SOLVED]

*!@*  I must have read that page 3 times over and missed that 3 times over.  Thank you!

EDIT: made the wiki article a little more obvious!

Last edited by graysky (2010-05-16 16:55:41)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB