LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 08-28-2015, 01:13 PM   #1
j_me
LQ Newbie
 
Registered: Nov 2014
Posts: 19

Rep: Reputation: Disabled
Help needed to boot arm image using qemu


I seem to going round in circles with qemu trying to boot a arm image. Many examples on the net(for a raspberry pi) says something along these lines which should work.
Code:
qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 512 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda panic=1" -hda /home/me/2014-06-20-wheezy-raspbian.img -redir tcp:5022::22
but it's not happening for me, qemu either crashes or hangs(I don't know how to display debugging information). If I remove -no-reboot from the above qemu will loop through 'Uncompressing Linux... done, booting the kernel'. I'm guessing it's not booting because of the kernel-qemu image I downloaded from git-hub so I did a search on how to build a arm kernel for qemu and found two options one using busybox and the other using coreboot.
My question is
1- Can I boot a arm image without using kernel-qemu, if I can do you have an example.
2- If I need to build a kernel image what should I use busybox or coreboot, this will be my first attempt at doing something like this.
3- I'm looking for a general and hopefully easy solution to boot any arm image not just for a raspberry pi.

Thanks
 
Old 09-06-2015, 12:34 AM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 547

Rep: Reputation: 72
It sounds like a kernel and no init. I could be really, really wrong.

I don't know if Linux From Scratch is still going, but you need to get up to speed on boot process using that distro.

You should be able to handle an ARM system after that. I used busybox back in the day.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot a USB image with Qemu? lucmove Linux - Software 1 06-17-2013 04:01 PM
Error "Kernel image must be specified" (qemu-system-arm) ottavio Linux - Virtualization and Cloud 0 08-18-2011 12:40 PM
Using qemu-kvm image to boot my pc luvshines Linux - Virtualization and Cloud 3 03-01-2010 01:16 AM
qemu boot of live USB image hands loading initrd.img poblano Linux - Software 1 03-09-2008 09:45 AM
Use Qemu to boot VMWare 'image' ? lefty.crupps Linux - Software 2 05-24-2007 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration