Forum: Blackrhino - Help forum for the Blackrhino Linux distro for the PS2. No warez allowed!


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: ps2 live dvd v.2 and samba
  

Results 1 to 6 of 6
  1. #1 ps2 live dvd v.2 and samba 
    Dimsok is offline Member
    Join Date
    Mar 2010
    Posts
    45
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Is it possible to use ps2 live dvd v.2 as a ps2linux_loop for mounting via samba?
    Reply With Quote  

  2. #2  
    wisi is offline Member
    Join Date
    Nov 2008
    Posts
    100
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    You want to mount the loop file root fs in the live DVD on PS2 and use SMB share? - Yes it is possible.
    initrd.dvd.gz - Initrd for booting the loop image from the live dvd through smb share.
    Kernel parameters:
    cdrom=<smb sharename default="//192.168.1.1/ps2linux2">
    newroot=<root loop file name and path default="/smb/ps2linux_loop">
    swapdevice=<could be /dev/loop1 or /dev/sda1 etc... default=#SWAP(no swap)>
    autostart
    pass=<password for the smb share>
    name=<username for the smb share>
    ip=<ps2ip default=192.168.1.10>
    gw=<ps2 gateway (pc or router ip) default=192.168.1.1>
    nm=<natmask default=255.255.255.0>
    swap=< default="" if set to "/mnt/sda1" then swapdevice will be a loop swap image file called "swapfile" in the root of /dev/sda1. If set to "/smb" the swap will be the loop file image "swapfile" at /smb (the root directory of the SMB share.>
    xmode=<pal , ntsc, etc...>
    crtmode=<pal1, pal0, ntsc1, ntsc0, dtv0, dtv1, dtv2>
    This initrd is based on the initrd from the Linux live DVD made by Mega Man and on initrd.usb2.smb.gz from ps2.nuclearfall.com mde by deba5er.
    file: http://psx-scene.com/forums/attachme...-initrd-dvd-gz

    1. Open the DVD image file and extract "DISC.BIN" to the SMB-shared folder and rename it to "ps2linux_loop" (before that rename the used-up-to-now ps2linux_loop file to "ps2linux_loop_old" for example)
    2. Copy the initrd.dvd.gz (the link above) to the kloader folder on the MC. If the MC is 8MB you might need to remove the old initrd from is as you will most likely run out of space
    3. Set KernelLoader so it will use the initrd.dvd.gz as initial RAM disk.
    4. In uLaunchELF or on PC edit the "kloader/config.txt" file and add the quoted kernel parameters above to the "kernel parameter" variable in the beginning (with spaces between them, if you don't have a PS2 compatible keyboard it's best to copy "kloader/config.txt" to usb flash drive, then to PC and edit it there. Then copy it back to PS2 MC).
    That's it.
    Reply With Quote  

  3. #3  
    Dimsok is offline Member
    Join Date
    Mar 2010
    Posts
    45
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Thanks for reply. I use loop from nuclearfall. I thought maybe it's enough only rename bin from iso of dvd to loop file but i see now i should to change gz too cause for loop from nuclearfall i use initrd.smb.gz. And how deba5er made loop? Is it possible that someone can change bin from dvd live to loop for using it without change anything other like gz file and edit config txt? Cause the loop from nuclearfall is old and i want to have on smb torrent clien, videoplayer and other stuff which has dvd live 2 cause smb is more convinient for me then dvd even if it's a little slower
    Reply With Quote  

  4. #4  
    wisi is offline Member
    Join Date
    Nov 2008
    Posts
    100
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    The loop file from the Live DVD cannot work directly from SMB like the loop files from nuclearfall, because it is modified not to write to the root fs, but to RAM disk or USB flash drive.
    Is it possible that someone can change bin from dvd live to loop for using it without change anything other like gz file and edit config txt?
    Yes, but takes a whole lot longer than using the modified initrd. And another advantage to the modified initrd - once you make all the changes you want to the loop, you can put it back on another Live DVD and use it.
    It might be better to just go to deba5er's 4share and download and install the programs you want - 4shared - My 4shared - shared folder - free file sharing and storage on the loop from nuclearfall.
    To modify the loop you need a Linux PC (On PS2 can be terribly slow and difficult) and then you have to open the initrd from the Live DVD and see what is different (changed) on the loop file. The initrd.dvd.gz can also help you to see if something else needs to be changed. But it is very hard thing to do and you have to have some knowledge of Linux and a Linux PC.
    And how deba5er made loop?
    The loop itself is made like every other standard loop file:
    Code:
    dd if=/dev/zero of=/loop_file bs=1024k count=1024
    mkfs.ext3 -F -I 128 /loop_file
    mkdir /mp
    mount -t ext3 -o loop /loop_file /mp
    then extract the BlackRhino distribution files to it.
    Then there have to be made some modifications for the whole thing to work with SMB.
    Right now I don't have time to explain the whole process of modifying the loop file as I never done it before and would have to figure out how to do it (or ask MegaMan ).
    The easiest two ways are either to use the initrd.dvd.gz or to install new programs to the file from nuclearfall.
    Reply With Quote  

  5. #5  
    Dimsok is offline Member
    Join Date
    Mar 2010
    Posts
    45
    Downloads
    6
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    1
    Thanks, wisi
    Reply With Quote  

  6. #6  
    SkyNet's Avatar
    SkyNet is offline Member
    Join Date
    Apr 2010
    Posts
    612
    Downloads
    5
    Uploads
    0
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    204
    Likes Received
    182
    wisi can you upload here mc0:/kloader/config.txt with parameters added to it?
    I know i will have to change them to my own--I just want to see how it has to look out --parameters added to kernel..

    Please...

    Best Regards from PS3 Linux User
    Reply With Quote  

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