![]() |
Debian Lenny Grub2 Xen - Versão para Impressão +- Fórum Debian (http://www.forumdebian.com.br) +-- Fórum: Debian (/forum-4.html) +--- Fórum: Software (/forum-14.html) +--- Tópico: Debian Lenny Grub2 Xen (/thread-900.html) |
Debian Lenny Grub2 Xen - emygdio - 28/09/2010 18:12 Pessoal, Fiz a instalação do xen sem problemas, proem quando inicializo no kernel xen, o sistema não esta conseguindo encontrar o dispositivo /dev (/dev/sda1) onde esta o sistema instalado.Dando a mensagem : Gave up watting for root devices Segue abaixo um trecho do meu grub.cfg: menuentry 'Ubuntu, com Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod ext2 set root='(hd0,7)' search --no-floppy --fs-uuid --set 69a6c099-d7f0-4e26-8951-8d0610e81afa linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro quiet splash initrd /boot/initrd.img-2.6.32-24-generic } ......... ### BEGIN /etc/grub.d/30_os-prober ### menuentry "Debian GNU/Linux, linux 2.6.32-bpo.3-686 (on /dev/sda1)" { insmod ext2 set root='(hd0,1)' search --no-floppy --fs-uuid --set 905dfb2e-72d6-443e-9369-800954fc60d3 linux /boot/vmlinuz-2.6.32-bpo.3-686 root=UUID=905dfb2e-72d6-443e-9369-800954fc60d3 ro initrd /boot/initrd.img-2.6.32-bpo.3-686 } .......... ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry "Xen 4.0.0 Debian Lenny" { insmod ext2 set root=(hd0,1) multiboot (hd0,1)/boot/xen-4.0.0.gz module (hd0,1)/boot/vmlinuz-2.6.31.14 root=/dev/sda1 ro console=tty0 module (hd0,1)/boot/initrd.img-xen-2.6.31.14 } Seguindo algumas informações na net eu editei o /etc/default/grub para o resultado abaixo: # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1 Alguém poderia me ajudar com esse problema. Re: Debian Lenny Grub2 Xen - dmatrix - 29/09/2010 11:52 no menu do grup tem só uma opção de inicializar ou aparecem duas? porque pelo que notei a primeira opção está apontando para o sda7 |