Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
02-23-2010, 09:24 PM
#1
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Boot linux on PPC qemu
i tried slackintosh and i got an invalid partition and cannot read configuration file.
i tried Ubuntu PPC port and got a open bios prompt that will say word not recognized when you type.
02-24-2010, 03:58 PM
#3
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Quote:
Originally Posted by
Mr-Bisquit
Code:
# qemu-system-ppc -M prep -m 64 -hda debian-ppc-qemu.qcow -kernel zImage.prep -L ..
qemu: fatal: Trying to execute code outside RAM or ROM at 0x05800000
NIP 05800000 LR fffffe7c CTR 00000000 XER 00000000
MSR 00002000 HID0 00000000 HF 00002000 idx 1
TB 00000000 008b15ef DECR ff74ecf3
GPR00 0000000000002000 0000000005bfffe0 0000000000000000 00000000fff83e00
GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000018
GPR12 00000000fffffdfc 000000000587bffc 00000000ffffffff 0000000000000000
GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
GPR28 0000000000000000 0000000005800000 000000000001f000 0000000000000000
CR 00000000 [ - - - - - - - - ] RES ffffffff
FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
FPSCR 00000000
SRR0 05800000 SRR1 00002000 SDR1 00000000
Aborted
02-24-2010, 04:01 PM
#4
Member
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Rep:
My debian system has been down for a bit.
Let me run this first on FreeBSD and I'll give you my results later.
02-24-2010, 04:09 PM
#5
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
I got a yaboot prompt now by not using the -M flag.
Now what?
02-24-2010, 04:11 PM
#6
Member
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Rep:
Okay.
I've ran the basic script with the following options.
Code:
qemu-system-ppc -hda name-of-qcow-image.qcow2 -m 256
It's working.
I think you may need to build the image you want on the qcow image.
Create a second qcow image and then use that to build the other system.
You can also add an image and the cd/dvd path.
Skip using Prep or Zimage unless the argument calls for it.
I'm getting a initramfs error from the image but it is booting. This is the lenny image.
Last edited by Mr-Bisquit; 02-24-2010 at 04:15 PM .
Reason: Added info
02-24-2010, 04:19 PM
#7
Moderator
Registered: Mar 2008
Posts: 21,974
-m 64
That didn't look good.
02-24-2010, 04:20 PM
#8
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Ok now linux is booting but i have a kernel panic about not being able to mount the root partition.
02-24-2010, 04:23 PM
#9
Member
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Rep:
Same panic.
Go to the debian forums and see what howto's there are on PPC booting.
Again, I'll post results that are relevant here for you.
Etch image mounts root file system along with other built-in options.
Problem seems to be in /scripts. You may need to add a boot argument when the open boot comes up.
Also, adding a screenshot of the boot process and the crash may help others help you.
You need to change the name of hdc to hda or to add root as hdc to the boot argument.
Script is looking for hda3 and not hdc3.
Unfortunately, I'm not good with ln + MAKEDEV.
Last edited by Mr-Bisquit; 02-24-2010 at 04:37 PM .
02-24-2010, 04:50 PM
#10
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Quote:
Originally Posted by
Mr-Bisquit
Same panic.
Go to the debian forums and see what howto's there are on PPC booting.
Again, I'll post results that are relevant here for you.
Etch image mounts root file system along with other built-in options.
Problem seems to be in /scripts. You may need to add a boot argument when the open boot comes up.
Also, adding a screenshot of the boot process and the crash may help others help you.
You need to change the name of hdc to hda or to add root as hdc to the boot argument.
Script is looking for hda3 and not hdc3.
Unfortunately, I'm not good with ln + MAKEDEV.
How?
02-25-2010, 04:29 PM
#11
Member
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Rep:
Do the following as the boot argument
Code:
qemu-system-ppc -hdc /path/to/image.qcow2 -m 256
It should work.
When I can, I'll find the video output arguments and help you.
02-25-2010, 07:26 PM
#12
Senior Member
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Original Poster
Its working now.
All times are GMT -5. The time now is 09:46 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News