Google
  Web www.spinics.net

Re: [virt-tools-list] Lilo bootloader succeeds with kvm but not virt-manager

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


On Fri, Jun 04, 2010 at 02:03:12PM +0200, Daniel Janzon wrote:
> I installed Linux Suse as a guest in virt-manager/KVM and had trouble to  
> install grub. So I used good old Lilo instead. When running Suse in  
> virt-manager Lilo fails with
>
>   LILO - Keytable read/checksum error on bootup
>
> When I go
>
>   kvm -m 512 -hda SLES-10.3.img

libvirt won't have such a simple command line.  There could be other
KVM options which affect things at boot.

I have a couple of suggestions:

(1) Find out the full libvirt command line.  Easiest is to start the
domain under virt-manager and quickly use the 'ps ax' command.  (There
is a more "official" way to convert libvirt XML into a qemu command
line but I cannot recall what that is at the moment).

(2) Use virt-rescue or guestfish and see if you can install grub in
the domain.  In guestfish it'd be something like this:

  guestfish -i GuestName
  ><fs> mkdir-p /boot/grub
  ><fs> grub-install /boot /dev/sda1

(You might need to change those command slightly and read the man page
for virt-rescue, guestfish and/or grub-install).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Fedora Users]     [Older Fedora Users Mail]     [Home]     [Fedora Announce]     [Fedora News]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [ET Management Tools]     [Yum Users]     [Tux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]     [Fedora 8 and Red Hat Enterprise Linux Bible]

Add to Google Powered by Linux