LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booting fedora image (https://www.linuxquestions.org/questions/linux-newbie-8/booting-fedora-image-4175423300/)

sanaz 08-21-2012 05:03 PM

booting fedora image
 
Hi all I'm trying to boot my fedora image:
but I got the error:


grubdom> boot
xc: error: elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images: Invalid kernel
xc_dom_parse_image returned -1
close(3)


and this is the result of root and kernel command:

grubdom> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83

grubdom> kernel /vmlinuz-3.3.4-5.fc17.i686 root=(hd0,0) ro quiet splash


Any help is appreciated.

John VV 08-21-2012 09:53 PM

how did you install fedora 17 ?
from the
dvd
net
or usb

is this a full install to the drive
or
a virtual install

fpmurphy 08-21-2012 10:10 PM

You did add an initrd entry also? Not going to boot without initrd.

sanaz 08-22-2012 02:23 PM

I install Fedora from inertnet on a VMware machine and then convert the .vmdk file to .img using qemu.

sanaz 08-22-2012 02:31 PM

what is initrd?
This is my config file:

Quote:

kernel = "/boot/vmlinuz-3.5.0-2.fc17.x86_64"
name = "fedora1"
disk = [ 'file:/etc/xen/fedora1.img,hda,w' ]
#bootloader = "/usr/bin/pygrub"
kernel="/usr/lib/xen/boot/pv-grub-x86_64.gz"

extra="console=hvc0 xencons=tty"
memory = 1024
vif = [ '' ]
root = "/dev/sda1 ro"

sdl=0
vnc=1
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='howtoforge'
stdvga=0
serial='pty'
usbdevice='tablet'


on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'

John VV 08-22-2012 03:06 PM

This is not a fedora issue.
Nor is it a linux issue.

it is a VMware issue.

please see your documentation on this virtual machine that you are using

sanaz 08-27-2012 11:48 AM

Is it VMware issue? Could you please elaborate?
How can I solve he problem?


All times are GMT -5. The time now is 10:44 PM.