Hello,
I would like to include ntfsresize into an initrd created by cast-o-matic. I compiled ntfsresize statically and uploaded the application to be included in the initrd. I'm pretty sure this is a busybox issue. ntfsresize appears in the initrd but I cannot execute it.
I am not very familiar with busybox so any help would be appreciated. Thank you in advance.
Jeff Michels Technology Support Specialist The School District of Beloit
Hi Jeff
One easy method I use for this sort of thing is a tool called isomaster (available in fedora). It lets you graphically edit an ISO file. I used it to modify a Knoppix CD to include the FProt anti Virus tool. So, in a sense I made my own special Knoppix CD. Anyway, first you'll have to unzip and un-archive initrd and then recreate the archive including ntfsresize and zip it. Then with isomaster you can make your own CD by replacing the original initrd with your custom edition.
John ============
On 01/28/2008 01:37 PM, Jeff Michels wrote:
Hello,
I would like to include ntfsresize into an initrd created by cast-o-matic. I compiled ntfsresize statically and uploaded the application to be included in the initrd. I'm pretty sure this is a busybox issue. ntfsresize appears in the initrd but I cannot execute it.
I am not very familiar with busybox so any help would be appreciated. Thank you in advance.
Jeff Michels Technology Support Specialist The School District of Beloit
Udpcast mailing list Udpcast@udpcast.linux.lu https://lll.lgl.lu/mailman/listinfo/udpcast
Jeff Michels wrote:
Hello,
I would like to include ntfsresize into an initrd created by cast-o-matic. I compiled ntfsresize statically and uploaded the application to be included in the initrd. I'm pretty sure this is a busybox issue. ntfsresize appears in the initrd but I cannot execute it.
Do you get any error message? Or what exactly happens if you try to execute it?
I am not very familiar with busybox so any help would be appreciated. Thank you in advance.
Jeff Michels Technology Support Specialist The School District of Beloit
Btw, please watch your line length. Usually, in e-mails people keep their lines shorter than 80 characters (except if there is a good reason, such as quoting code, log file entries, etc.), this makes it easier for everybody to read it without scrolling.
Thanks,
Alain
Didn't see any error message details from Jeff or any indication that he found a solution, so, I'm just guessing my info is relevant. I do the same thing as Jeff with ntfsclone (compiled ntfsprogs v2.0.0 with '--enable-really-static' and use cast-o-matic to include ntfsclone, ld-linux.so.2, and libc.so.6). Basically, there's no "/etc/mtab" included/ created in the cast-o-matic PXE image, causing ntfsclone complain when try to save image file:
# ntfsclone --save-image --overwrite /test.img /dev/sda ERROR(2): Failed to check '/dev/sda' mount state: No such file or directory
I just included "touch /etc/mtab" in the "Commands to be executed before udpcast menu:" and then ntfsclone works.
Tom
Alain Knaff wrote:
Jeff Michels wrote:
Hello,
I would like to include ntfsresize into an initrd created by cast-o-matic. I compiled ntfsresize statically and uploaded the application to be included in the initrd. I'm pretty sure this is a busybox issue. ntfsresize appears in the initrd but I cannot execute it.
Do you get any error message? Or what exactly happens if
you try to execute it?
I am not very familiar with busybox so any help would be appreciated. Thank you in advance.
Jeff Michels Technology Support Specialist The School District of Beloit
Btw, please watch your line length. Usually, in e-mails people keep their lines shorter than 80 characters (except if there is a good reason, such as quoting code, log file entries, etc.), this makes it easier for everybody to read it without scrolling.
Thanks,
Alain _______________________________________________ Udpcast mailing list Udpcast@udpcast.linux.lu https://lll.lgl.lu/mailman/listinfo/udpcast