pierre mazières
2009-Oct-05 12:27 UTC
[Xen-users] cannot boot my dom0 : hard drive not found
Hi, I have a problem while booting on dom0 : my hard drive disk can''t be found. This issue was probably ever solved, I found some topics closed to it, but it wasn''t helpful. Maybe someone already fixed this problem. My hardware configuration is : - motherboard : MSI MS-7366 - CPU : Intel Celeron E1200 1.60GHz - internal hard drive : SAMSUNG HD321KJ connected with SATA I use Ubuntu-9.04, fully updated. I downloaded XEN archive from XEN web site : xen-3.4.0-xen.tar.gz I installed it with de following script (comments are in French) : # decompression de l''archive cd /home/ymir/Programmes/setup/xen tar -xzvf xen-3.4.0-xen.tar.gz cd xen-3.4.0 # installation de XEN sudo make world sudo make install sudo sh ./install.sh # creer l''arbre sudo make dist # separer les kernel de dom0 et du domU sudo make world KERNELS="linux-2.6-xen0 linux-2.6-xenU" # installer le noyau du dom0 et du domU cd build-linux-2.6.18-xen0_x86_64 #pour le dom0 sudo make menuconfig #ATTENTION : désactiver boot NFS : File System -> Networ File System -> Root file system on NFS #ATTENTION : désactiver ACPI : Power management options -> ACPI (Advanced Configuration and Power Interface) support -> ACPI support #ATTENTION : activer SATA : Device Drivers -> ATA/ATAPI/RLL support -> Support for SATA sudo make sudo make modules sudo make modules_install sudo make install cd ../build-linux-2.6.18-xenU_x86_64 #pour le domU sudo make menuconfig #désactiver aussi le boot NFS (l''ACPI et le SATA n''existent pas sur les machines virtuelles) sudo make sudo make modules sudo make modules_install sudo make install # créer une image disque du noyau cd .. sudo mkinitramfs -o initrd-2.6.18.8-xen0.img 2.6.18.8-xen0 sudo cp ./initrd-2.6.18.8-xen0.img /boot sudo mkinitramfs -o initrd-2.6.18.8-xenU.img 2.6.18.8-xenU sudo cp ./initrd-2.6.18.8-xenU.img /boot I did''nt see any error while running this script. I add in /boot/grub/menu.lst : title Xen 3.4 / XenLinux 2.6 kernel /boot/xen-3.4.gz dom0_mem=256000 console=vga module /boot/vmlinuz-2.6.18.8-xen0 root=/dev/sda6 ro module /boot/initrd-2.6.18.8-xen0.img I''m sure my hard drive disk is mounted has /dev/sda6, and files are with the good path, I checked it many times : ymir@ginnungagap:~$ sudo fdisk -l [sudo] password for ymir: Disque /dev/sda: 320.0 Go, 320072933376 octets 255 têtes, 63 secteurs/piste, 38913 cylindres Unités = cylindres de 16065 * 512 = 8225280 octets Identifiant de disque : 0x36363635 Périphérique Amorce Début Fin Blocs Id Système /dev/sda1 * 1 2689 21599361 7 HPFS/NTFS /dev/sda2 2690 38913 290969280 5 Etendue /dev/sda5 2690 2938 2000061 82 Linux swap / Solaris /dev/sda6 2939 38913 288969156 83 Linux ymir@ginnungagap:~$ ls -l /boot/xen-3.4.gz lrwxrwxrwx 1 root root 12 2009-10-02 20:41 /boot/xen-3.4.gz -> xen-3.4.0.gz ymir@ginnungagap:~$ ls -l /boot/vmlinuz-2.6.18.8-xen0 -rw-r--r-- 1 root root 2523030 2009-10-02 23:19 /boot/vmlinuz-2.6.18.8-xen0 ymir@ginnungagap:~$ ls -l /boot/initrd-2.6.18.8-xen0.img -rw-r--r-- 1 root root 3958065 2009-10-02 23:26 /boot/initrd-2.6.18.8-xen0.img When I boot on my dom0, I have this message : Begin: Waiting for root file system... ... Done. Gave up waiting for root device. Common problems : - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing odules (cat /proc/modules; ls /dev) ALERT! /dev/sda6 does not exist. Dropping to a shell Then BusyBox is launched and I have has a prompt : (initramfs) I check files and the result is : - cat /proc/cmdline : root=/dev/sda6 ro - echo $ROOTDELAY : returns nothing. I tried with rootdelay=90, it doesn''t change anything - echo $ROOT : /dev/sda6 - cat /proc/modules : nothing in return - ls -l /dev/s* : nothing in return When I plug an USB storage device, I have this message : "USB 1-4: configuration #1 chosen from 1 choice" . But nothing appeared in /dev. Did I make something wrong during install or is my hardware compatible with XEN ? Thank you for your help. Regards -- Pierre _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users