LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-23-2010, 09:24 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 02-24-2010, 03:44 PM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Try the OSZoo images.

http://www.oszoo.org/

There is also a debian developer that has some images.
http://people.debian.org/~aurel32/qemu/
 
Old 02-24-2010, 03:58 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Mr-Bisquit View Post
Try the OSZoo images.

http://www.oszoo.org/

There is also a debian developer that has some images.
http://people.debian.org/~aurel32/qemu/
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
 
Old 02-24-2010, 04:01 PM   #4
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
My debian system has been down for a bit.
Let me run this first on FreeBSD and I'll give you my results later.
 
Old 02-24-2010, 04:09 PM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
I got a yaboot prompt now by not using the -M flag.
Now what?
 
Old 02-24-2010, 04:11 PM   #6
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
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
 
Old 02-24-2010, 04:19 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,974

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
-m 64

That didn't look good.
 
Old 02-24-2010, 04:20 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Ok now linux is booting but i have a kernel panic about not being able to mount the root partition.
 
Old 02-24-2010, 04:23 PM   #9
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
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.
 
Old 02-24-2010, 04:50 PM   #10
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Mr-Bisquit View Post
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?
 
Old 02-25-2010, 04:29 PM   #11
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
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.
 
Old 02-25-2010, 07:26 PM   #12
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Its working now.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
After qemu-img, qemu is not capable to detect the C drive (empty) frenchn00b Linux - General 3 10-18-2009 05:39 AM
running a i386 app on a ppc (debian 3.1) using qemu foodluver Linux - Software 1 05-04-2007 12:57 PM
persistent fs mounts between linux usb-boot and qemu guest on windows? stairwayoflight Linux - Software 0 01-11-2007 03:14 AM
QEMU on DEBIAN PPC running Windows scheidel21 Linux - Software 0 07-14-2006 12:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:46 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
Open Source Consulting | Domain Registration