Sunday, May 17, 2009

Dual Boot vyatta VC5 with centos, ubuntu, debian,

I came across some issue in dual boot of vyatta VC5 with centos. There has been some modification in the VC5 grub they are using grub2 which is still in testing phase.

The dual boot centos,Ubuntu... in vyatta can be performed by adding the following entries in /boot/grub/grub.cfg . The default grub configuration in grub2 is /boot/grub/grub.cfg

---------------
menuentry " Centos"{
set root=(hd0,1)
linux /vmlinuz-2.6.18-92.el5 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.18-92.el5.img
}
-----------------

Vyatta VC5 uses grub2 and it's format is completely different from legacy grub.

In GRUB2 the root system starts from "1" instead of "0". Hence hda1 partition will point to root(hd0,1) instead of legacy root(hd0,0)

Enjoy dual boot in latest GRUB.

You can get new command list from http://grub.enbug.org/CommandList

1 comment: