THANKS for helps from Petersson, Mats,Boris Lenzinger,Minoru Kato,
i remade a initrd :
touch /lib/modules/2.6.11.2-xen0/modules.dep
mkinitrd /initrd-2.6.11.2-xen0.img 2.6.11.2-xen0
it change the grub.conf(menu.lst) to:
kernel /xen.gz dom0_mem=131072 console=vga module /vmlinuz-2.6.11.2-xen0 root=/dev/hda2 ro console=tty0
module /initrd-2.6.11.2-xen0.img
--!!And it is OK!--
My disk has two main partition:
hda1 boot 100M exf2
hda2 \ 14G exf3
Minoru Kato <kato.minoru@xxxxxxxxxxxx> wroten:
Hi,
> i added "noreboot" to read the err info: > Mounted /proc filesystem > Mounting sysfs > Creating /dev > Starting udev > Creating root device > Mounting root filesystem > mount: error 2 mounting ext3 > mount: error 2 mounting none > Switching to new root > switchingroot:mounting failed: 22 > umount /initrd/dev failed: 2 > Kernel panic-not syncing: Attempted to kill init! > > ----The new menu.lst is:------- > > kernel /xen.gz dom0_mem=131072 console=vga > module /vmlinuz-2.6.11.2-xen0 root=dev/hda1 ro console=tty0 noreboot ^^^^^^^^^^^^^ Is this a posting mistake or really? 'root=dev/hda1'
Isn't it root=/dev/hda1 ?
--- kato
_______________________________________________ Xen-users mailing
list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
__________________________________________________ 赶快注册雅虎超大容量免费邮箱? http://cn.mail.yahoo.com _______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|