View previous topic :: View next topic |
Author |
Message |
lindmik n00b
Joined: 27 May 2005 Posts: 29 Location: Espoo, Finland
|
Posted: Sat Oct 08, 2005 9:49 pm Post subject: |
|
|
Concerning the patch, what does this meen:
Code: | # ./patch-iso
Splitting files because xdelta does not support >2GB files
Getting size...
File is...1252711424b
error opening input file: File too large
File splitted in: Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Applying patch to file Gentoo-RR4-2.60.iso.001
xdelta-exe: open Gentoo-RR4-2.60.iso.001 failed: No such file or directory
Applying patch to file Gentoo-RR4-2.60.iso.002
xdelta-exe: open Gentoo-RR4-2.60.iso.002 failed: No such file or directory
Merging files Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Removing files...
Done. New file is Gentoo-RR4-2.60.iso-fix1. Burn it ! |
The file too large part is quite ironic, when it is supposed to make it into smaller pieces
Here's the directory output:
Code: | # ls -la
total 2532292
drwxr-xr-x 3 root root 4096 Oct 9 00:45 .
drwxr-xr-x 3 nobody nobody 4096 Oct 9 00:32 ..
-rw-r--r-- 1 root root 42034501 Oct 6 20:17 2.60-patch2-part1
-rw-r--r-- 1 root root 43012747 Oct 6 20:24 2.60-patch2-part2
-rwxr-xr-x 1 root root 2505422848 Oct 4 08:59 Gentoo-RR4-2.60.iso
-rw-r--r-- 1 root root 56 Oct 6 21:29 Gentoo-RR4-2.60.iso-fix2.md5
-rw-r--r-- 1 root root 54 Oct 1 11:32 Gentoo-RR4-2.60.iso.md5
drwxr-xr-x 2 root root 4096 Oct 6 21:11 delta
-rwxr-xr-x 1 root root 8140 Oct 6 20:58 lxsplit
-rwxr-xr-x 1 root root 1164 Oct 7 00:48 patch-2.60-fix2.sh
-rwxr-xr-x 1 root root 88 Oct 7 00:13 patch-iso |
|
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Sun Oct 09, 2005 9:41 am Post subject: |
|
|
lindmik wrote: | Concerning the patch, what does this meen:
Code: | # ./patch-iso
Splitting files because xdelta does not support >2GB files
Getting size...
File is...1252711424b
error opening input file: File too large
File splitted in: Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Applying patch to file Gentoo-RR4-2.60.iso.001
xdelta-exe: open Gentoo-RR4-2.60.iso.001 failed: No such file or directory
Applying patch to file Gentoo-RR4-2.60.iso.002
xdelta-exe: open Gentoo-RR4-2.60.iso.002 failed: No such file or directory
Merging files Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Removing files...
Done. New file is Gentoo-RR4-2.60.iso-fix1. Burn it ! |
The file too large part is quite ironic, when it is supposed to make it into smaller pieces
Here's the directory output:
Code: | # ls -la
total 2532292
drwxr-xr-x 3 root root 4096 Oct 9 00:45 .
drwxr-xr-x 3 nobody nobody 4096 Oct 9 00:32 ..
-rw-r--r-- 1 root root 42034501 Oct 6 20:17 2.60-patch2-part1
-rw-r--r-- 1 root root 43012747 Oct 6 20:24 2.60-patch2-part2
-rwxr-xr-x 1 root root 2505422848 Oct 4 08:59 Gentoo-RR4-2.60.iso
-rw-r--r-- 1 root root 56 Oct 6 21:29 Gentoo-RR4-2.60.iso-fix2.md5
-rw-r--r-- 1 root root 54 Oct 1 11:32 Gentoo-RR4-2.60.iso.md5
drwxr-xr-x 2 root root 4096 Oct 6 21:11 delta
-rwxr-xr-x 1 root root 8140 Oct 6 20:58 lxsplit
-rwxr-xr-x 1 root root 1164 Oct 7 00:48 patch-2.60-fix2.sh
-rwxr-xr-x 1 root root 88 Oct 7 00:13 patch-iso |
|
Mumble... I've used reiserfs to test patch script. What fs are you using? _________________ http://www.sabayon.org |
|
Back to top |
|
|
victorvan n00b
Joined: 24 May 2004 Posts: 4
|
Posted: Sun Oct 09, 2005 11:29 am Post subject: |
|
|
lxnay wrote: | lindmik wrote: | Concerning the patch, what does this meen:
Code: | # ./patch-iso
Splitting files because xdelta does not support >2GB files
Getting size...
File is...1252711424b
error opening input file: File too large
File splitted in: Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Applying patch to file Gentoo-RR4-2.60.iso.001
xdelta-exe: open Gentoo-RR4-2.60.iso.001 failed: No such file or directory
Applying patch to file Gentoo-RR4-2.60.iso.002
xdelta-exe: open Gentoo-RR4-2.60.iso.002 failed: No such file or directory
Merging files Gentoo-RR4-2.60.iso.001 and Gentoo-RR4-2.60.iso.002
Removing files...
Done. New file is Gentoo-RR4-2.60.iso-fix1. Burn it ! |
The file too large part is quite ironic, when it is supposed to make it into smaller pieces
Here's the directory output:
Code: | # ls -la
total 2532292
drwxr-xr-x 3 root root 4096 Oct 9 00:45 .
drwxr-xr-x 3 nobody nobody 4096 Oct 9 00:32 ..
-rw-r--r-- 1 root root 42034501 Oct 6 20:17 2.60-patch2-part1
-rw-r--r-- 1 root root 43012747 Oct 6 20:24 2.60-patch2-part2
-rwxr-xr-x 1 root root 2505422848 Oct 4 08:59 Gentoo-RR4-2.60.iso
-rw-r--r-- 1 root root 56 Oct 6 21:29 Gentoo-RR4-2.60.iso-fix2.md5
-rw-r--r-- 1 root root 54 Oct 1 11:32 Gentoo-RR4-2.60.iso.md5
drwxr-xr-x 2 root root 4096 Oct 6 21:11 delta
-rwxr-xr-x 1 root root 8140 Oct 6 20:58 lxsplit
-rwxr-xr-x 1 root root 1164 Oct 7 00:48 patch-2.60-fix2.sh
-rwxr-xr-x 1 root root 88 Oct 7 00:13 patch-iso |
|
Mumble... I've used reiserfs to test patch script. What fs are you using? |
I can confirm that, I had to move the files to a reiserfs partition to apply the patch (it wouldn't work in my ext3 one!) |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Sun Oct 09, 2005 2:19 pm Post subject: |
|
|
Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Sun Oct 09, 2005 2:23 pm Post subject: Re: Thanks for quick response |
|
|
greyskies wrote: | If you want stage3 or DVD to HD install and you haven't any unsupported (like intel i915) xorg video driver, boot using the first option, then use Install on Disk. If you want to follow gentoo handbook, well, why not?
Are you suggesting that I use the Stage 1 Option (I believe that is the first option)? I would prefer to use your
installation process rather than a clean installation off of the DVD, but if that proves necessary, well, I guess I will
have no choice at that time. In the interim, if that does indeed prove necessary, how do I proceed to get to the
command line as root user in order to accomplish this?
If you are referring to initial boot screen, please note that this is the boot process I have been using, not VESA,
Genuine, SMP, etc. If this is the meaning of your comment above, I am even more confused as that is what I have
been doing without any success, other than getting to the PREPARING DISK screen.
root login is disabled, but if you d/l from www.lxnaydesign.net, 2.60 patch 2, (and read its changelog), you'll get root login enabled out of the box.
I cannot accomplish this as I do not presently have a linux box running. I am using my kids pc at the moment,
loaded with XP Home(wrecker). I do not have the knowledge with which to run the patch against the DVD ISO in
the Windows XP environment. If you could provide me with step by step instructions, I could most definitely try
that, then burn the patched file to another DVD.
Thankfully,
greyskies in sunny South Florida |
If you want root login, you can open your favourite X terminal and type "sudo su" but I think that "su" even works great.
Sorry but patches are only available for linux boxes, this because it's more easy to write a shell script like that in *nix than in windows. And we have xdelta and lxsplit
I'm trying to upload RR4 2.60.2 on ibiblio but it's quite hard for me, I have only an upload bandwidth of 32kb/sec. _________________ http://www.sabayon.org |
|
Back to top |
|
|
vidrilin n00b
Joined: 09 Oct 2005 Posts: 2 Location: Mexico City
|
Posted: Sun Oct 09, 2005 2:41 pm Post subject: Server is down, please help |
|
|
I , i have been using Gentoo since 6 months ago, i install it with thegentoo handbook, but i Have slos bandwidth , so i am trying to get this promising linux version, just for not having to download all the packages every time i want to reinstall , but now i have a big problem...
I have been downloading Gentoo RR4-2.50 this last 5 days with my slow 64 k connection using the server adwin.hopto.org , but the server is not responding
Is there some other server available, i just need to complete the download, it just remain 400 mb, otherwise when is this server going to be available.
PD. I will look further if i can take one of my hard drives and use it as mirror with a server of my university, i will ask this week. I would like also to help in something with this interesting project.
Thanks |
|
Back to top |
|
|
Adwin Tux's lil' helper
Joined: 13 Mar 2005 Posts: 128 Location: Poland
|
Posted: Mon Oct 10, 2005 1:58 pm Post subject: |
|
|
My FTP is UP most of the time.
First of all, I don't host any RR4 2.50 ISO, just the RR64 2.50 ISO
I have also added RR4 2.60. You should figure the link out.
But if I find any post linking directly to the 2.60 RR4, I'm deleting the file. |
|
Back to top |
|
|
vidrilin n00b
Joined: 09 Oct 2005 Posts: 2 Location: Mexico City
|
Posted: Tue Oct 11, 2005 9:41 am Post subject: booting problems |
|
|
Hi, first, i want to thank to lude, for putting the iso image for the 2.60 Gentoo RR4 version on a server, ftp://lude.net/Gentoo-RR4-2.60.iso
Thanks for the reply lynax, you are doing a great job.
I have a had troubles, and i am a little bit upset, i hasnt been able to make run Gentoo RR4 2.60, it always tell me that cdupdate.sh file is not found, it continues, but it has no succed on setting up the SQUASHFS, and it just stops botting, i have tried the latest patch.
I hope somebody could help me, i spent five days of downloading Gentoo RR4 2.60 with 8 kb/s speed and i want to give a try to gentoo RR4.
I tested on a compaq r3240us
AMD 64 2.40 Ghz
512 Mb DDR Memory
100 Gb hard drive |
|
Back to top |
|
|
lindmik n00b
Joined: 27 May 2005 Posts: 29 Location: Espoo, Finland
|
Posted: Tue Oct 11, 2005 2:14 pm Post subject: |
|
|
lxnay wrote: | Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! |
Well, it still doesn't work for me. I'm using ext3...
Code: | Splitting files because xdelta does not support >2GB files
Getting size...
File is...626355712b
error opening input file: File too large |
|
|
Back to top |
|
|
antares2001 Guru
Joined: 02 Mar 2004 Posts: 339 Location: Germany
|
Posted: Tue Oct 11, 2005 6:12 pm Post subject: PCMCIA turn off |
|
|
Hello!
How can I disable the start of the PCMCIA service on startup? I have a Toshiba SM30-X notebook and it hangs on all distros on the PCMCIA startup.
Thank you in advance for your answers. _________________ * Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1 |
|
Back to top |
|
|
Triple5 n00b
Joined: 09 Dec 2004 Posts: 3 Location: NYC, USA
|
Posted: Wed Oct 12, 2005 12:01 am Post subject: |
|
|
Damn I really want this since I seen the screenshots in OSDIR and theres a install available wow perfect
but I dont have no dvd-r discs =\
Is there a livecd ? or something
btw: you guys going to have an irc channel? |
|
Back to top |
|
|
RobNyc Tux's lil' helper
Joined: 11 Oct 2005 Posts: 101 Location: NYC
|
Posted: Wed Oct 12, 2005 12:57 am Post subject: |
|
|
Looks so good |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 4:29 pm Post subject: |
|
|
lindmik wrote: | lxnay wrote: | Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! |
Well, it still doesn't work for me. I'm using ext3...
Code: | Splitting files because xdelta does not support >2GB files
Getting size...
File is...626355712b
error opening input file: File too large |
|
File too large... mumble.... 620mb and the file is stil too large??? I'm starting to hate ext3.... _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 4:30 pm Post subject: Re: booting problems |
|
|
vidrilin wrote: | Hi, first, i want to thank to lude, for putting the iso image for the 2.60 Gentoo RR4 version on a server, ftp://lude.net/Gentoo-RR4-2.60.iso
Thanks for the reply lynax, you are doing a great job.
I have a had troubles, and i am a little bit upset, i hasnt been able to make run Gentoo RR4 2.60, it always tell me that cdupdate.sh file is not found, it continues, but it has no succed on setting up the SQUASHFS, and it just stops botting, i have tried the latest patch.
I hope somebody could help me, i spent five days of downloading Gentoo RR4 2.60 with 8 kb/s speed and i want to give a try to gentoo RR4.
I tested on a compaq r3240us
AMD 64 2.40 Ghz
512 Mb DDR Memory
100 Gb hard drive |
Thank you very much! Can I add this ftp link to my website and to the information thread? Please PM me. _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 4:36 pm Post subject: |
|
|
Triple5 wrote: | Damn I really want this since I seen the screenshots in OSDIR and theres a install available wow perfect
but I dont have no dvd-r discs =\
Is there a livecd ? or something
btw: you guys going to have an irc channel? |
No sorry, only LiveDVD... _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 4:38 pm Post subject: Re: PCMCIA turn off |
|
|
antares2001 wrote: | Hello!
How can I disable the start of the PCMCIA service on startup? I have a Toshiba SM30-X notebook and it hangs on all distros on the PCMCIA startup.
Thank you in advance for your answers. |
You can do this:
When you see "Press I to enter in Interactive Mode"... press "I" key, then you can choose if you want to start the services. When it asks you if you want to start PCMCIA, select the proper option (1,2,3 or 4). _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 4:40 pm Post subject: |
|
|
Adwin wrote: | My FTP is UP most of the time.
First of all, I don't host any RR4 2.50 ISO, just the RR64 2.50 ISO
I have also added RR4 2.60. You should figure the link out.
But if I find any post linking directly to the 2.60 RR4, I'm deleting the file. |
Thank you for your space Adwin ! _________________ http://www.sabayon.org |
|
Back to top |
|
|
antares2001 Guru
Joined: 02 Mar 2004 Posts: 339 Location: Germany
|
Posted: Wed Oct 12, 2005 6:23 pm Post subject: Re: PCMCIA turn off |
|
|
lxnay wrote: | antares2001 wrote: | Hello!
How can I disable the start of the PCMCIA service on startup? I have a Toshiba SM30-X notebook and it hangs on all distros on the PCMCIA startup.
Thank you in advance for your answers. |
You can do this:
When you see "Press I to enter in Interactive Mode"... press "I" key, then you can choose if you want to start the services. When it asks you if you want to start PCMCIA, select the proper option (1,2,3 or 4). |
Thank you for the answer. But even though I pressed "i" at startup and skipped pcmcia, the system hangs when I then continue boot process.
Could you in future versions simply make PCMCIA default off, and just let it turn on afterwards through "dopcmcia" bootoption, or add a bootoption for no pcmcia support on startup, since not only Toshiba laptops have this problem. _________________ * Toshiba SM30X Notebook, Pentium-M 725 CPU, ATI Radeon 9700, 512MB RAM, 80GB
* Pentium D 820 2,8 GHz (EM64T), Geforce6, 200GB + 40GB ATA, 250GB SATA2, WinFastTV 2000XP, 1,5GB RAM
Gentoo Linux 2006.1 |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 9:19 pm Post subject: Re: PCMCIA turn off |
|
|
antares2001 wrote: | lxnay wrote: | antares2001 wrote: | Hello!
How can I disable the start of the PCMCIA service on startup? I have a Toshiba SM30-X notebook and it hangs on all distros on the PCMCIA startup.
Thank you in advance for your answers. |
You can do this:
When you see "Press I to enter in Interactive Mode"... press "I" key, then you can choose if you want to start the services. When it asks you if you want to start PCMCIA, select the proper option (1,2,3 or 4). |
Thank you for the answer. But even though I pressed "i" at startup and skipped pcmcia, the system hangs when I then continue boot process.
Could you in future versions simply make PCMCIA default off, and just let it turn on afterwards through "dopcmcia" bootoption, or add a bootoption for no pcmcia support on startup, since not only Toshiba laptops have this problem. |
I will include that feature in 2.60 patch 3 ! _________________ http://www.sabayon.org |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Wed Oct 12, 2005 9:22 pm Post subject: |
|
|
lindmik wrote: | lxnay wrote: | Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! |
Well, it still doesn't work for me. I'm using ext3...
Code: | Splitting files because xdelta does not support >2GB files
Getting size...
File is...626355712b
error opening input file: File too large |
|
can you try to split RR4 ISO with "split" command and mail me the result ? I can change splitting method in patch3 _________________ http://www.sabayon.org |
|
Back to top |
|
|
RobNyc Tux's lil' helper
Joined: 11 Oct 2005 Posts: 101 Location: NYC
|
Posted: Wed Oct 12, 2005 11:24 pm Post subject: |
|
|
lxnay wrote: | Triple5 wrote: | Damn I really want this since I seen the screenshots in OSDIR and theres a install available wow perfect
but I dont have no dvd-r discs =\
Is there a livecd ? or something
btw: you guys going to have an irc channel? |
No sorry, only LiveDVD... | Any news when you guys getting livecd? _________________ Thank You |
|
Back to top |
|
|
lindmik n00b
Joined: 27 May 2005 Posts: 29 Location: Espoo, Finland
|
Posted: Thu Oct 13, 2005 5:13 am Post subject: |
|
|
lxnay wrote: | lindmik wrote: | lxnay wrote: | Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! |
Well, it still doesn't work for me. I'm using ext3...
Code: | Splitting files because xdelta does not support >2GB files
Getting size...
File is...626355712b
error opening input file: File too large |
|
can you try to split RR4 ISO with "split" command and mail me the result ? I can change splitting method in patch3 |
Hmm...
Code: | 2.60-fix2a # split Gentoo-RR4-2.60.iso
split: Output file suffixes exhausted |
Okay, what did it do:
Code: | 2.60-fix2a # ls -la |less
total 2696152
drwxr-xr-x 3 root root 16384 Oct 13 08:02 .
drwxr-xr-x 4 nobody nobody 4096 Oct 11 17:06 ..
-rwxr-xr-x 1 root root 2505422848 Oct 4 08:59 Gentoo-RR4-2.60.iso
-rw-r--r-- 1 root root 56 Oct 6 21:29 Gentoo-RR4-2.60.iso-fix2.md5
-rw-r--r-- 1 root root 0 Oct 11 17:09 Gentoo-RR4-2.60.iso-fix2a
-rw-r--r-- 1 root root 54 Oct 1 11:32 Gentoo-RR4-2.60.iso.md5
drwxr-xr-x 2 root root 4096 Oct 6 21:11 delta
-rwxr-xr-x 1 root root 8140 Oct 10 00:52 lxsplit
-rwxr-xr-x 1 root root 1613 Oct 10 01:13 patch-2.60-fix2a.sh
-rw-r--r-- 1 root root 37487032 Oct 9 20:28 patch-2.60.2-1
-rw-r--r-- 1 root root 12966417 Oct 9 20:31 patch-2.60.2-2
-rw-r--r-- 1 root root 40167431 Oct 9 21:10 patch-2.60.2-3
-rw-r--r-- 1 root root 3068493 Oct 9 21:42 patch-2.60.2-4
-rwxr-xr-x 1 root root 113 Oct 10 00:54 patch-iso
-rw-r--r-- 1 root root 289856 Oct 13 08:01 xaa
-rw-r--r-- 1 root root 83388 Oct 13 08:01 xab
-rw-r--r-- 1 root root 71017 Oct 13 08:01 xac
-rw-r--r-- 1 root root 72630 Oct 13 08:01 xad
-rw-r--r-- 1 root root 71557 Oct 13 08:01 xae
-rw-r--r-- 1 root root 70736 Oct 13 08:01 xaf
-rw-r--r-- 1 root root 70254 Oct 13 08:01 xag
-rw-r--r-- 1 root root 73845 Oct 13 08:01 xah
-rw-r--r-- 1 root root 73900 Oct 13 08:01 xai
-rw-r--r-- 1 root root 78715 Oct 13 08:01 xaj
-rw-r--r-- 1 root root 64243 Oct 13 08:01 xak
-rw-r--r-- 1 root root 43006 Oct 13 08:01 xal
-rw-r--r-- 1 root root 51760 Oct 13 08:01 xam
-rw-r--r-- 1 root root 60378 Oct 13 08:01 xan
-rw-r--r-- 1 root root 70028 Oct 13 08:01 xao
-rw-r--r-- 1 root root 62718 Oct 13 08:01 xap
-rw-r--r-- 1 root root 71934 Oct 13 08:01 xaq
-rw-r--r-- 1 root root 74832 Oct 13 08:01 xar
-rw-r--r-- 1 root root 74549 Oct 13 08:01 xas
-rw-r--r-- 1 root root 78562 Oct 13 08:01 xat
-rw-r--r-- 1 root root 71571 Oct 13 08:01 xau
-rw-r--r-- 1 root root 67788 Oct 13 08:01 xav
-rw-r--r-- 1 root root 73633 Oct 13 08:01 xaw
-rw-r--r-- 1 root root 71432 Oct 13 08:01 xax
-rw-r--r-- 1 root root 59010 Oct 13 08:01 xay
-rw-r--r-- 1 root root 59065 Oct 13 08:01 xaz
-rw-r--r-- 1 root root 62406 Oct 13 08:01 xba
-rw-r--r-- 1 root root 65971 Oct 13 08:01 xbb
-rw-r--r-- 1 root root 75856 Oct 13 08:01 xbc
: |
|
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Thu Oct 13, 2005 7:46 am Post subject: |
|
|
lindmik wrote: | lxnay wrote: | lindmik wrote: | lxnay wrote: | Ok, I'll update patch and split files into 4 pieces instead of 2. Then, your feedback is welcome! |
Well, it still doesn't work for me. I'm using ext3...
Code: | Splitting files because xdelta does not support >2GB files
Getting size...
File is...626355712b
error opening input file: File too large |
|
can you try to split RR4 ISO with "split" command and mail me the result ? I can change splitting method in patch3 |
Hmm...
Code: | 2.60-fix2a # split Gentoo-RR4-2.60.iso
split: Output file suffixes exhausted |
Okay, what did it do:
Code: | 2.60-fix2a # ls -la |less
total 2696152
drwxr-xr-x 3 root root 16384 Oct 13 08:02 .
drwxr-xr-x 4 nobody nobody 4096 Oct 11 17:06 ..
-rwxr-xr-x 1 root root 2505422848 Oct 4 08:59 Gentoo-RR4-2.60.iso
-rw-r--r-- 1 root root 56 Oct 6 21:29 Gentoo-RR4-2.60.iso-fix2.md5
-rw-r--r-- 1 root root 0 Oct 11 17:09 Gentoo-RR4-2.60.iso-fix2a
-rw-r--r-- 1 root root 54 Oct 1 11:32 Gentoo-RR4-2.60.iso.md5
drwxr-xr-x 2 root root 4096 Oct 6 21:11 delta
-rwxr-xr-x 1 root root 8140 Oct 10 00:52 lxsplit
-rwxr-xr-x 1 root root 1613 Oct 10 01:13 patch-2.60-fix2a.sh
-rw-r--r-- 1 root root 37487032 Oct 9 20:28 patch-2.60.2-1
-rw-r--r-- 1 root root 12966417 Oct 9 20:31 patch-2.60.2-2
-rw-r--r-- 1 root root 40167431 Oct 9 21:10 patch-2.60.2-3
-rw-r--r-- 1 root root 3068493 Oct 9 21:42 patch-2.60.2-4
-rwxr-xr-x 1 root root 113 Oct 10 00:54 patch-iso
-rw-r--r-- 1 root root 289856 Oct 13 08:01 xaa
-rw-r--r-- 1 root root 83388 Oct 13 08:01 xab
-rw-r--r-- 1 root root 71017 Oct 13 08:01 xac
-rw-r--r-- 1 root root 72630 Oct 13 08:01 xad
-rw-r--r-- 1 root root 71557 Oct 13 08:01 xae
-rw-r--r-- 1 root root 70736 Oct 13 08:01 xaf
-rw-r--r-- 1 root root 70254 Oct 13 08:01 xag
-rw-r--r-- 1 root root 73845 Oct 13 08:01 xah
-rw-r--r-- 1 root root 73900 Oct 13 08:01 xai
-rw-r--r-- 1 root root 78715 Oct 13 08:01 xaj
-rw-r--r-- 1 root root 64243 Oct 13 08:01 xak
-rw-r--r-- 1 root root 43006 Oct 13 08:01 xal
-rw-r--r-- 1 root root 51760 Oct 13 08:01 xam
-rw-r--r-- 1 root root 60378 Oct 13 08:01 xan
-rw-r--r-- 1 root root 70028 Oct 13 08:01 xao
-rw-r--r-- 1 root root 62718 Oct 13 08:01 xap
-rw-r--r-- 1 root root 71934 Oct 13 08:01 xaq
-rw-r--r-- 1 root root 74832 Oct 13 08:01 xar
-rw-r--r-- 1 root root 74549 Oct 13 08:01 xas
-rw-r--r-- 1 root root 78562 Oct 13 08:01 xat
-rw-r--r-- 1 root root 71571 Oct 13 08:01 xau
-rw-r--r-- 1 root root 67788 Oct 13 08:01 xav
-rw-r--r-- 1 root root 73633 Oct 13 08:01 xaw
-rw-r--r-- 1 root root 71432 Oct 13 08:01 xax
-rw-r--r-- 1 root root 59010 Oct 13 08:01 xay
-rw-r--r-- 1 root root 59065 Oct 13 08:01 xaz
-rw-r--r-- 1 root root 62406 Oct 13 08:01 xba
-rw-r--r-- 1 root root 65971 Oct 13 08:01 xbb
-rw-r--r-- 1 root root 75856 Oct 13 08:01 xbc
: |
|
Please read split manual, with split you can split files into pieces. split is written in C and might work on ext3... _________________ http://www.sabayon.org |
|
Back to top |
|
|
lindmik n00b
Joined: 27 May 2005 Posts: 29 Location: Espoo, Finland
|
Posted: Thu Oct 13, 2005 4:49 pm Post subject: |
|
|
lxnay wrote: | Please read split manual, with split you can split files into pieces. split is written in C and might work on ext3... |
Okay, split did the trick. Here's the bash-script:
Code: | #!/bin/sh
if [ -z "$1" ] && [ -z "$2" ] && [ -z "$3" ] && [ -z "$4" ] && [ -z "$5" ]; then
echo "Please specify the original file and patch. Follow the example."
echo "./patch-2.60-fix1.sh [ISO Image] [Patch file 1] [Patch file 2] [Patch file 3] [Patch file 4]"
exit 1
fi
file_gentoo=$1
patch_gentoo1=$2
patch_gentoo2=$3
patch_gentoo3=$4
patch_gentoo4=$5
echo
echo "Splitting files because xdelta does not support >2GB files"
echo "Getting size..."
echo -en "File is..."
file_size=$(stat $1 --format=%s)
# Divide by 4
division=4
file_size=$(($file_size/$division))
# Size is in bytes
#file_size=$( echo $file_size"b")
echo $file_size
split -d -b $file_size $1 $( echo $1".0")
echo
echo -en "File splitted in: "
echo -en $1".000,"
echo -en $1".001, "
echo -en $1".002 and "
echo -e $1".003 "
echo
echo -en "Applying patch to file "
echo -e $1".000"
# include xdelta bin and lib here statically
./delta/xdelta patch $2 $1".000" patched.001
echo
echo -en "Applying patch to file "
echo -e $1".001"
# include xdelta bin and lib here statically
./delta/xdelta patch $3 $1".001" patched.002
echo
echo -en "Applying patch to file "
echo -e $1".002"
# include xdelta bin and lib here statically
./delta/xdelta patch $4 $1".002" patched.003
echo
echo -en "Applying patch to file "
echo -e $1".003"
# include xdelta bin and lib here statically
./delta/xdelta patch $5 $1".003" patched.004
echo
echo -en "Merging files " $1".000, "$1".001, "$1".002, "$1".003"
cat patched.* > $1"-fix2a"
echo
echo
echo "Removing files..."
rm $1".000" -rf
rm $1".001" -rf
rm $1".002" -rf
rm $1".003" -rf
rm patched.* -rf
echo "Done. New file is "$1"-fix2a. Burn it !" |
Split renames to PREFIX0, PREFIX1...
md5sum is correct!
Haven't tested the 2 file split, should I?
The xdelta didn't want to run with just xdelta... |
|
Back to top |
|
|
lxnay Retired Dev
Joined: 09 Apr 2004 Posts: 661 Location: Italy
|
Posted: Thu Oct 13, 2005 9:43 pm Post subject: |
|
|
Wow, thank you lindmik... I've seen your changes, but I've not time (ATM) to test those. Are they safe? Does split works correctly on your ext3 fs? If md5sum is the same, the file _IS_ the same, so, it works!. Please let me know ! _________________ http://www.sabayon.org |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|