User Tools

Site Tools


virt:xen_gt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virt:xen_gt [2015/01/16 13:40]
tschulz [First find root UUID]
virt:xen_gt [2015/01/19 14:05] (current)
tschulz [Add to /etc/grub.d/40_custom, replace <UUID> without output of command from above]
Line 52: Line 52:
 ==== Add to /​etc/​grub.d/​40_custom,​ replace <​UUID>​ without output of command from above ==== ==== Add to /​etc/​grub.d/​40_custom,​ replace <​UUID>​ without output of command from above ====
 <​file>​ <​file>​
-menuentry 'Xen-VGT 3.17.0-rc4'​ --class ubuntu --class gnu-linux --class gnu --class os { +menuentry 'Ubuntu GNU/Linux, with Xen vgt and Linux 3.17.0-rc4-vgt+' --class ubuntu --class gnu-linux --class gnu --class os --class xen $menuentry_id_option '​xen-gnulinux-3.17.0-rc4-vgt+-advanced-319fbd3c-e5ef-42b1-807e-16c87cc1a0c6' ​
-insmod part_msdos +        insmod part_msdos 
-insmod ext2 +        insmod ext2 
-set root='(hd0,msdos1)+        set root='​hd0,​msdos1'​ 
-search --no-floppy --fs-uuid --set=root <​UUID>​ +       search --no-floppy --fs-uuid --set=root <​UUID>​ 
-multiboot /​boot/​xen-vgt.gz dom0_mem=2048M loglvl=all guest_loglvl=all +        ​echo ​   '​Loading Xen vgt ...' 
-conring_size=4M noreboot +        ​multiboot ​      ​/​boot/​xen-vgt.gz ​placeholder ​dom0_mem=2048M loglvl=all guest_loglvl=all 
-module /​boot/​vmlinuz-vgt-3.17.0-rc4-vgt+ +        ​echo ​   '​Loading Linux 3.17.0-rc4-vgt+ ...' 
-root=UUID=<​UUID> ​rw rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM ignore_loglevel console=tty0 console=hvc0 consoleblank=0 log_buf_len=4M xen_vgt.hvm_boot_foreground=1 +        module ​ /​boot/​vmlinuz-3.17.0-rc4-vgt+ ​placeholder ​root=UUID=<​UUID> ​ro w rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM ignore_loglevel console=tty0 console=hvc0 consoleblank=0 log_buf_len=4M xen_vgt.hvm_boot_foreground=1 
-module /​boot/​initrd-vgt-3.17.0-rc4-vgt.img++        echo    '​Loading initial ramdisk ...' 
 + module ​ ​--nounzip ​  /​boot/​initrd.img-3.17.0-rc4-vgt+ 
 +
 +</​file>​ 
 + 
 +==== The following command should insert the UUID for your root partition ==== 
 +<file bash> 
 +cat /​etc/​grub.d/​40_custom | sed "​s/<​UUID>/​`cat /etc/fstab | grep \" / \" |grep -v \"#​\"​ | tr -s \" \" | cut -d \" \" -f1 | cut -d \"​=\"​ -f2`/​g"​ > /​etc/​grub.d/​40_custom
 </​file>​ </​file>​
 ==== Edit /​etc/​default/​grub,​ this shows the boot menu for 10 secs ==== ==== Edit /​etc/​default/​grub,​ this shows the boot menu for 10 secs ====
virt/xen_gt.1421437236.txt.gz · Last modified: 2015/01/16 13:40 by tschulz