On Mon, Sep 25, at 11:51:20PM, Keith McGavin wrote: > I found this thread which concludes that grub has to address > Xandros / partition as a hex number not "root=/dev/hdaX". > > example grub.conf for xandros on hda2. > > title Xandros > root (hd0,1) > kernel /boot/vmlinuz-2.6.9-x1 root=0x0302 rw acpi=on > initrd /boot/initrd-2.6.9-x1.gz
ubuntus grub can boot xandros as follows - example for hda2 1) boot ubuntu and mount the xandros partition /media/hda2 2) 'chroot /media/hda2' -- chroot to xandros 3) 'chmod 640 /sbin/lilo' -- disable xandros lilo to prevent overwrites 4) 'rdev' -- find hex number, in this case 0x0302 5) 'exit' -- return to ubuntu 6) 'vi /boot/grub/menu.lst' --edit ubuntus grub menu * replace parameter root=/dev/hda2 with root=0x0302 as above * initrd line is required for path to load the ramdisk image 7) 'grub-install /dev/hda' will write grub loader to mbr. 8) reboot. On xandros boot the message "Kernel Panic -not syncing VFS: Unable to mount root fs on an unknown block" appears if the "root" or "initrd" options were not given correctly. -- keith.
