byghis

Xen 4.0.1 Grub 2

May 24th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. edward@jaku:~$ cat /etc/grub.d/40_custom
  2. #!/bin/sh
  3. exec tail -n +3 $0
  4. # This file provides an easy way to add custom menu entries. Simply type the
  5. # menu entries you want to add after this comment. Be careful not to change
  6. # the 'exec tail' line above.
  7.  
  8. menuentry "Ubuntu, Xen 4.0.1 dom0 2.6.32.40-pv" {
  9. recordfail
  10. insmod ext2
  11. set root='(hd0,3)'
  12. search --no-floppy --fs-uuid --set 8b1da4ef-6f52-4c40-affd-0a4abd5e364c
  13. multiboot (hd0,3)/xen-4.0.1.gz ro noreboot dom0_mem=1024M dom0_max_vcpus=1 com1=115200 console=com1,vga
  14. module (hd0,3)/vmlinuz-2.6.32.40-xen-pv root=/dev/sda5 ro console=hvc0 console=tty0 xencons=hvc
  15. module (hd0,3)/initrd.img-2.6.32.40-xen-pv
  16. }
Advertisement
Add Comment
Please, Sign In to add comment