Go Back  
Reply
 
Thread Tools
Old 10-08-2012   #21
o0sdaq0o
Apprentice
 
Join Date: Oct 2012
Posts: 4
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


I am having trouble running the create_hdd_region.sh script. check out the image here to see what happens. I modified the script to echo the command so you can see the parameters. Any ideas? thanx in advance.

image
o0sdaq0o is offline   Reply With Quote
Old 10-13-2012   #22
xerxesrex
Member
null
 
Join Date: Feb 2011
Posts: 48
Likes: 9
Liked 1 Time in 1 Post
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Originally Posted by o0sdaq0o View Post
run this:

# cat create_hdd_region.sh | tr -d "\r" > /tmp/create_hdd_region2.sh
# . /tmp/create_hdd_region2.sh

this will get rid of the return characters in the script (you copied this file from a windows machine didn't you?) then copy the file to /tmp where it will be ran from there.

care to explain the | tr -d "\r" part? something to do with how windows handles the return as the script is written meant for unix?

cheers
xerxesrex is offline   Reply With Quote
Old 10-17-2012   #23
Fido4life
Apprentice
 
Join Date: Jan 2011
Posts: 2
Likes: 1
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
SS or no SS ?

Hello guys. Yesterday i was trying to install everything, as it was shown in the video above. It was a little creepy because in the middle of the process gitbrew.org became down, and as i can see the site is still not working. Luckily i got downloaded almost all necessary files, before the shutdown only one thing got me in a VERY BIG confusion: wich cfw should i use ? SS patch or without SS patch ?

I would like to play games of course and sometimes search the web on linux (still don'T understand why there is not a native homebrew browser for the ps3, but whatever)

Right now i got the otheros++ cfw WITHOUT SS patch. Petitboot worked finely, altough i couldn't create a hdd region, but i will work on that later.

So please, can someone tell me i am using the right CFW ?

Thanks in advance.
Fido4life is offline   Reply With Quote
Old 10-17-2012   #24
Fido4life
Apprentice
 
Join Date: Jan 2011
Posts: 2
Likes: 1
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Originally Posted by o0sdaq0o View Post
run this:

# cat create_hdd_region.sh | tr -d "\r" > /tmp/create_hdd_region2.sh
# . /tmp/create_hdd_region2.sh

this will get rid of the return characters in the script (you copied this file from a windows machine didn't you?) then copy the file to /tmp where it will be ran from there.

You Are Awsome !! Thank you very much, i own you a beer !
Fido4life is offline   Reply With Quote
Old 11-06-2012   #25
o0sdaq0o
Apprentice
 
Join Date: Oct 2012
Posts: 4
Likes: 0
Liked 0 Times in 0 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Fido4life View Post
You Are Awsome !! Thank you very much, i own you a beer !
cool, I love beer, especially when it is cold

Originally Posted by xerxesrex View Post
care to explain the | tr -d "\r" part? something to do with how windows handles the return as the script is written meant for unix?

cheers
exactly, it appears that copying the file from a windows machine inserts a carriage return as well as a newline (\r\n), and on linux you only have a newline (\n). the command replaces instances of \r\n with just \n.

Last edited by o0sdaq0o; 11-06-2012 at 08:24 AM.
o0sdaq0o is offline   Reply With Quote
Old 11-07-2012   #26
xerxesrex
Member
null
 
Join Date: Feb 2011
Posts: 48
Likes: 9
Liked 1 Time in 1 Post
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Originally Posted by o0sdaq0o View Post
cool, I love beer, especially when it is cold



exactly, it appears that copying the file from a windows machine inserts a carriage return as well as a newline (\r\n), and on linux you only have a newline (\n). the command replaces instances of \r\n with just \n.
got it, both systems handle carriage return differently. thanks for the explanation.
xerxesrex is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 12:56 AM.