General :: ELF Format (Self Extractable Executable) Creation?

Oct 29, 2010

I would like to start with simple example:

1. Create a "Hello world" executable.
2. Attach files to it.
3. Add the code in in "Hello" executable to extract the files to a custom location.

1st is simple.

For second, above mentioned article suggest that CArchive can be created using Python. It means you can create a CArchive using "hello" executable and other files. How do you do that using Python?

For 3rd, I need more info about the implementation using C.

View 2 Replies


ADVERTISEMENT

General :: Grub And XP Error 13: Invalid Or Unsupported Executable Format

Apr 16, 2011

Reluctantly I made a temporary install of XP as follows Remove linux drive and install a wiped drive.format ntfs & install windows xp (w/sp3)shift ntfs drive to slave, replace linux drive as master and xp drive as slave. Add it to grub as follows:

Code:
# boot=/dev/sda1
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
titlem$ Windows XP
code....

View 1 Replies View Related

General :: Booting Into Kernel - Error 13: Invalid Or Unsupported Executable Format

Sep 13, 2010

I've been playing around with trying to assemble a bare-bones Linux system on a disk.img file through a loop device. I compiled the most recent stable kernel and then copied it onto the root partition in the image. When I try to boot up into the image using qemu, grub gives me this:


Code:
Booting 'tiny'
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinux
Error 13: Invalid or unsupported executable format

Press any key to continue... I am confused because I compiled the kernel with 'make bzImage', and the architecture hasn't changed (qemu on the same machine used to build the kernel). So it should be bzImage format. Is that what this Error 13 means, or could it means something else is wrong...?

View 1 Replies View Related

Ubuntu :: Error 13: Invalid Or Unsupported Executable Format?

Jun 25, 2010

I've searched all over the internet and have found numerous threads on this topic, none of which have helped me fix the problem. I'll post as much info I can about my setup.I have 3 hard drives... one is for ubuntu (9.10), one is for my data, and one is for Windows7. It looks like this:

1st drive (hda) = ubuntu
2nd drive (hdb) = data
3rd drive (hdc) = windows

[code]....

View 6 Replies View Related

Ubuntu / Apple :: Error 13 - Invalid Or Unsupported Executable Format

May 16, 2010

I've been googling all afternoon to fix this error I get. The situation is as follows: I have multiple harddrives (3x320gb and 1x160gb) all on the SATA interface. One of these drives contains Windows, and the rest I use for programs and downloads. I've installed Ubuntu 9.04 from a USB-stick using the installer's partitioner to make some room for Ubuntu (Ext4 filesystem). I've tried Ubuntu and SUSE in the past.

View 1 Replies View Related

Ubuntu Servers :: Error 13: Invalid Or Un Supported Executable Format?

Aug 4, 2010

Ubuntu 9.04 server (64bit)
8GB
(2) 320 WD HDD - RAID 1

After coming home one evening I found my server was turned off. My suspicions lead me to believe we had a storm and the power went off, then the UPS went off and finally at that point the server went off too. I think my server was set to allow security updates. After it turned of and restarted it seems it made a change to Grub and upgraded it to Grub2. In doing so I now get the following message:

Error 13: Invalid or un supported executable format

I have tried to do the following:

url

This solved the problem for me, from > url

Quote:boot from the live medium and chroot into the Linux installation:

$ sudo mkdir /mnt/linux
$ sudo mount -t ext4 /dev/sda1 /mnt/linux
code....

Then, the following command should resolve the issue. :

$ sudo grub-install --recheck /dev/sda

View 4 Replies View Related

Ubuntu Installation :: Error 13: Invalid Or Unsupported Executable Format

Jul 18, 2011

suddenly after upgrade

2.6.38-10-generic-pae ===> Error 16: Incosistent filesystem structure
2.6.38-10-generic-pae (recovery mode) ===> Error 13: Invalid or unsupported executable format
2.6.38-10-generic ===> Error 13: Invalid or unsupported executable format

[code]....

b08e48b7-1194-49c1-a743-91e7ee90334e is a link to /dev/dm-2 which is my root partition on nvidia raid

PS: At first it did not boot at all dropping out to grub shell, but I managed to boot it with gparted live usb stick and chroot to Ubuntu and re-install grub, but now 2.6.38-8 kernel works and 2.6.38-10 is not

View 1 Replies View Related

Debian :: Grub Error 13 Invalid Or Unsupported Executable Format?

Jul 22, 2010

A few days ago I booted up my computer as normal and loaded vista. It loaded fine, but then froze at the login window. I restarted my computer but this time when I tried to load vista I got the "Error 13" message. Ubuntu still loads up fine however.

