menu.lst is correct, that should contain what otheus was requesting...
I would be interested in seeing that file myself.
Your previous post...
Quote:
Failed to execute /init
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
seems to say that your menu.lst points to an incorrect imitrd.img.
For instance my menu.lst says:
notice that the last line (for reading sake) says "initrd /initrd-2.6.9-5.EL.img" and my "initrd-2.6.9-5.EL.img" file is located in "/boot/initrd-2.6.9-5.EL.img".
How do you get an awk output into columns i.e.
awk (print $1,$2,$3) doesn't come out into nice columns but lots of lines of txt want something more like.
I am crap
at unix so
give me a
hand thx Rich (3 Replies)
Hi,
I remember once seeing a way to get the left most string in a word.
Let's say: a="First.Second.Third" (separated by dot)
echo ${a#*.} shows --> Second.Third
echo ${a##*.} shows --> Third
How do I get the the left most string "First" Or "First.Second" ???
Tried to replace #... (2 Replies)
i have a script in sh. with awk, e.g. want to list all the contents of a subdirectory an a tabular way.
ej: outoput
directory1
subdirectory1 subdirectory2 subdirectory3
file1 filen file2 filez
file2 ... filen+1 ... (1 Reply)
guys,
i am writing a .ksh file to ssh to a remote machine and change all occurances of .ixf to .WIP like this :
-->>> for i in *.ixf do echo $i done mv $i $i.WIP exit <<---
--> this returns .ixf.WIP - i can live with that.
then i need to sftp from another remote machine, copy the files... (5 Replies)
Is there a patch available to support initramfs on the 2.4 kernel? We can't upgrade to 2.6 for legacy purposes. All I found on google were early references to how initramfs is better than the 2.4 initrd.
Thanks much! (0 Replies)
Long story short, I had a ps3 with both Lenny and Sid repositories. Knowing this is a bad idea and that Lenny is being deprecated I decided I wanted to move everything to Sid. I changed my repos and ran apt-get-update, upgrade, dist-upgrade. Had one warning during the apt-get upgrade that... (0 Replies)
Hello,
I am working on an Urdu to Hindi dictionary which has the following structure:
a=b
a=c
n=d
n=q
and so on.
i.e. Headword separated from gloss by a =
I am giving below a live sample
بتا=बता
بتا=बित्ता
بتا=बुत्ता
بتان=बतान
بتان=बितान
بتانا=बिताना
I need the following... (3 Replies)
Imagine I have an unbootable system where I need to update the kernel image using update-initramfs.
I have seen numerous examples online which show the following
$ mount -t proc none /mnt/ubuntu/proc
$ mount -o bind /dev /mnt/ubuntu/dev
$ mount -o bind /sys /mnt/ubuntu/sys
After that we... (8 Replies)
Hi all,
In Oracle, I am using SQL*Plus and selecting all rows in a table and spooling to a file as pipe delimited. I have to use pagesize 0 but unfortunately, using this option excludes the header and I can't get around having it to display the header fields.
So to get around this, I have to... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT CENTOS
dracut-shutdown.service
DRACUT-SHUTDOWN.S(8) dracut DRACUT-SHUTDOWN.S(8)NAME
dracut-shutdown.service - unpack the initramfs to /run/initramfs
SYNOPSIS
dracut-shutdown.service
DESCRIPTION
This service unpacks the initramfs image to /run/initramfs. systemd pivots into /run/initramfs at shutdown, so the root filesytem can be
safely unmounted.
The following steps are executed during a shutdown:
o systemd switches to the shutdown.target
o systemd starts /lib/systemd/system/shutdown.target.wants/dracut-shutdown.service
o dracut-shutdown.service executes /usr/lib/dracut/dracut-initramfs-restore which unpacks the initramfs to /run/initramfs
o systemd finishes shutdown.target
o systemd kills all processes
o systemd tries to unmount everything and mounts the remaining read-only
o systemd checks, if there is a /run/initramfs/shutdown executable
o if yes, it does a pivot_root to /run/initramfs and executes ./shutdown. The old root is then mounted on /oldroot.
/usr/lib/dracut/modules.d/99shutdown/shutdown.sh is the shutdown executable.
o shutdown will try to umount every /oldroot mount and calls the various shutdown hooks from the dracut modules
This ensures, that all devices are disassembled and unmounted cleanly.
To debug the shutdown process, you can get a shell in the shutdown procedure by injecting "rd.break=pre-shutdown rd.shell" or
"rd.break=shutdown rd.shell".
# mkdir -p /run/initramfs/etc/cmdline.d
# echo "rd.break=pre-shutdown rd.shell" > /run/initramfs/etc/cmdline.d/debug.conf
# touch /run/initramfs/.need_shutdown
AUTHORS
Harald Hoyer
SEE ALSO dracut(8)dracut 09/12/2013 DRACUT-SHUTDOWN.S(8)