Qemu no internet install on YDL 6.2 on PS3?

YDL running on the Sony Playstation 3

Moderator: billb

Qemu no internet install on YDL 6.2 on PS3?

Postby reddragon2987 » 05 Apr 2010, 02:06

Please read the questions in red if you wanna skip everything else
--------------------------------------------------------------------------------------------------------------------------------------------------
|How to install Qemu with the things below:
|*PS3 60gb with no internet
|*YDL 6.2
|*No experinece in linux
|-------------------------------------------------------------------------
|How to install Qemu without internet on the PS3's YDL 6.2? ("yum install qemu seems to require internet)
|-------------------------------------------------------------------------
|I think I know where to download it from source(http://wiki.qemu.org/Download) but I have no idea which one to download and
|how to install it! is that even where Im suppose to download using my laptop?(PS3 is too weak it can't detect the connection)
|
|Following the links below but seems to require internet on PS3:
|http://www.fileden.com/files/2007/2/23/813212/yellowdoglinux.txt
|http://www.ps3news.com/forums/ps3-guides-tutorials/tutorial-emulate-winxp-ps3-using-linux-74712.html
|
|Reasons is, I want to play Starcraft through Win95 via qemu on PS3(60gb) Yellow Dog 6.2 Linux
|google through hours, no result, HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP…
|-------------------------------------------------------------------------
|Also even if I download qemu's files, there seem to be a restrictrion to write in the hard drive
|-------------------------------------------------------------------------
|Others emulators requires me to install some .rpm files(http://www.fileden.com/files/2007/2/23/ ... glinux.txt) but doesn't tells how to install the .rpm
--------------------------------------------------------------------------------------------------------------------------------------------------
Any help appreciated
reddragon2987
ydl newbie
ydl newbie
 
Posts: 10
Joined: 05 Apr 2010, 01:43

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby billb » 05 Apr 2010, 03:09

qemu is included in yellowdog-extras (an online software repository provided by Fixstars) so normally the yum command would download it and any dependencies (other packages) it needs from there. Instead you'll need to download and install any dependencies manually. Fortunately this shouldn't be too hard to do with qemu -- I think all of what it needs should already included in a standard YDL install.

So ... just download and save these two files and put them on storage media (FAT32 formatted USB flash drive, burn to CD, etc...) and copy them to your YDL desktop:

http://ftp.freshrpms.net/pub/yellowdog/ ... l5.ppc.rpm
http://ftp.freshrpms.net/pub/yellowdog/ ... l5.ppc.rpm

Then to install, open a terminal window (Applications -> Accessories -> Terminal) and enter the following commands:

1. Become root (you need to do this to install anything):
Code: Select all
su

<root password>

2. Change to the directory where you copied the files -- I'm assuming your Desktop when logged in a regular user account (replace yourusername with your actual user name):
Code: Select all
cd /home/yourusername/Desktop


You can use the ls command to list the files in your current directory if you want to make sure you're in the right place.

Code: Select all
ls


3. Use the yum localinstall command to install qemu and qemu-img at the same time:

yum localinstall --nogpgcheck qemu-0.9.1-11.el5.ppc.rpm qemu-img-0.9.1-11.el5.ppc.rpm

4. That should do it ... you no longer need to be the root user, so exit:

Code: Select all
exit


qemu is a command line application and you won't see anything new in your Applications menu once it's installed. You can view the manual with:

Code: Select all
man qemu
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby reddragon2987 » 05 Apr 2010, 04:28

Thanks for the reply but I get:
Code: Select all
Loading "installonlyn" plugin
Setting up Local Package Process
Cannot open file: qemu-0.9.1-11.el5.ppc
Cannot open file: qemu-img-0.9.1-11.el5.ppc
Nothing to do
reddragon2987
ydl newbie
ydl newbie
 
Posts: 10
Joined: 05 Apr 2010, 01:43

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby billb » 05 Apr 2010, 04:56

When you run this command ...

Code: Select all
yum localinstall --nogpgcheck qemu-0.9.1-11.el5.ppc.rpm qemu-img-0.9.1-11.el5.ppc.rpm


... it's assuming that those two files are in your current directory. If they don't show up when you list the files in your current directory (using the ls command) then you get an error.

cd is used to change directories, for example:

Code: Select all
cd /home


So make sure you're in the right directory. If they show up in the output from the ls command but you still get the same error, please post the output of ls -la

Also, if you copied the files to your Desktop while logged in as root they'd be in /root/Desktop (root's home folder isn't in /home, it's /root).
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby reddragon2987 » 05 Apr 2010, 05:40

ok I got it, but now after the same code, says:
Code: Select all
Loading "installonlyn" plugin
Setting uo Local Package Process
Examining qemu-0.9.1-11.el5.ppc.rpm:qemu-0.9.1-11.el5ppc
Examining qemu-img-0.9.1-11.el5.ppc.rpm:qemu-img-0.9.1-11.el5ppc
Marking qemu-img-0.9.11.el5.ppc.rpm tp be installed
Could not retrieve mirrorlist http://www.terrasoftsolutions.com/resources/yd62-base-mlist error was
[Errno 4] IOError:<urlopen error (-3,'Temporary failure in name resolution')>
Error: Cannot open/read respomd.xml file for repository: base

I just installed ydl 6.2 recently so don't know if I have to configure something?

Wicd can't pick my uncle's internet signal but my laptop does with 2 bars(always around 5-20%) and it shows that it tried to retrive something online? Im looking for an offline solution as my PS3 doesn't seem pick up the signal. thanks
reddragon2987
ydl newbie
ydl newbie
 
Posts: 10
Joined: 05 Apr 2010, 01:43

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby billb » 05 Apr 2010, 11:12

Oh -- sorry -- I forgot that yum will try to use those online repos even when doing a localinstall. You can disable the repos or just use the rpm command to install, instead.

To disable the repos:

Code: Select all
su

<root password>

Code: Select all
cd /etc/yum.repos.d


Code: Select all
gedit yellowdog-base.repo yellowdog-updates.repo yellowdog-extras.repo


Change enabled=1 to enabled=0 in each file, close and save changes, then install using yum as described before.

Or... the rpm command won't try to go online and look for dependencies:

Code: Select all
rpm -ivh qemu-0.9.1-11.el5.ppc.rpm qemu-img-0.9.1-11.el5.ppc.rpm


(you still need to be root and in the correct directory as before)
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby reddragon2987 » 06 Apr 2010, 06:01

Thanks, it works!
let me get this straight, "yum intstall" always retrieves files from the 3 links you told me to change, huh?
Then I learned that for those who can't get online can install files with the steps below:

To get the file:
Code: Select all
su
<root password>
yum install <target>
<download files at the shown links with laptop>


Put the file in the location below and if necessary change directory to:
Code: Select all
cd /home/yourusername/Desktop
ls <to check if the file(s) is(are) there>


To install the files:
Code: Select all
yum localinstall --nogpgcheck <File1> <File2,Optional>


If a link shows up, its trying to retrive files online, then type:
Code: Select all
cd /etc/yum.repos.d


Each line below will open in text and change each file from enabled=1 to enabled=0 in each file below:
Code: Select all
gedit yellowdog-base.repo
gedit yellowdog-updates.repo
gedit yellowdog-extras.repo


or the rpm command that won't let it check online:
Code: Select all
rpm -ivh qemu-0.9.1-11.el5.ppc.rpm qemu-img-0.9.1-11.el5.ppc.rpm


Im trying to install win95 following this post: viewtopic.php?f=19&t=4828
I am on the step where I ran the command given:
Code: Select all
qemu -hda c.hd -cdrom /home/yourusername/fdbasecd.iso -boot d

which gave me an output of:
Code: Select all
Warning: No DNS servers found
qemu: could not open disk image c.hd

should I be posting there instead?
reddragon2987
ydl newbie
ydl newbie
 
Posts: 10
Joined: 05 Apr 2010, 01:43

Re: Qemu no internet install on YDL 6.2 on PS3?

Postby billb » 06 Apr 2010, 12:18

reddragon2987 wrote:should I be posting there instead?


Yes, better to post in that topic or create a new one since the issue described in the subject line of this one is resolved.

And the procedure we've gone through here was simple in this case since qemu didn't need any other packages installed as dependencies. If it were something like vlc media player you were trying to install there would have been 20-30 other packages you'd need to download/install as well.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA


Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 71 guests