You are not logged in.
Pages: 1
hi,
i'm having trouble with arch linux. when i start it up i get the following message:
kinit: cannot open root device dev(0,0)
kinit: init not found!
kernel panic - not syncing : attempted to kill init!
i don't know what the problem is
this is my grub setting for arch linux :
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /boot/vmlinuz26 root=dev/sda1 ro
initrd /boot/kernel26.img
and this is my partition:
Apparaat Opstart Begin Einde Blokken ID Systeem
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 3191 15864187+ 83 Linux
/dev/sda3 3192 11976 70565512+ 7 HPFS/NTFS
/dev/sda4 11977 19457 60091132+ 5 Uitgebreid
/dev/sda5 * 11977 19301 58838031 83 Linux
/dev/sda6 19302 19457 1253038+ 82 Linux wisselgeheugen
Offline
up
Offline
Have you changed your mkinitcpio.conf recently?
Offline
Have you changed your mkinitcpio.conf recently?
i've should have mentioned that i just installed arch linux. so, no i didn't changed mkinitcpio.conf
Offline
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /boot/vmlinuz26 root=dev/sda1 ro
initrd /boot/kernel26.img
"root=dev/sda1" needs an extra slash like "root=/dev/sda1" instead.
Also, make sure that's really the location of your root partition. "root (hd0,0)" in the previous line refers to the location of /boot. "root=/dev/sda1" refers to the location of the / partition. If you've installed /boot to its own mount point, /dev/sda1 probably is not your root partition.
Last edited by creslin (2008-10-21 16:51:49)
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
puppet wrote:# (0) Arch Linux
title Arch Linux [/boot/vmlinuz26]
root (hd0,0)
kernel /boot/vmlinuz26 root=dev/sda1 ro
initrd /boot/kernel26.img"root=dev/sda1" needs an extra slash like "root=/dev/sda1" instead.
Also, make sure that's really the location of your root partition. "root (hd0,0)" in the previous line refers to the location of /boot. "root=/dev/sda1" refers to the location of the / partition. If you've installed /boot to its own mount point, /dev/sda1 probably is not your root partition.
To make this a little more clear, the grub directive "root (hd0,0)" tells grub where to look for all the files specified in this config file. That is, it tells grub that /boot/vmlinuz26 is on (hd0,0). The root=/dev/sda1 parameter tells linux where all the files IT needs are (for instance, /bin/init).
Offline
Ah thanks for the explanation. That lifts a layer of abstraction for me about what each part does.
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
it's all on the same partition. so the grub is looking in the good partition.
edit: it works now. the '/' i forgot.
thx for the help
Last edited by puppet (2008-10-22 18:51:02)
Offline
Pages: 1