Is it possible to use ps2 live dvd v.2 as a ps2linux_loop for mounting via samba?
|
|
|
|
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! | ||
|
|
Is it possible to use ps2 live dvd v.2 as a ps2linux_loop for mounting via samba?
You want to mount the loop file root fs in the live DVD on PS2 and use SMB share? - Yes it is possible.
file: http://psx-scene.com/forums/attachme...-initrd-dvd-gzinitrd.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.
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.
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
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.
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.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?
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.
The loop itself is made like every other standard loop file:And how deba5er made loop?
then extract the BlackRhino distribution files to it.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 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.
Thanks, wisi
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...

| « Previous Thread | Next Thread » |