[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] fresh xcp 1.6 & xenserver install fails on first boot (kernel not found).



On Mon, 09/23/2013 02:32 PM, "mitch@xxxxxxxxxxxx" <mitch@xxxxxxxxxxxx> wrote:
> Hi Errol - so I went through the rescue disk boot, mounted /dev/sda1, and 
> once mounted I looked for /boot/extlinux.conf - and found it - also found a 
> /boog/extlinux folder with lots of files in it - I wondered if part of the 
> issue was a bad mbr - I found examples of people initializing the mbr by 
> copying the mbr.bin from the extlinux or syslinux install.
> 
> I don't see one in the extlinux folders - this is xenserver on the machine at 
> the moment - but I found /usr/share/syslinux/mbr.bin
> 
> So I did:
> cp /tmp/sda/usr/share/syslinux/mbr.bin /tmp
> umount /tmp/sda
> dd if=/tmp/mbr.bin of=/dev/sda
> 
> When I rebooted I got a different result.
> 
> Missing operating system.
> 

Yes. Reboot back into the XenServer installer. When fully booted, don't being 
the install. Switch virtual terminals then mount the install directory

mkdir /mnt
mount /dev/sda1 /mnt
mount --bind /dev /mnt/dev
mount -t sysfs none /mnt/sys
mount -t proc none /mnt/proc
chroot /mnt /sbin/extlinux --install /boot
dd if=/mnt/usr/share/syslinux/gptmbr.bin of=/dev/sda


See if that fixes it for you. 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.