General :: Kernel - Extracting Init Script From Bult-in Intrfs Into BzImage?

Apr 19, 2010

I have following problem - I damaged my system (Gentoo - by rebuilding using gcc 4.5) beyond repair. I unmounted /home, copied /etc + other important files and I've started reinstalling system.However I forgot to copy init script. It is still present in kernel image that I have. How to extract it? Please note that initrd is not a separate file but is in the kernel image.

View 1 Replies


ADVERTISEMENT

General :: Kernel Panic - Not Syncing - No Init Found - Try Passing Init - Option To Kernel

Apr 19, 2011

Im am building a Linux distro. It will be very tiny and fast.

I only have a minimal linuxkernel (bzImage) who is 1,2 mb big. And then I have Busybox who is 174,6 kb big.

The commands in busybox is: cd, ls, mkdir, rmdir, wget, httpd, clear, rm, poweroff, halt, reboot, fdisk, mount, umount, free, and cp.

When I compiled the kernel i use initramfs/initrd function and point it to a folder where initrd/initramfs source is.

The kernel works OK with others initramfs/initrd files. But not with my own.

Quote:

Here is how the end of the kernelcomplie look like.

Quote:

Here is my init file who is the initrd/initramfs source.

Quote:

The initramfs folder contains "bin" (folder) and "init" a file. No more.

The problem is that the kernel cannot find/read init file.

View 4 Replies View Related

General :: MAKE BZIMAGE Doesn't Work When Compile And Install New Kernel?

Jul 19, 2010

whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.

View 8 Replies View Related

General :: Extracting Kernel Config From Kernel Image -- Extract-ikconfig

Jan 22, 2010

I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:

Quote:

ERROR: Unable to extract kernel configuration information.

This kernel image may not have the config info.

Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..

View 1 Replies View Related

Debian Configuration :: Making A Configured Kernel Into A BzImage File?

Nov 17, 2010

My brother is working for a company that is making various types of embedded software. He's been trying to install Micro Core Linux on a device, and it worked after some manual kernel patching & configuring. The issue is this; he need to install this system on hundreds of similar devices. Is there a way of making the configured kernel into a bzImage, so that the kernel can be compiled on the other systems without any tweaking?

View 5 Replies View Related

Slackware :: 64 Bit Kernel Builds A BzImage In Both Arch/x86 And Arch/x86_64 - Difference Between The Two?

May 7, 2011

Can anyone explain why a 64 bit kernel builds a bzImage in both arch/x86 and arch/x86_64- is there a difference between the two?

View 2 Replies View Related

General :: Kernel Panic - Not Syncing: Attempted To Kill Init?

Jan 4, 2010

I used ubuntu in my ARM board. but now i rebooted it says that "kernel panic - not syncing: Attempted to kill init!" i have to reinstall my OS or any other way to get retify?

View 4 Replies View Related

General :: Kernel Panic Not Syncing Attempted To Kill Init?

Sep 12, 2010

Our email server and fax server configured in a Linux server.2day mornin onwards i am getting the error.kernal panic -not syncing : attempted to kill init.

Bootin "powerserver"(Centos-4 i386)-up( 2.6.9-11 EL)
root (hd0,0)
Filesystem type is ext2fs,partition type 0*fd

[code]....

View 1 Replies View Related

General :: Kernel Panic Not Syncing Attempted To Kill Init

Sep 20, 2010

How to resolve "kernel panic not syncing attempted to kill init" problem in Linux?? And why this error occurs? In my case, this error occurs when i boot my computer and after this error my computer goes on rebooting..

View 1 Replies View Related

General :: Difference Between Make And Make BzImage Commands?

Feb 23, 2010

difference between make and make bzImage commands as both are used to build source code.

View 1 Replies View Related

Hardware :: New HDD Brings Kernel Panic - No Init Found

Feb 6, 2011

I just added an 80GB Maxtor 6Y080P0 HDD to my computer and when I'm booting into linux (Slackware 13.1) I get:
~
NTFS volume version 3.1.
VFS: Mounted root (NTFS filesystem) read-only on device 8:1.
devtmpfs: error mounting -2
Freeing unused kernel memory: 636k freed
Write protecting the kernel text: 9564k
Write protecting the read only data: 2448k
Warning: unable to open initial console.
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
pid: 1, comm: swapper Not tainted 2.6.33.4-smp #2
Call trace:
~
The HDD I'm booting from is a 20GB Maxtor and is the 3rd slave. The new 80GB one is the 3rd master.

View 1 Replies View Related

Software :: Kernel Panic Not Syncing No Init Found

Feb 28, 2011

having updated my Debian box, it ceases to boot kernel 2.6.32 with above error. Booting an older kernel (2.6.26) seems to run init without problems.

View 2 Replies View Related

Debian Configuration :: Kernel Panic - Not Syncing / Segfault At Init

Feb 19, 2016

I recently tried to install php5-gd package on my debian vmware server and it failed at libc6 - i386.

Afterwards every command other than CD caused a Segmentation fault and the server would no long boot, showing the following error

[ 4.808086] init[1]: segfault at 0 ip (null) sp bff4645c error 14 in init[8048000+8000]
[ 4.808372] Kernel panic - not syncing: Attempted to kill init!
[ 4.808442] Pid: 1, comm: init Not tainted 3.2.0-4-686-pae #1 Debian 3.2.65-1

View 0 Replies View Related

Ubuntu :: Minimal Kernel Recompile- Init Hangs At Plymouth

Dec 23, 2010

I've been playing around in attempt to see how small a usable kernel I can build. The theory is that it should mainly be useful for preparing a recovery disk or some such thing; disk drivers and a few network drivers are what goes in.

I built the kernel with the attached config. It boots, reaches the hdd (if I specify root as /dev/sda5 manually), then dies when it tries to start Plymouth (something about catching a SEGV signal). What needs to be enabled to run Plymouth? Alternatively, has anyone managed to remove plymouth from boot on Maverick?

(That would require a modified mountall version, I know.) I'm using the mainstream kernel 2.6.32.27 sources on Maverick (yes, I know Maverick uses 2.6.35; but this does boot).

Hardware: Wireless-RTL8192SE b/g/n, uses an out-of-tree driver (r8192se_pci, from Realtek; Ubuntu builds in an older version of this driver); r8169 works for ethernet; ATI Radeon Mobility 3200 graphics, AMD Neo X2 cpu; SATA hd in AHCI mode.

View 1 Replies View Related

Programming :: Kernel Panic - Not Syncing: Attempted To Kill Init

Oct 12, 2010

am trying to interface ade7758(adc) to at91sam9261...i have written a sample code which registers an spi driver and sends an address to ade7758 and receives a data...every thing is fine.My device is registered but kernel is giving a crash message....below is the message....

[Code]...

View 6 Replies View Related

CentOS 5 :: Kernel Panic - Not Syncing : Attempted To Kill Init?

Jan 15, 2010

I am getting :

exec of init (/sbin/init) failed!!! : 2
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init! My server is at remote end which I access through Public IP.

View 5 Replies View Related

Software :: BzImage OK But Vmlinuz Not Booting

Aug 31, 2010

I use Linux (Gentoo) since many years. I always used gentoo-kernels which I configured and compiled. Once it was done I usually got a "vmlinux"-file and a "bzImage"-file. I always used to copy the "bzImage"-file to my boot partition and I configured Grub accordingly and everything was fine.

Last week I compiled in my VM not only gentoo-kernels, but as well a xen-kernel (for my domU). Once it was done compiling the Xen-kernel (used the usual command "make -j2 && make modules_install") it didn't generate a "bzImage"-file, but a "vmlinuz" file. I therefore took the vmlinuz-file, copied it as usual to the boot partition and configured Grub to use that one, but with this time Grub doesn't want to boot and returns each time the error

Code:
Error 13: Invalid or unsupported executable format
Press any key to continue...

I tried with both "vmlinuz" and "vmlinux" but neither worked. I have no clue what I should to - should I try to somehow generate a "bzImage" (tried "make bzImage" after a "make clean", but it tells me that it doesn't find any bzImage to create), convert vmlinux/z to bzImage or make Grub somehow boot using vmlinuz?

Are there any "tricks" to make Grub boot using a vmlinux/z?

I can say that it's not a problem of the partitioning or setup config in Grub, as in the same grub.conf I have other 2 kernels (bzImage) which boot without problems only the config section that has to do with the vmlinuz/x doesn't want to boot.

View 7 Replies View Related

Red Hat :: Kernel Panic Not Syncing Kill INIT - No Volume Groups Found

Mar 20, 2011

I just imaged my RHEL 4 system that was running on a Dell Poweredge 2950 server using Acronis software and I restored the image to a VmWare virtual machine.

Dell Poweredge 2950 - RAID 5
VmWare - using ESX 4.0
OS - Red Hat Enterprise Linux 4 ES Update 5 x64
kernel - 2.6.9-55.0.9.ELsmp

I'm getting the following when I try to boot on the new virtual machine. I'm thinking it has to do with the fact that it's new hardware and it's having trouble either finding the right drivers or pointing to the correct place.

"No Volume Groups found
Volume Group "Volgroup00" not found
ERROR: /bin/lvm exited abnormally! (pid505)
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
umount /initrd/dev failed: 2

Kernel panic - not syncing: Attempted to kill init!"
I was able to boot into Linux rescue mode using the boot CD. Then I typed:
#chroot /mnt/sysimage

Here's all the info from the commands I typed:
#ldd /bin/bash
libtermcap.so.2 => /lib64/libtermcap.so.2
libdl.so.2 => /lib64/libdl.so.2
libc.so.6 => /lib64/tls/libc.so.6
/lib64/ld-linux-x86-64.so.2
#uname -a
Linux localhost.localdomain 2.6.9-89.EL x86_64
#df -h ....

I've tried the following:
1. mkinitrd -v -f /boot/initrd-2.6.9-55.0.9.EL.img 2.6.9-55.0.9.EL
2. modified the device.map to point to /dev/sda3
3. changed the SCSI controller in Vmware to use BusLogic instead of LSI Logic. (didn't work because I'm running 64 bit.. gave me an error message)
4. grub-install --recheck /dev/sda
5. tried booting to differerent OS versions (i.e. 2.6.9-55.0.6, etc.). I tried all of the versions listed in the boot menu.
None of these worked.

View 2 Replies View Related

CentOS 5 :: Custom Kernel Panic - Not Syncing: Attempted To Kill Init?

Apr 5, 2011

I got the following error after compiling kernel version 2.6.38.2 from sources with this Howto:[URL].. Creating root device.

Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults

[Code]...

View 2 Replies View Related

Ubuntu Installation :: Error - Kernel Panic - Not Syncing: Attempted To Kill Init

Jun 8, 2011

Today I was upgrading my netbook with Ubuntu 10.10 on it to 11.04 via the Update Manager. I got a few errors and the Update Manager seemed like it wasn't continuing, so decided to exit it. It didn't respond so after a while I decided to restart the netbook. However the on/off/standby/restart, etc. button in the top right wasn't responding either, so I decided to force a shutdown with the power button on my netbook. Now Ubuntu doesn't start up, and gives me an error along the lines of:

Kernel panic - not syncing: Attempted to kill init! Pid: 1, comm: init Not tainted 2.6.35-28-generic #50-Ubuntu Now could I in some way repair my Ubuntu installation while still keeping the files I already have on my computer? Maybe via booting from a flash drive or something...?

View 3 Replies View Related

Software :: PuppyLinux Installation - (loading The Lup525.sfs Mainfile) To Ram - Kernel Panic Not Synching Attempt To Kill Init

Apr 27, 2011

When loading puppy linux on my computer from a CD I get an error message on the third step which is (loading the lup525.sfs mainfile)to ram. kernel panic not synching attempt to kill init. The CD works on other computers with no problems. My computer is a dual boot XP and Win7 machine.

View 3 Replies View Related

Slackware :: Software RAID 1 Versus LILO / Kernel-generic - ERROR: No /sbin/init Found On Rootdev

Jul 1, 2011

I'm currently trying to setup Slackware 13.7 on a server, using software RAID 1. I'm using the README_RAID.TXT document at the root of the Slackware disc as a reference. Anyway, here's what I have so far.

/dev/md1 -> /boot partition
/dev/md2 -> swap partition
/dev/md3 -> / partition

Code:

[root@raymonde:~] # fdisk -l /dev/sd{a,b}
Disk /dev/sda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes

[code]....

I created an initrd image using mkinitrd -F, added an according stanza to /etc/lilo.conf and ran 'lilo' after that. Now I can boot on the vanilla huge kernel all right. But I can't seem to boot on the generic kernel. Whenever I try to do this, the boot process stops short on the following error message:

Code:

mount: mounting /dev/md3 on /mnt failed: Device or resource busy
ERROR: no /sbin/init found on rootdev

View 5 Replies View Related

Ubuntu :: Computer Seemed To Be Frozen - Reboot - No Init Found. Try Passing Init - Bootarg"

Jan 1, 2011

I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.

This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.

I decided to reboot, but then encountered an even bigger problem.

It failed to boot and got this message: no init found. try passing init= bootarg

The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.

View 2 Replies View Related

Ubuntu :: Error - No Init Found - Try Passing Init=bootarg

Jan 20, 2010

Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:

mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument
mount: mounting /sys on /root/sys failed: no such file or directory
mount: mounting /dev on /root/sys failed: no such file or directory

[code]....

I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.

View 9 Replies View Related

General :: Extracting All The Still Images From A Movie?

Jun 25, 2011

I have a large number of paper sheets to scan. Instead of an autofeed or flatbed scanner, I'd like to use my photo camera. After a while, it occurred to me that instead of making a photo for each page, I could install the camera on a tripod, set it to record video and then extract the images from the video.

That way, I'd just have to handle the papers: Pick one, place it in front of the camera, wait a moment, replace it. Is there a Linux software to get all images without motion out of a movie? Kind of a non-motion-detection.

View 1 Replies View Related

General :: Extracting A Stream From Ffmpeg?

Oct 4, 2010

Code:
$ffmpeg -i /data/sumeet/video/hollywood/you don't know jack/You.Dont.Know.Jack.2010.DVDRipwww.theevolution.org_by_digoloko.rmvb
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 1 2010 19:28:12 with gcc 4.4.3

[Code].....

At least one output file must be specified Actually the video has embedded subtitles. I thing that is stream 0.2 in real media container. How can i pull that data out ?

View 3 Replies View Related

General :: Extracting And Then Deleting Archives?

Apr 23, 2011

I have a large number of zip-archives which I would like to extract and then delete, keeping only the extracted files. The files are located in a number of directories and I issued the following command, hoping that it would solve my problem (which it didn't):

Code:find . -name "*.zip" -execdir unzip '{}' ; -deleteWhat happened was that find continued to extract the files as intended, but then it deletednot only the zip-archives but also the newly extracted files.it only affected a portion of the files that I had already backed up.I don't have enough space on my hard drive to extract all the files without simultaneously removing any data and I don't have the energy to go through all the directories one by one manually. Surely there must be a better way. Is there a way to fix the code snippet above so that it works as I intended or is there a better way of doing this?

View 4 Replies View Related

General :: Extracting Rar Files In RedHat?

Apr 26, 2011

How to extract rar files in RedHat Linux?

View 8 Replies View Related

General :: Create Self Extracting Rpm For Project

Jul 11, 2011

i am working on a project that requires updation after every 10 days that is after 10 days , i have to apply a new release. every time i need to copy all things from one path and paste it to different locations that is a manual work, i want to create a self extractor, in which i have to give only path, that is the path where i need to paste the files.

View 7 Replies View Related

General :: Properly Extracting Archives With Mac Metadata?

Mar 28, 2011

Someone has sent me a zip file containing some fonts. I extracted it using unzip under Linux, and there are empty files in the top level of the archive, and some files similarly named but beginning with ._ in a __MACOSX subdirectory.

I understand that the __MACOSX contents should be metadata, and normally I'd delete it. In this case, however, all of the data seems to be in there! Is there a tool that I can use to reassemble the original data?

View 1 Replies View Related







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