Displaying 20 results from an estimated 200 matches similar to: "modifying initrd.img to run custom application"
2007 Jan 02
0
customizing initrd - kernel panic while booting
Hi,
I want to customize initrd so that I can run my
application once vmlinuz loads initrd. (similar to dos
booting - dos runs autoexec.bat)
I copied vmlinuz & initrd from RHEL4 ISO.
Mounted initrd
renamed 'linuxrc' exe to linuxrc1
created new script linuxrc
called linuxrc1 from linuxrc script
called my application from linuxrc script.
But I receive "kernel panic" error:
2009 Feb 12
2
Problem with PXEBOOT of diskless client -- fails to mount RAMDISK
I am having a problem with setting up diskless clients under CentOS 5.2.
I have everything working under CentOS 4.7. This is an adaptation of
the (somewhat old) Diskless Linux with PXE HOWTO by Gerd v. Egidy,
originally at the URL
http://www.intra2net.com/opensource/diskless-howto/, which is now defunt
(there is a mirror of it at
http://blog.chinaunix.net/u/2389/showart_82438.html).
What I am
2007 Aug 20
5
Problems reading a backup data DVD
I wrote a bunch of files to a backup DVD about two months ago and now
neither of my drives will read it. I get mount errors from "not a
directory" to something like "unrecognized file system type" and so on,
usually after a really long wait and a notice about how the drive is
write-protected (duh).
Here's what happened most recently:
# mount /dev/hdc /mnt
mount: block
2006 Nov 03
1
pxe floppy
Hi guys,
I have been fighting with Syslinux and PXElinux for two days now. I have gotten
the floppy to boot but can't get pxelinux to work. I get a message:
No !PXE or PXENV+ API fournd; we're dead
I am guessing this means I need something else on the floppy?
The floppy has:
# ls /floppy/
total 24K
-r-xr-xr-x 1 9.4K Nov 2 16:31 ldlinux.sys
-rwxr-xr-x 1 14K Nov 2 16:50
2007 Jul 17
1
RH domU doesn''t see disk?
more /etc/xen/scalix2
kernel="/boot/vmlinuz-2.6.18-8.1.6.el5xen"
memory = 512
name = "hating-xen"
vif = [''ip = "10.0.1.150", bridge=xenbr0'']
disk = [
''/dev/XEN/scalixroot,sda1,w'',
''/dev/XEN/scalixvar,sda3,w'',
''/dev/XEN/scalixswap,sda2,w''
]
It
2006 Nov 22
2
Problem with "additional" submenus
Hello all,
First off, thanks for the great work.
I have recently added "more submenus" to a functioning advanced menu
that only had one "submenu off of the main menu before" The addition of
the new submenus has caused the main menu to not function correctly and
I have been pouring over the code for several weeks and I just cannot
see the error that I have introduced. This
2007 Mar 19
2
Master of Orion 2 hangs when run in Wine 0.9.17 under Fedora Core 5
I recently installed Fedora Cora 5 (2.6.17-1.2157_FC5) on my PC, and
then installed Wine (0.9.17) from the Fedora yum repository. I then
installed Master of Orion II, and tried to run it. It started OK, but
as soon as I moved the mouse, it seemed to hang. My keyboard and mouse
stopped working, and the only way I could break out was to hit
Ctrl-Alt-Del and log out. I tried this repeatedly, and
2006 Aug 02
1
Bug in kernel-space samba client (3.0.23a) on FC5 (2.6.17-1.2157_FC5)
On a client running FC5 with all packages updated from
yum (running samba 3.0.23a-1.fc5.1 and the
2.6.17-1.2157_FC5 linux kernel), I cannot access
multiple samba shares that have share-level security
using cifs.
0. To reproduce, use a server that serves two shares
with share-level security. Make sure the shares have
different passwords.
1. Using the standard mount command and specifying
cifs
2006 Jun 04
0
Kernel panic on change from 2.4.x to 2.6.x
Hi,
in short:
- EPIA MII6000E motherboard with CF-Card
- Booting from network works with Linux Kernel 2.4.25
- Change to 2.6.15.4 doesn't work -- kernel panics:
VFS: Cannot open root device "hde1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncinc: VFS: Unable to mount root fs on
unknown-block(0,0)
in Detail:
-
2005 Jan 07
1
Version 3.02 floppy boot hangs.
Hello,
When I upgrade syslinux from 2.13 to 3.02. my linux floppy doesn't
boot anymore.
steps:
dd if=/dev/zero of=fdimg bs=18k count=160
mkdosfs fdimg
syslinux fdimg
mount -o loop fdimg /mnt
cp files/* /mnt/
umount /mnt
then use memdisk load fdimg
the files includes: vmlinuz initrd syslinux.cfg message.txt f1.txt ...
it only prompts 1 line:
SYSLINUX 3.02
2005 Sep 20
4
standalone bootable usb-stick
hi ya syslinuxerz
- i've been slowly working on a making a custom bootable
standalone usb-stick with X11 and kde
- it's basically builds itself off of a slackware-10.1 server
- create a custom initrd.gz ( /dev/ram0 )
http://linux-boot.net/Bootable/InitRD/
- create a custom rootfs.gz ( /dev/loop0 )
http://linux-boot.net/Bootable/RootFS/
- create X11 and kde loopfiles
2005 Apr 06
4
Query on Initramfs' and Initrd's coexistence
Hi
I am trying to have a built in initramfs along with the traditional initrd.
So I mount the initrd from the initramfs, but am facing problems in trying
to run the 'linuxrc'.
Following are the issues:
1. I mount the initrd from the initramfs and exceve 'linuxrc'.
It starts executing linuxrc, but gives the following errors and panics:
Red hat nash version 3.4.42 starting
2005 Aug 26
1
lvm initrd -> initramfs
I converted my lvm root initrd to an initramfs by putting glibc, lvm,
pivot_root, my linuxrc, etc. in my initramfs source file. I use ash
compiled against klibc to run my linuxrc
Unfortunately -
pivot_root . initrd
- complains -
pivot_root: Invalid argument
I suspect this may be because you can't pivot_root using a cpio
initramfs root?
If so, what should I do instead? Should I
2006 Oct 24
1
LDAP Dovecot Configuration Problem
Good Morning
I have a problem with my dovecot configuration, somepeople can help-me
sending me a example of a dovecot with ldap configuration ?
dovecot.conf
slapd.conf
I'm have
- dovecot-1.0-0.beta8.2.fc5
- kernel-smp-2.6.17-1.2157_FC5
- openldap-2.3.19-4
- Fedora Core 5
Today we connect using PAM but we like connect by LDAP because we have
some problems.
2006 Jun 10
1
PXELINUX with Kernel 2.6.15.4: VFS: Cannot open root device "hde1" or unknown-block(0, 0)
Hello again,
I'm always not able to boot-up my CF-FileSystem. (It works with a
2.4.x Kernel!)
See: http://syslinux.zytor.com/archives/2006-June/006942.html
I dont't understand, why the kernel can't mount the root-fs on exit
of "linuxrc".
Before finising "linuxrc" I can work on it, start a "bash"-shell, do
all sorts of linux-cmds on the root-fs...
2009 Jun 29
1
wine/RosettaStone breakage from recent kernel commit
Hi,
I've been running the foreign language training program The Rosetta Stone(TRS)
on wine for months now, but a recent commit to the linux kernel has caused TRS
to be unable to read the DVD drive, where the program's data files are kept.
Strangely, winefile can still read the data DVD, but TRS cannot, and I'm
stumped.
Below is the guilty kernel commit (rather long, sorry). Can
2004 Jun 30
0
problem loading initrd
Hi,
I am trying to load kernel 2.6.6 on a Soekris net4521 from the network
using PXE. I built my initrd with mkinitrd. RedHat nash (while running
linuxrc) hangs after mounting /proc and says "Creating block devices". I
am using the pxelinux.0 from the syslinux-2.10 distribution and the kernel
and initrd were built on redhat 9.0. I built my kernel with BLK_DEV_RAM,
RAMFS, TMPFS,
2006 Sep 15
1
Root filesystem on ext2
Dear All,
I have a following query:
- My initrd image is created using ext2 filesystem.
- The filesystem type of / is specified as ext3 in /etc/fstab file.
- I dont mount the real root during execution of linuxrc because I
referred some documents saying that if you dont mount real root from
linuxrc the kernel will mount it after linuxrc is finished.
- The system boots up successfully, mount
2003 Jan 19
1
isolinux/gentoo
Hello,
Im a Gentoo kernel maintainer thats trying to fix some bugs on are upcoming
1.4 livecd release that uses IsoLinux.
Our isolinux.cfg is pretty standard :
#########################################
default gentoo
append initrd=initrd acpi=off root=/dev/ram0 init=/linuxrc
timeout 300
prompt 1
display boot.msg
F1 boot.msg
F2 help.msg
label livecd
kernel gentoo
append
2004 Jan 03
1
Kernel panic: I have no root and I want to scream
Hello,
I'm trying to fix netbooting and I got quit far.
Before this, it reported that it had no root disk, I fixed this by
specifying my initrd. Nou it crys's:
Kernel panic: I have no root and I want to scream
I think I made the mistake whit the creation of the initrd file. What
should I put in it except the /linuxrc.
I put a echo "TEST" in de /linuxrc to see if it runs, in