[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Probs mit mkinitrd



Hallo,

Ich versuche mkinitrd in einer xen Virtual Machine, aber das root-Device wird nicht erkannt.

PCopHost:~# mkinitrd -o /boot/initrd-2.6.16.xen-38 2.6.16.xen-38
/usr/sbin/mkinitrd: /dev/xvda1: Unknown root device
                    Please refer to the manual page.

IPCopHost:~# ls -alh /dev/xvd*
brw-rw----  1 root disk 202,  0 Apr 16 15:24 /dev/xvda
brw-rw----  1 root disk 202,  1 Apr 16 15:24 /dev/xvda1
brw-rw----  1 root disk 202, 16 Apr 16 15:24 /dev/xvdb
brw-rw----  1 root disk 202, 17 Apr 16 15:24 /dev/xvdb1

IPCopHost:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/xvda1      /               ext3    rw,noatime      0       1
/dev/xvdb1      none            swap    defaults        0       0

FileServer:/usr/src     /usr/src        nfs     rw,soft,intr,actimeo=0  0 0
FileServer:/srv/Service /mnt            nfs     rw,soft,intr,actimeo=0  0 0
----------------------------
mkinitrd habe ich mittels apt-get install initrd-tools (V0.1.81.1) von
ftp://ftp.tuwien.ac.at/linux/debian sarge bekommen.

Die Dokumentation von XEN sagt man solle es so aufrufen:
mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen

Die Parameter -v, -f und --with werden von meiner mkinitrd aber nicht akzeptiert !?
Hab ich eine falsche Version?

Danke
Matthias
-- 
Don't panic



Reply to: