Ubuntu :: Call A C Program Using Initramfs?

Mar 17, 2011

Can i add a c program file to initramfs such that it runs when kernel loads and before root file system getting busy...

View 3 Replies


ADVERTISEMENT

Software :: Script That Call A Java Program That Call A System Command?

Nov 29, 2010

In practice I have a script that call a java program that call a linux system command. The script if I run it, from a shell functions well,so it is not a java problem. The problem come out when i put this script in a crontab schedulation. The result in this case is that java do not execute the system command. I think it depends on crontab

View 4 Replies View Related

General :: Call Windows Program Using Wine?

Jul 10, 2010

I have Linpus runnig on my Aspire One. I would like to setup an icon on the menu to start a windows program using wine. I can start it manually and it works fine. I want to be able to access it directly from the desktop.

View 3 Replies View Related

Programming :: Sendto Function Call In UDP Client Program ?

Jan 5, 2010

The following is the UDP client code I am using.

Code:

Even the server is down, sendto function is not returning -1.

Instead, it is returning the length of the message as if it is success.

View 1 Replies View Related

Software :: Best Chat Program For Linux Desktops In Call Centre?

Dec 2, 2010

A friend of mine is setting up infrastructure for a new call centre and they are using Ubuntu Linux on staff desktops. They need a chat program that will only work on the local network, and they want to allow staff to only access a browser, the chat client and spreadsheet software.

(a) What chat program can they use, and

(b) How can one disactivate most of the programs running on the desktop? Is uninstalling via synaptic/ Ubuntu Software Centre overkill?

View 7 Replies View Related

Programming :: Python - Call Function From The Command Line After Compile The Program?

Dec 28, 2010

If i have a python file with a function call_me(a,b),how can I call this function from the command line ,after i compile the program?

View 5 Replies View Related

Programming :: Select() Call Does Not Detect Data In Pipe Between Parent And Child Program

Sep 23, 2009

i wanted to capture the stdout and stdin of a child process within a parent so that any output of child is sent to the parent and any input taken from the parent. code is simple enough and i have followed all code guidlines on the internet (some guidlines do differ also) my select call either hangs if i do not give a tmeout and with a timeout it returns 0 descriptors to be written to or read from:

below is the simple code for parent:

int main(void)
{
int outfd[2];
int infd[2];

[code].....

why select hangs without a timeout ... why can it not detect that the pipe is write ready i.e parent can write to it ... if it does not detect tha read pipe as having data...

View 5 Replies View Related

Ubuntu :: Initramfs On One Of The Kernels?

Aug 28, 2010

I am using Ubuntu 9.10 and am facing an issue while booting up. It goes into initfs command prompt on one of the 4 kernels that show up in the boot menu. I tried to look around for a likely solution and hence did the following:1. ran "chkdsk c: /f" in my windows partition.2. Added "rootdelay=90" in "/boot/grub/menu.lst" file.This is how my /boot/grub/menu.lst file looks and the problem is with the kernel 2.6.31-20-generic:

title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid ceacd229-2b68-41bf-a967-8ee470085fd8
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=ceacd229-2b68-41bf-a967-8ee470085fd8 ro quiet

[code]....

View 9 Replies View Related

Ubuntu :: Initramfs On 8.4 Installation

May 1, 2009

After installing Ubuntu 8.4 on an old laptop. Double boot w/ XP. I was brought to the terminal with "initramfs". I installed it through the windows partition and assigned it to partition F: which I made sure was reformatted before installation. I tried doing some commands but it seems to bring me nowhere.

View 1 Replies View Related

Ubuntu Installation :: 9.10 Not Booting *INITRAMFS*?

Mar 17, 2010

I have one hard drive and one operating system on that one drive. No dual boot, no raid, no windows, no usb boot. Just 9.10 installed on one 40 gb drive. After trying the various techniques from this forum, I'm now stuck at Grub loading, error, grub rescue prompt. No menu list to choose from or edit (e).Here is the output of 'sudo fdisk -l'

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40000000000 bytes

[code]....

View 9 Replies View Related

Ubuntu :: Add Curl To Initramfs And A Script Which Uses It

Jun 20, 2010

I am trying to learn how to modify the initramfs in a way which is so Ubuntu-friendly as possible. I do not just want to unpack it, change it and re-pack it, as my changes won't be kept when I upgrade my kernel next time.

What I want to do is: Add curl to the binaries available in the initramfs Add a script which is run after networking is set up which calls curl In case there is no "after networking" I have to setup networking myself using DHCP. There is a tiny client inside BusyBox if I am not mistaken. I have googled a lot to get this information. As well as looked trough more than a few books.

View 2 Replies View Related

Ubuntu :: Update Initramfs On PXE Server?

Oct 26, 2010

After copying a filesystem to be used as an image on a PXE server, is it possible to update that image's initramfs on the PXE server?

On PXE server, I added several ethernet modules/drivers to the following file:

/nfsroot/etc/initramfs-tools/modules

Before the changes will take effect, I need to run:

Code:

$ sudo update-initramfs -u

View 1 Replies View Related

Ubuntu :: Update-initramfs From Another Machine?

Jan 24, 2011

I'm finding myself in a situation where I am locked out of my machine (because of a initramfs that doesn't allow me to log in). I think I know where the problem is, but I do not know how to go about rebuilding an initrd file from another machine (especially since my second machine is running on a lower kernel version).

I have tried booting from a LiveCD, but that does not allow me to make any changes to /etc/update-initramfs/. Currently do not have a USB drive handy. How would one go about this?

View 2 Replies View Related

Ubuntu :: Cannot Delete Partition Due To Initramfs?

Aug 6, 2011

I am having trouble accessing my computer after abruptly shutting it down because it was booting off of a live CD and I just wanted it to boot of the HDD. When I try to boot up from the normal HDD I used to get a lot of errors about /dev/sda being not found, and then it went to an (initramfs) prompt, from which I could do pretty much nothing. I booted into a live CD, and basically I didn't need any of my data so I wanted to just get rid of the problem partition and reinstall. I attempted to delete the partition, but that didn't work, saying something about /dev/sda being busy (even though I had booted from a live CD and had not mounted the partition).

Anyhow, now when I try to boot from the HDD I get:
"Error: no such partition. grub rescue>"

Basically what I'm trying to do is just get rid of this partition and reinstall, but I keep getting errors about it being busy and not being able to delete the partition. Is there someone with a way to allow me to just blast this partition and reinstall? I've got a windows 7 partition on the same HDD and I'd really like to leave that one alone, but the ext4 and swap partition can just go.

View 4 Replies View Related

Ubuntu :: Clean Up After Update-initramfs -u?

Jun 21, 2010

I'm working on a custom Ubuntu 10.04 live cd, and I've found updating the Plymouth splash uses up a lot more disk space. The culprit seems to be the command update-initramfs -u, which is needed to apply the new splash image. I'm guessing it's making a new intrd image or something.

View 3 Replies View Related

Ubuntu Installation :: 10.10 Upgrade Won't Boot Initramfs

Dec 13, 2010

I upgrade to 10.10, and now I can't boot normally. The only way I can get X going is if I boot to the previous kernel's recovery mode and choose failsafeX.

In an attempt to fix this, I ran

Code:
dpkg-reconfigure -phigh -a

However, I get this,

Code:
update-initramfs: Generating /boot/initrd.img-2.6.35-23-generic
stop: Unknown instance:
dpkg-maintscript-helper: error: couldn't identify the package

View 1 Replies View Related

Ubuntu :: Boot Fail, Initramfs Starts?

May 1, 2011

I have been using 11.04 for about a day, I go to boot up and it goes into busybox initramfs instead of booting into Ubuntu. The options to my boot in grub, and the errors I get when booting into initramfs are in the pictures attached to this post.

View 2 Replies View Related

Ubuntu :: Recover From Busybox / Initramfs 8.04 NTFS?

May 22, 2011

I either installed Hardy heron or its predecessor by accident, but began running it exclusively. I did it way back when while trying to create a test drive disk, and I did not repartition the drive, because all my windoze NT stuff survived. I'm now 8.04. Yesterday I had a bunch of updates to do, did them, closed a ton of windows and then pulled up 3 open office files and each, when it came up said there wasn't enough space to save all needed information as they opened. I then closed them and one hung and froze the whole machine, leading me to do a reset. This is BEFORE rebooting from the updates.

Now when I boot into Ubuntu (I'm dual boot) I start to get the opening Ubuntu GUI screen but then get :

BusyBox V1.1.3 (Debian 1.1.1.3-5ubuntu12)built in shell (ash) line followed by:

initramfs)

I'm essentially a total noob, I've rarely used command line and not for a long time. I made a version 11.04 live disk, and it says that the file system is clean, but will not show me any of my old files, only the NT files and directories. I have a ton of unbacked up important data in Hardy Heron so I don't want to do an install from the 11.04 CD.

I've read several threads so far, and can't seem to find anything addressing this that I understand. The drive is a 160GB drive on an HP Pavilion dual core that has a 154GB NTFS boot partition, which is where I'm sure the Hardy Heron files are, and a 6GB FAT32 HP_RECOVERY partition that windoze lists ad drive D (the NTFS is C) The live disk says the FAT32 partition is /dev/sda1 and the NTFS is /dev/sda2

Where should I start? I've seen stuff about booting into recovery mode, but that isn't an option when I boot from the hard drive, and the only older ubuntu disk I have is for 7.something and generates "defective CD" type error messages.

View 7 Replies View Related

Ubuntu :: Initramfs-tools Error Message?

Aug 21, 2010

I keep getting this error message when installing anything using the terminal or synaptic manager in ubuntu 10. I was installing pidgin when this message happened. The funny thing is pidgin did get installed and works fine. I am booting from a USB stick. I am using the perdition version which saves any changes i make to ubuntu on the USB stick.E: initramfs-tools: subprocess installed post-installation script returned error exit status 1E: bcmwl-kernel-source: subprocess installed post-installation script returned error exit status 1

View 4 Replies View Related

Ubuntu :: Dropping To Initramfs / Busy Box On Bootup

Feb 1, 2011

When booting I am being dropped to initramfs/busy box heres the error: Gave up waiting for root device. Common problems:

- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/dev-root does not exist. Dropping to a shell!

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built-in shell (ash)

View 1 Replies View Related

Fedora :: How To Mount Initramfs

Apr 25, 2010

I try to mount initramfs-kernel-ver from boot directory.mount -t ramfs initramfs-kernel-ver /mnt/testbut i can't see any files.

View 1 Replies View Related

Ubuntu :: Boot: Karmic Won't Start, Dropping Into Initramfs?

Jan 23, 2010

I'm running Karmic on an AMD 64 on Efficient PC (Re-badged Asus Anubis), with Nvidia Corporation MCP51 High Definition Audio card.In recent days my system has been freezing, although this has generally been solved with a reboot.Now, however, GRUB is failing to start Karmic, and is dropping me into initramfs.I have tried a systemrescue cd (see here http://www.sysresccd.org/Main_Page), which when I switch on slows down at

ATA1 port is slow to respond
forcing hard reset
comreset failed errno=-16

[code]....

View 3 Replies View Related

Ubuntu Security :: Prevent Kernel Initramfs Extraction?

Jul 16, 2010

I'm writing here because it's mainly a security issue even though it's rather kernel related.

I'm compiling my own vanilla kernel with an initramfs included in the bzImage. That image contains encryption keys for the rest of the system. Even though it's not for everybody the initramfs image can be extracted from the kernel, decompressed and the keys extracted.
I'm looking on a way to prevent this.

View 3 Replies View Related

Ubuntu :: Initramfs - Fail To Mount /dev, /sys And /proc In /root

Sep 3, 2010

Uploaded with ImageShack.us

Here was I get on my screen.

I don't know why this is happened. But before I rebooted, I could not see any content on Windows like update or shut-down (if I tried to install something and it asked for confirmation, that window was blank. Or before I shut down, I had to push enter, since that windows was blank.)

I don't think I installed anything and computer was working just fine before.

I don't want to reinstall everything again.

View 5 Replies View Related

Ubuntu Installation :: Initramfs-tools After Upgrade To Natty?

May 11, 2011

When I upgraded my 64bit System76 machine to Natty, I received an error message that initramfs-tools had failed to be upgraded properly. Nonetheless, when I restarted everything seemed to work as it was supposed to.However, every time I do an update the problem with initramfs-tools recurs. I get the following error message:

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic
Syntax error at or above line 20 in file '/etc/lilo.conf'

[code].....

View 5 Replies View Related

General :: After Debootstrap - Get Vmlinuz And Initramfs?

Aug 13, 2010

I just did a simple debootstrap lenny /opt/lenny-chroot http://fpt.de.debian.org/debian There is no vmlinuz or initramfs under /opt/lenny-chroot/boot. What would be the next minimalistic necessary step to get it there?

View 1 Replies View Related

Ubuntu :: Unable To Install Initramfs-tools Error In Karmic

Jan 22, 2010

unable to install initramfs-tools error in Karmic I'm having a devilish time installing Karmic on my AMD 64-bit.

Today's missive is:
"Unable to install initramfs-tools."
"Check /var/log/syslog"

After a trying to fix a corrupted 9.04, I have attempted repeated installs of 9.10 on a completely reformatted clean drive. I can get the live CD working, but when I try the permanent install, using the guided full drive install, it stopped at "Unable to install initramfs-tools." and halts the base system install. I can't find anything on this for Karmic and Launchpad says it was superseded.

Can I skip this and go on? It showed a install list going forward, but if I can't put in the base system, how do I proceed? I've burned 2 9.10 disks, a new 9.04 disk, downloaded 9.10 via package manager while in Live CD and get errors on all during the install process. the check sums match on D/L, but I can't figure how to do a chksum after it's burned to disk. The file sizes do match, but when I go for the install something always halts it at different steps with different errors. No joy.

View 2 Replies View Related

Ubuntu Installation :: Server Won't Start Properly - Goes To Initramfs Prompt

May 31, 2010

I'm trying to install ubuntu-10.04-server-i386 in Virtualbox on Windows XP Home (for use as a Drupal development server) using the instructions here [URL]... the Ubuntu server will not start properly. Instead it goes to an initramfs prompt as follows

[code]...

Another thread suggested typing 'exit' after a while but it just repeats the same output. It seems the root disk doesn't exist. I allowed the installer to set up partitions to its own recommendation (Guided?) although I'm not entirely sure what it did - I think there are two partitions but you guys will know that. The host disk is SATA. The CPU is a dualcore but I've only enabled one CPU on the guest within Virtualbox. Also, I had to enable PAE mode as without it Virtualbox crashed every time I started the guest. PAE wasn't mentioned in the instructions mentioned above. I've tried changing the various other disk parameters in Virtualbox (without fully understanding them) but no luck. I also ran run the boot info script from a desktop LiveCD and the results are given below.

[code]...

View 9 Replies View Related

Ubuntu Installation :: Failed Initramfs After Upgrade And Power Outage?

Aug 6, 2010

did an update from ubuntu 8 to 10.04, this has failed. At boot there is initramfs error with prior message saying.

Code:
alert /dev/disk/by-uuid/-the_uuid does not exist dropping to shell (initramfs) I boot to livecd and check disk uuid and compared it to the fstab and it is correct, is there anywhere else this uuid but have been corrupted or any issue that may cause this issue. note there was power cut during upgrade but this occurred when upgrade should have finished.

View 1 Replies View Related

Ubuntu Installation :: Stuck In Initramfs After Virtualbox Install Crash?

Dec 9, 2010

I used to have my ubuntu 10.04 running with a virtualbox for a windows xp. I remove that virtualbox and create another one, bigger, with 10gb. On the process, my computer freezes.. now I'm stuck on that initramfs screen.I really need to recover my linux (I have apache, mysql, samba, all up and running).I can reach "grub" booting with right shift pressed, but I really don't know where I have to begin.

View 3 Replies View Related







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