I'm fairly certain that I'm using Grub - Legacy, and since most posts that I see post the contents of the menu.lst file, I will too Code: # menu.lst - See: grub(8), info grub, update-grub(8)

# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
code....

View 3 Replies View Related

Ubuntu :: Grub Error 13 Invalid Or Unsupported Executable Format

Jul 22, 2010

A few days ago I booted up my computer as normal and loaded vista. It loaded fine, but then froze at the login window. I restarted my computer but this time when I tried to load vista I got the "Error 13" message. Ubuntu still loads up fine however.

I'm fairly certain that I'm using Grub - Legacy, and since most posts that I see post the contents of the menu.lst file, I will too

Code: # menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

[Code]....

View 7 Replies View Related

Debian Configuration :: Configure To Automatically Use Wine To Execute Using The ./executable.exe Format?

Nov 5, 2010

I've recently been trying to restore a Debian installation back to it's previous state after a serious operation system crash. Efforts are largely going well however I've run into problems since reinstalling Wine. Previously I could execute a Windows executable by simply entering ./executable.exe in the bash shell but this no longer seems to work as now I have to include the "wine" command in front of the executable. how to configure Debian to automatically use Wine to execute using the ./executable.exe format?

View 1 Replies View Related

OpenSUSE Install :: Cant Boot Xp - Invalid Or Unsupported Executable Format Chainloader +1

Sep 27, 2010

I was installing opensuse on the c partition and it gave errors so i aborted it now i click on windows and it says invalid or unsupported executable format chainloader +1 so then i proceeded to try and fix this by changing the menu.lst to this:

And now it tells me that disk isnt found so i need to know what to put in the menu.lst to load the actual windows partition and then fix the original error.

View 9 Replies View Related

Installation :: Can't Boot Windows (GRUB) / Invalid Or Unsupported Executable Format?

Feb 1, 2010

On my Laptop is an 80 GB HD. I installed Windows XP first (at this point it worked perfectly) then installed on the same HD, but on other partitions Archlinux.

The whole thing looks like this now:

/dev/sda1 <--- Windows xp
/dev/sda2 <--- arch linux (/, etc, etc^^)
/dev/sda3 <--- homes
/dev/sda4 <--- boot partition (grub)

(I got no SWAP partition, I got 4gb RAM (well can only use 3, since my system doesn't support 64bit), and my friend told me there's no absolute need for a a swap :>)

Arch Linux is booting perfectly (and very fast), but Windows XP doesn't want to boot anymore :>
(Just if it's from any importance: In the partition program I took the "bootable" flag away from my XP Partition and set it to sda4 - I thought I need to do that, but now I'm not so sure anymore :P )

My entry in the file /boot/grub/menu.lst looks like this (I also tried various others)

title Windows
root (hd0,1)
makeactive
chainloader +1

When I boot and choose the Windows XP in the GRUB boot menu, the following message appears:

error 13: invalid or unsupported executable format

When I set root(hd0,1) to root(hd0,0) (what seemed the most logical to me) and boot again selecting the windows xp, then the GRUB cosole appears.

So what did I do wrong - or better said: what should I do now?

View 9 Replies View Related

General :: Fatal: Bad Magic Number In Executable `prime' (not An Executable?)

Sep 3, 2010

I am trying to run Wattch simulator in linux.But it is giving the error below. what is this error and what do I do about it?

fatal: bad magic number in executable `prime' (not an executable?)

View 1 Replies View Related

CentOS 5 :: Died, Kernel File Not Found \ Get:Error 13: Invalid Or Unsupported Executable Format?

Aug 31, 2011

I have a weird problem with one of my servers (normal PC hardware). I was connected remotely using Putty, doing some stuff, and all of the sudden some commands, like "ls" stopped working, giving a "file or command not found" type of message. I restarted the ssh session, only to find out I couldn't log on any more (access denied). When I got home and rebooted the system, I was greeted with this:Booting 'CentOS (2.6.18-194.el5xen)'root (hd0,0)Filesystem type is ext2fs, partition type 0x83kernel /boot/xen.gz-2.6. 18-194.el5Error 15: File not foundPress any key to continue...Then I searched about this, found out that the files in /boot/grub/menu.lst did not exist at the specified location (/boot/xen.gz-2.6. 18-194.el5). Somehow I managed to find them in another place, copied them in place, and now I get:Error 13: Invalid or unsupported executable format

View 3 Replies View Related

Ubuntu :: Can't Enter Windows 7 Via Grub Boot Menu - Error 13 Invalid Or Unsupported Executable Format

Feb 4, 2010

i have just discoverd i can't enter my windows 7 via grub boot menu i get error 13 Invalid or unsupported executable format what can i do? # This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1

[Code]...

View 1 Replies View Related

Ubuntu :: Desktop Icons Creation And Panel Content Creation After Login Getting Slower

Nov 17, 2010

I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.

View 1 Replies View Related

Ubuntu Servers :: "error 13: Invalid Or Unsupported Executable Format"

Dec 3, 2010

I run a small home/hobby server. I attempted to upgrade it this morning. It was previously using 8.04 lts. I followed the instructions found here, [URL].. Upgrade for Ubuntu Servers (Recommended) I followed the on-screen instructions. After the installation was complete, I rebooted the server. On start up, I was greeted by this message "error 13: Invalid or unsupported executable format." I have since tried booting into every 10.04 kernel listed. However, the results are the same. I have attempted to find a solution via web search, but have had difficulty finding a solution that is appropriate for my situation.

View 4 Replies View Related

CentOS 5 :: Booting CentOS V5.2 Fails With GRUB Error 13: Invalid Executable Format?

May 5, 2009

I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.

- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.

After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :

marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen
/mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression

[code]....

View 2 Replies View Related

Software :: Unable To Boot To RHEL 4 32bit After Installing RHEL 64bit - Error 13: Invalid Or Unsupported Executable Format

Apr 27, 2009

I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.

View 1 Replies View Related

General :: Simple Script To Convert Datetime Format To UTC Format?

Oct 9, 2009

just wondering is there a simple script to convert datetime to UTC format. I have been searching different forums but most answers are for converting UTC to datetime. For example what is a simple command/script to convert todays datetime to UTC format i.e. '2009-10-09 11:47:59'.

View 10 Replies View Related

General :: Format A USB Hard Drive To Vfat Format But Can't?

Sep 15, 2010

I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"

mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1

What am I doing incorrectly?? Can someone please point me in the right direction??

View 6 Replies View Related

Fedora :: Make A Executable (application/x-executable)

Aug 21, 2011

I hope this post stands in the right section.I have a commandline i need to enter in terminal when i want to run a program. i tought lets put that piece of command in an .sh file and just click the file to run the program (then i dont need to open terminal first an give in the command) however the .sh file does not open the program. so i propably need to make a executable (application/x-executable).

View 3 Replies View Related

Ubuntu :: Cannot Open An Executable File Because Of Executable Bit?

Jun 20, 2010

I am running into a snag on .exe files in Lucid. I have Wine installed, but I can not open the file as it is blocked from executing with a window popping up telling me that this file was blocked due to security reasons. I go into the files properties and try to change the permission but that does not help. Is there a way to get around this? Possibly in the terminal as root?

View 3 Replies View Related

General :: Change One Time Format To Other Format?

Jun 21, 2010

the time format i have used is %m:%d:%Y:%H:%M:%S eg- 06:21:10:13:29:18 and i want to convert it to 2010-06-21 13:29:18..

View 4 Replies View Related

General :: CentOS ISO Creation From OS Files?

May 9, 2011

I have CentOS 5.5 Operating System files copied from the DVD, it's not a ISO image. My Centos dvd is not working so, I would like to make bootable image and burn it on a DVD from the files and install CentOS on other machine. I have tried creating ISO image using mkisofs command but, it is not booting.

View 6 Replies View Related

General :: Creation Of Initrd Manually?

Mar 14, 2011

creation of initrd manually(not using mkinitrd).

View 1 Replies View Related

General :: Launcher Creation For Ooo3.2.1

Jun 16, 2010

I AM USING rhel4. and having openoffice1.1.5. . Now i have installed OOO3.2.1 . BUT I AM UNABLE TO FIND THE LAUNCHER PROGRAME FOR OOO3.2.1. IS THAT soffice.so ? it is not in /opt/openoffice3.2/.

View 1 Replies View Related

General :: Create File With 751 Permissions At Creation

Apr 5, 2011

I keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.

View 2 Replies View Related

General :: Extract The File Creation Time?

Nov 23, 2010

I want to extract the file creation time. How to get it. I am using fedora core 4

View 3 Replies View Related

General :: Shared Object Creation And Installation

Apr 28, 2010

I need assistance in linux shared object installation. I have created a .so library for my code,copied it to /usr/lib/ directory & created the symbolic link for it but when I try to compile my code with option -l it gives errors like header files are missing...class has not been declared. actually these all are includede in .so file. I am compiling my code for cross platform PowerPC & using simulater to run that. I have also included this .so in to the file system of powerpc simulater but still same problem...
real name : libamqpproxy.so.1.0.0
link: libamqpproxy.so.1->libamqpproxy.so.1.0.0

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved