You are not logged in.
Pages: 1
Hi,
I just installed arch linux in a dual boot configuration with windows xp. During the installation I selected only the base packages and installed the default kernel, the IDE/SCSI one. The kernel installed fine and I installed grub to /dev/sda as I have a single sata hard disk. I have windows on sda1 and a swap on sda2 which is at the end of the disk and sda3 in the middle for my root partition. Once I rebooted after installation however my windows install booted fine but grub gives me and error claiming it cannot find the initrd26.img. I do not know much about the whole boot process of the kernel so I was hoping if someone could help me find a fix. Here is a list of my /boot and /boot/grub directories and my menu.lst file. I noticed there is a file called kernel26.img but I am not sure whether that is the initrd26.img file or the kernel itself.
bt ~ # cd /mnt/sda3/boot
bt boot # ls
System.map26 diag1.img grub/ kconfig26 kernel26-fallback.img kernel26.img vml
bt boot # ls grub
e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5 stage1 stage2_eltorito vstafs_stage1_5
fat_stage1_5 iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2 ufs2_stage1_5 xfs_stage1_5
bt boot #
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro
initrd /boot/initrd26.img
# (1) Windows XP
title Windows XP calef13 edition
rootnoverify (hd0,0)
chainloader +1
Thanks in advance,
Calef13
Offline
Just change initrd26.img to kernel26.img
Offline
The regular grub config uses kernel26.img as the initrd (yes, that's what it is). It also has another entry that uses kernel26-fallback.img (a bigger, more generalized initrd) and appropriate options to boot in single-user mode.
I don't know why yours didn't come out right. There isn't an initrd26.img file any more (though I think there used to be one a while back).
Offline
Just for completeness (that's not a word is it?) changing the initrz26.img to kernel26.img fixed my problem, thanks a lot for the quick replies.
Offline
Pages: 1