Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I create and image for qemu?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Wed Jun 07, 2006 4:07 am    Post subject: How do I create and image for qemu? Reply with quote

I need to take the chrooted directory of compiled for arm and turn it into an image that can be emulated in qemu. All documentaton I find starts with an ISO, but I am starting with a directory tree.

I have created an image, fdisked it and dd't the tree into it. I have installed grub and set the config, but all i get is a blank screen saying booting from HD and 100% CPU.

I let it run for an hour to make sure it wasn't me giving up to soon.

The test kernel is fine, so it is my image.
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
jshanab
Guru
Guru


Joined: 22 Dec 2003
Posts: 359

PostPosted: Wed Jun 07, 2006 4:50 am    Post subject: Oops, a mistake Reply with quote

I just realized as I lay in bed that I am typing qemu on an ARM elf file. I need to run qemu-arm to be able to emulate the arm instruction set.

Is grub-install a total x86 only thing?
_________________
ghidra: 2.6.18-gentoo-r3 x86_64 AMD64 with xfce4 across 2 monitors; reiserfs on LVM2
hamal: Gentoo 2.6.16-gentoo-r4, athlonxp 1600 with gnome,reiserfs, LVM2.
jeffnote Gentoo 2.6.20-suspend2-r?, IBM T22
HTC_apache: Next convert, my ppc6700 phone
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum