You are not logged in.

#1 2011-08-02 10:41:39

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Issue With Grub Not Seeing Itself or Key Files

The other day Grub decided to stop working correctly. This machine is rarely rebooted so I couldn't narrow down what has changed since the last time it worked.

Basically rather than Grub displaying it's menu when the machine boots, it now just shows the Grub prompt instead. I can manually type all the commands to get the machine to boot but as you can imagine that is rather tedious.

What is more odd is that Grub doesn't seem to be able to see it's own files:

oot@serenity grub $ grub-install /dev/sda
The file /boot/grub/stage1 not read correctly.



root@serenity grub $ stat /boot/grub/stage1
  File: `/boot/grub/stage1'
  Size: 512           Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d    Inode: 90701828    Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2011-08-02 11:33:34.894874347 +0100
Modify: 2011-08-02 11:33:34.894874347 +0100
Change: 2011-08-02 11:33:34.894874347 +0100
 Birth: -



root@serenity grub $ fdisk /dev/sda
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
81 heads, 63 sectors/track, 765633 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf4cf29c7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048  3907029167  1953513560   83  Linux



root@serenity grub $ cat /boot/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst

timeout   1
default   0
color light-blue/black light-cyan/blue

title  Arch Linux
root   (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro quiet
initrd /boot/kernel26.img

So as you can see all the files are sane and present, but Grub in the first command refuses to see it's own files. Trying to do this manually produces:

grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 15: File not found

But...

root@serenity grub $ ls -lah /boot/grub/
total 3.7M
drwxr-xr-x 3 root root  12K Aug  2 11:33 .
drwxr-xr-x 4 root root 4.0K Aug  2 11:33 ..
-rw-r--r-- 1 root root  19K Apr 28 18:05 acpi.mod
-rw-r--r-- 1 root root 8.8K Apr 28 18:05 affs.mod
-rw-r--r-- 1 root root 8.5K Apr 28 18:05 afs_be.mod
-rw-r--r-- 1 root root 8.3K Apr 28 18:05 afs.mod
-rw-r--r-- 1 root root 2.0K Apr 28 18:05 aout.mod
-rw-r--r-- 1 root root 5.4K Apr 28 18:05 appleldr.mod
-rw-r--r-- 1 root root  16K Apr 28 18:05 ata.mod
-rw-r--r-- 1 root root 3.9K Apr 28 18:05 ata_pthru.mod
-rw-r--r-- 1 root root 8.4K Apr 28 18:05 at_keyboard.mod
-rw-r--r-- 1 root root 8.4K Apr 28 18:05 befs_be.mod
-rw-r--r-- 1 root root 8.1K Apr 28 18:05 befs.mod
-rw-r--r-- 1 root root 4.4K Apr 28 18:05 bitmap.mod
-rw-r--r-- 1 root root 4.1K Apr 28 18:05 bitmap_scale.mod
-rw-r--r-- 1 root root 4.0K Apr 28 18:05 blocklist.mod
-rw-r--r-- 1 root root 4.5K Apr 28 18:05 boot.mod
-rw-r--r-- 1 root root  51K Apr 28 18:05 bsd.mod
-rw-r--r-- 1 root root  21K Apr 28 18:05 btrfs.mod
-rw-r--r-- 1 root root 3.5K Apr 28 18:05 bufio.mod
-rw-r--r-- 1 root root 4.4K Apr 28 18:05 cat.mod
-rw-r--r-- 1 root root 8.3K Apr 28 18:05 chain.mod
-rw-r--r-- 1 root root 3.7K Apr 28 18:05 cmp.mod
-rw-r--r-- 1 root root 2.4K Apr 28 18:05 command.lst
-rw-r--r-- 1 root root 4.2K Apr 28 18:05 configfile.mod
-rw-r--r-- 1 root root 133K Apr 28 18:05 core.efi
-rw-r--r-- 1 root root 5.8K Apr 28 18:05 cpio.mod
-rw-r--r-- 1 root root 2.9K Apr 28 18:05 cpuid.mod
-rw-r--r-- 1 root root  825 Apr 28 18:05 crypto.lst
-rw-r--r-- 1 root root 8.0K Apr 28 18:05 crypto.mod
-rw-r--r-- 1 root root 5.8K Apr 28 18:05 cs5536.mod
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 datehook.mod
-rw-r--r-- 1 root root 4.0K Apr 28 18:05 date.mod
-rw-r--r-- 1 root root 2.4K Apr 28 18:05 datetime.mod
-rw-r--r-- 1 root root  197 Aug  2 11:33 default
-rw-r--r-- 1 root root   45 Apr 28 19:23 device.map
-rw-r--r-- 1 root root 3.4K Apr 28 18:05 dm_nv.mod
-rw-r--r-- 1 root root  13K Aug  2 11:33 e2fs_stage1_5
-rw-r--r-- 1 root root 3.7K Apr 28 18:05 echo.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 efi_gop.mod
-rw-r--r-- 1 root root 7.7K Apr 28 18:05 efi_uga.mod
-rw-r--r-- 1 root root 8.4K Apr 28 18:05 elf.mod
-rw-r--r-- 1 root root 3.1K Apr 28 18:05 example_functional_test.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 ext2.mod
-rw-r--r-- 1 root root 8.3K Apr 28 18:05 extcmd.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 fat.mod
-rw-r--r-- 1 root root  11K Aug  2 11:33 fat_stage1_5
-rw-r--r-- 1 root root 9.1K Aug  2 11:33 ffs_stage1_5
-rw-r--r-- 1 root root 3.5K Apr 28 18:05 fixvideo.mod
-rw-r--r-- 1 root root  16K Apr 28 18:05 font.mod
-rw-r--r-- 1 root root 4.7K Apr 28 18:05 fshelp.mod
-rw-r--r-- 1 root root  137 Apr 28 18:05 fs.lst
-rw-r--r-- 1 root root 4.9K Apr 28 18:05 functional_test.mod
-rw-r--r-- 1 root root 3.2K Apr 28 18:05 gcry_arcfour.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 gcry_blowfish.mod
-rw-r--r-- 1 root root  32K Apr 28 18:05 gcry_camellia.mod
-rw-r--r-- 1 root root  16K Apr 28 18:05 gcry_cast5.mod
-rw-r--r-- 1 root root 4.9K Apr 28 18:05 gcry_crc.mod
-rw-r--r-- 1 root root  19K Apr 28 18:05 gcry_des.mod
-rw-r--r-- 1 root root 5.2K Apr 28 18:05 gcry_md4.mod
-rw-r--r-- 1 root root 6.0K Apr 28 18:05 gcry_md5.mod
-rw-r--r-- 1 root root 4.1K Apr 28 18:05 gcry_rfc2268.mod
-rw-r--r-- 1 root root  21K Apr 28 18:05 gcry_rijndael.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 gcry_rmd160.mod
-rw-r--r-- 1 root root  15K Apr 28 18:05 gcry_seed.mod
-rw-r--r-- 1 root root  20K Apr 28 18:05 gcry_serpent.mod
-rw-r--r-- 1 root root 8.8K Apr 28 18:05 gcry_sha1.mod
-rw-r--r-- 1 root root 5.7K Apr 28 18:05 gcry_sha256.mod
-rw-r--r-- 1 root root 6.8K Apr 28 18:05 gcry_sha512.mod
-rw-r--r-- 1 root root  14K Apr 28 18:05 gcry_tiger.mod
-rw-r--r-- 1 root root  35K Apr 28 18:05 gcry_twofish.mod
-rw-r--r-- 1 root root  24K Apr 28 18:05 gcry_whirlpool.mod
-rw-r--r-- 1 root root 8.1K Apr 28 18:05 gettext.mod
-rw-r--r-- 1 root root  74K Apr 28 18:05 gfxmenu.mod
-rw-r--r-- 1 root root  23K Apr 28 18:05 gfxterm.mod
-rw-r--r-- 1 root root 5.9K Apr 28 18:05 gptsync.mod
-rw-r--r-- 1 root root 3.1K Apr 28 18:05 gpxe_3c529.mod
-rw-r--r-- 1 root root 7.5K Apr 28 18:05 gpxe_3c595.mod
-rw-r--r-- 1 root root 4.8K Apr 28 18:05 gpxe_3c5x9.mod
-rw-r--r-- 1 root root  17K Apr 28 18:05 gpxe_3c90x.mod
-rw-r--r-- 1 root root 1.3K Apr 28 18:05 gpxe_bitbash.mod
-rw-r--r-- 1 root root 9.4K Apr 28 18:05 gpxe_davicom.mod
-rw-r--r-- 1 root root  13K Apr 28 18:05 gpxe_dmfe.mod
-rw-r--r-- 1 root root 8.2K Apr 28 18:05 gpxe_eepro100.mod
-rw-r--r-- 1 root root 7.4K Apr 28 18:05 gpxe_eepro.mod
-rw-r--r-- 1 root root 7.0K Apr 28 18:05 gpxe_epic100.mod
-rw-r--r-- 1 root root 7.4K Apr 28 18:05 gpxe_i2c_bit.mod
-rw-r--r-- 1 root root  72K Apr 28 18:05 gpxe_infiniband.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 gpxe_ipoib.mod
-rw-r--r-- 1 root root 4.8K Apr 28 18:05 gpxe_legacy.mod
-rw-r--r-- 1 root root 231K Apr 28 18:05 gpxe.mod
-rw-r--r-- 1 root root 8.9K Apr 28 18:05 gpxe_natsemi.mod
-rw-r--r-- 1 root root 7.7K Apr 28 18:05 gpxe_ne2k_isa.mod
-rw-r--r-- 1 root root 8.1K Apr 28 18:05 gpxe_ns83820.mod
-rw-r--r-- 1 root root 7.8K Apr 28 18:05 gpxe_ns8390.mod
-rw-r--r-- 1 root root 2.6K Apr 28 18:05 gpxe_nvs.mod
-rw-r--r-- 1 root root 5.6K Apr 28 18:05 gpxe_pnic.mod
-rw-r--r-- 1 root root 8.8K Apr 28 18:05 gpxe_rtl8139.mod
-rw-r--r-- 1 root root  13K Apr 28 18:05 gpxe_sis900.mod
-rw-r--r-- 1 root root 9.3K Apr 28 18:05 gpxe_smc9000.mod
-rw-r--r-- 1 root root 4.6K Apr 28 18:05 gpxe_spi_bit.mod
-rw-r--r-- 1 root root 3.2K Apr 28 18:05 gpxe_spi.mod
-rw-r--r-- 1 root root 4.0K Apr 28 18:05 gpxe_threewire.mod
-rw-r--r-- 1 root root  25K Apr 28 18:05 gpxe_tulip.mod
-rw-r--r-- 1 root root 7.3K Apr 28 18:05 gpxe_w89c840.mod
-r-------- 1 root root 2.7K Apr 28 16:39 grub.cfg.example
-rw-r--r-- 1 root root 133K Apr 28 18:05 grub.efi
-rw-r--r-- 1 root root 1.0K Apr 28 18:05 grubenv
-rw-r--r-- 1 root root  13K Apr 28 18:05 gzio.mod
-rw-r--r-- 1 root root 7.0K Apr 28 18:05 halt.mod
-rw-r--r-- 1 root root 9.4K Apr 28 18:05 hashsum.mod
-rw-r--r-- 1 root root  13K Apr 28 18:05 hdparm.mod
-rw-r--r-- 1 root root 2.4K Apr 28 18:05 hello.mod
-rw-r--r-- 1 root root 4.5K Apr 28 18:05 help.mod
-rw-r--r-- 1 root root 5.3K Apr 28 18:05 hexdump.mod
-rw-r--r-- 1 root root  12K Apr 28 18:05 hfs.mod
-rw-r--r-- 1 root root  12K Apr 28 18:05 hfsplus.mod
-rw-r--r-- 1 root root 5.3K Apr 28 18:05 iorw.mod
-rw-r--r-- 1 root root  12K Apr 28 18:05 iso9660.mod
-rw-r--r-- 1 root root 9.1K Aug  2 11:33 iso9660_stage1_5
-rw-r--r-- 1 root root  11K Apr 28 18:05 jfs.mod
-rw-r--r-- 1 root root  12K Aug  2 11:33 jfs_stage1_5
-rw-r--r-- 1 root root 9.4K Apr 28 18:05 jpeg.mod
-rw-r--r-- 1 root root 6.4K Apr 28 18:05 keylayouts.mod
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 keystatus.mod
-rw-r--r-- 1 root root  16K Apr 28 18:05 linux.mod
-rw-r--r-- 1 root root 5.9K Apr 28 18:05 loadbios.mod
-rw-r--r-- 1 root root   87 Apr 28 18:05 load.cfg
-rw-r--r-- 1 root root  11K Apr 28 18:05 loadenv.mod
drwxr-xr-x 2 root root 4.0K Apr 28 18:05 locale
-rw-r--r-- 1 root root 5.6K Apr 28 18:05 loopback.mod
-rw-r--r-- 1 root root 6.3K Apr 28 18:05 lsacpi.mod
-rw-r--r-- 1 root root 4.0K Apr 28 18:05 lsefimmap.mod
-rw-r--r-- 1 root root 4.3K Apr 28 18:05 lsefisystab.mod
-rw-r--r-- 1 root root 3.4K Apr 28 18:05 lsmmap.mod
-rw-r--r-- 1 root root 7.8K Apr 28 18:05 ls.mod
-rw-r--r-- 1 root root 7.9K Apr 28 18:05 lspci.mod
-rw-r--r-- 1 root root 4.5K Apr 28 18:05 lssal.mod
-rw-r--r-- 1 root root 208K Apr 28 18:05 lua.mod
-rw-r--r-- 1 root root  13K Apr 28 18:05 lvm.mod
-rw-r--r-- 1 root root 3.4K Apr 28 18:05 mdraid09.mod
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 mdraid1x.mod
-rw-r--r-- 1 root root 4.2K Apr 28 18:05 memdisk.mod
-rw-r--r-- 1 root root 5.3K Apr 28 18:05 memrw.mod
-rw-r--r-- 1 root root  251 Aug  2 11:24 menu.lst
-rw-r--r-- 1 root root 1.3K Apr 18 19:57 menu.lst.pacsave
-rw-r--r-- 1 root root 6.6K Apr 28 18:05 minicmd.mod
-rw-r--r-- 1 root root 7.5K Apr 28 18:05 minix2.mod
-rw-r--r-- 1 root root 7.5K Apr 28 18:05 minix.mod
-rw-r--r-- 1 root root 9.2K Aug  2 11:33 minix_stage1_5
-rw-r--r-- 1 root root  12K Apr 28 18:05 mmap.mod
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 moddep.lst
-rw-r--r-- 1 root root 4.5K Apr 28 18:05 msdospart.mod
-rw-r--r-- 1 root root  22K Apr 28 18:05 multiboot2.mod
-rw-r--r-- 1 root root  20K Apr 28 18:05 multiboot.mod
-rw-r--r-- 1 root root  13K Apr 28 18:05 nilfs2.mod
-rw-r--r-- 1 root root 173K Apr 28 18:05 normal.mod
-rw-r--r-- 1 root root 5.8K Apr 28 18:05 ntfscomp.mod
-rw-r--r-- 1 root root  17K Apr 28 18:05 ntfs.mod
-rw-r--r-- 1 root root  18K Apr 28 18:05 ohci.mod
-rw-r--r-- 1 root root 3.1K Apr 28 18:05 part_acorn.mod
-rw-r--r-- 1 root root 3.2K Apr 28 18:05 part_amiga.mod
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 part_apple.mod
-rw-r--r-- 1 root root 5.3K Apr 28 18:05 part_bsd.mod
-rw-r--r-- 1 root root 3.9K Apr 28 18:05 part_gpt.mod
-rw-r--r-- 1 root root   82 Apr 28 18:05 partmap.lst
-rw-r--r-- 1 root root 3.8K Apr 28 18:05 part_msdos.mod
-rw-r--r-- 1 root root 3.0K Apr 28 18:05 part_sun.mod
-rw-r--r-- 1 root root 3.2K Apr 28 18:05 part_sunpc.mod
-rw-r--r-- 1 root root   17 Apr 28 18:05 parttool.lst
-rw-r--r-- 1 root root 7.8K Apr 28 18:05 parttool.mod
-rw-r--r-- 1 root root 3.7K Apr 28 18:05 password.mod
-rw-r--r-- 1 root root 5.4K Apr 28 18:05 password_pbkdf2.mod
-rw-r--r-- 1 root root 2.4K Apr 28 18:05 pbkdf2.mod
-rw-r--r-- 1 root root 2.3K Apr 28 18:05 pci.mod
-rw-r--r-- 1 root root 4.5K Apr 28 18:05 play.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 png.mod
-rw-r--r-- 1 root root 4.8K Apr 28 18:05 probe.mod
-rw-r--r-- 1 root root 2.7K Apr 28 18:05 raid5rec.mod
-rw-r--r-- 1 root root 5.1K Apr 28 18:05 raid6rec.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 raid.mod
-rw-r--r-- 1 root root 3.1K Apr 28 18:05 read.mod
-rw-r--r-- 1 root root 2.3K Apr 28 18:05 reboot.mod
-rw-r--r-- 1 root root  73K Apr 28 18:05 regexp.mod
-rw-r--r-- 1 root root  17K Apr 28 18:05 reiserfs.mod
-rw-r--r-- 1 root root  13K Aug  2 11:33 reiserfs_stage1_5
-rw-r--r-- 1 root root  28K Apr 28 18:05 relocator.mod
-rw-r--r-- 1 root root 7.5K Apr 28 18:05 scsi.mod
-rw-r--r-- 1 root root 5.5K Apr 28 18:05 search_fs_file.mod
-rw-r--r-- 1 root root 5.5K Apr 28 18:05 search_fs_uuid.mod
-rw-r--r-- 1 root root 5.4K Apr 28 18:05 search_label.mod
-rw-r--r-- 1 root root 4.3K Apr 28 18:05 search.mod
-rw-r--r-- 1 root root  14K Apr 28 18:05 serial.mod
-rw-r--r-- 1 root root 1.1K Apr 28 18:05 setjmp.mod
-rw-r--r-- 1 root root 9.7K Apr 28 18:05 setpci.mod
-rw-r--r-- 1 root root 7.9K Apr 28 18:05 sfs.mod
-rw-r--r-- 1 root root 4.1K Apr 28 18:05 sleep.mod
-rw-r--r-- 1 root root  512 Aug  2 11:33 stage1
-rw-r--r-- 1 root root 134K Aug  2 11:33 stage2
-rw-r--r-- 1 root root 134K Apr 18  2010 stage2_eltorito
-rw-r--r-- 1 root root 5.8K Apr 28 18:05 tar.mod
-rw-r--r-- 1 root root  112 Apr 28 18:05 terminal.lst
-rw-r--r-- 1 root root 6.8K Apr 28 18:05 terminal.mod
-rw-r--r-- 1 root root  20K Apr 28 18:05 terminfo.mod
-rw-r--r-- 1 root root 2.8K Apr 28 18:05 test_blockarg.mod
-rw-r--r-- 1 root root 4.6K Apr 28 18:05 testload.mod
-rw-r--r-- 1 root root 8.6K Apr 28 18:05 test.mod
-rw-r--r-- 1 root root 4.9K Apr 28 18:05 tga.mod
-rw-r--r-- 1 root root 2.1K Apr 28 18:05 trig.mod
-rw-r--r-- 1 root root 2.6K Apr 28 18:05 true.mod
-rw-r--r-- 1 root root  12K Apr 28 18:05 udf.mod
-rw-r--r-- 1 root root 9.1K Apr 28 18:05 ufs1.mod
-rw-r--r-- 1 root root 9.5K Apr 28 18:05 ufs2.mod
-rw-r--r-- 1 root root 9.5K Aug  2 11:33 ufs2_stage1_5
-rw-r--r-- 1 root root  11K Apr 28 18:05 uhci.mod
-rw-r--r-- 1 root root 7.4K Apr 28 18:05 usb_keyboard.mod
-rw-r--r-- 1 root root  18K Apr 28 18:05 usb.mod
-rw-r--r-- 1 root root  11K Apr 28 18:05 usbms.mod
-rw-r--r-- 1 root root 3.3K Apr 28 18:05 usbserial_common.mod
-rw-r--r-- 1 root root 4.4K Apr 28 18:05 usbserial_ftdi.mod
-rw-r--r-- 1 root root 4.7K Apr 28 18:05 usbserial_pl2303.mod
-rw-r--r-- 1 root root 6.5K Apr 28 18:05 usbtest.mod
-rw-r--r-- 1 root root 8.8K Apr 28 18:05 video_bochs.mod
-rw-r--r-- 1 root root 9.2K Apr 28 18:05 video_cirrus.mod
-rw-r--r-- 1 root root  30K Apr 28 18:05 video_fb.mod
-rw-r--r-- 1 root root 5.3K Apr 28 18:05 videoinfo.mod
-rw-r--r-- 1 root root   41 Apr 28 18:05 video.lst
-rw-r--r-- 1 root root 9.6K Apr 28 18:05 video.mod
-rw-r--r-- 1 root root 6.5K Apr 28 18:05 videotest.mod
-rw-r--r-- 1 root root 8.6K Aug  2 11:33 vstafs_stage1_5
-rw-r--r-- 1 root root  11K Apr 28 18:05 xfs.mod
-rw-r--r-- 1 root root  13K Aug  2 11:33 xfs_stage1_5
-rw-r--r-- 1 root root  56K Apr 28 18:05 xnu.mod
-rw-r--r-- 1 root root 3.6K Apr 28 18:05 xnu_uuid.mod
-rw-r--r-- 1 root root  22K Apr 28 18:05 xzio.mod
-rw-r--r-- 1 root root  12K Apr 28 18:05 zfsinfo.mod
-rw-r--r-- 1 root root  41K Apr 28 18:05 zfs.mod

So as you can see the files are clearly there. Any idea what is going on here? I've not run into anything this odd before, as I can't fix what clearly isn't broken.

Any ideas?

Offline

#2 2011-08-02 16:29:08

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Issue With Grub Not Seeing Itself or Key Files

You have files from both GRUB and GRUB2 in /boot/grub.  According to pacman GRUB2 conflicts with GRUB, so how did you accomplish that?

And is it possible that's part of the problem?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2011-08-02 17:23:54

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: Issue With Grub Not Seeing Itself or Key Files

I think initially I was using GRUB2, had a few issues with it and went back to GRUB1 and it -was- working fine. I assume I can remove GRUB1, delete /boot and reinstall GRUB. What do I need to do to get the kernel and initrd images regenerated? (using the stock packages)

Offline

#4 2011-08-02 17:42:29

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Issue With Grub Not Seeing Itself or Key Files

I don't think you need to remove everything in /boot.  If I were you, I'd run pacman and see what's installed.  If GRUB1 is installed, remove it with pacman.  If not, I think you could just delete /boot/grub then reinstall GRUB2.  Or you could use pacman to see what files are provided by the GRUB2 packages (you seem to have more than one installed), and remove everything else from /boot/grub.  Either way there should be no need to worry about the initrd and kernel.

Also, if you do go with GRUB2 make sure to check the wiki. I'm not very familiar with it but I think the commands are much different from GRUB1.

Last edited by alphaniner (2011-08-02 17:44:34)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2011-08-02 22:39:14

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: Issue With Grub Not Seeing Itself or Key Files

I was using just GRUB 1, GRUB2 wasn't installed. Uninstalled GRUB, deleted /boot and reinstalled but it still didn't work. Switched to GRUB2 and it's working fine now. Not sure why GRUB1 hates my system now but at least GRUB2 works.

Offline

Board footer

Powered by FluxBB