General :: Creation Of Initrd Manually?

Mar 14, 2011

creation of initrd manually(not using mkinitrd).

View 1 Replies


ADVERTISEMENT

Debian :: Enabling Cryptsetup In Initrd Img Manually

Dec 1, 2015

I have encountered a bug in the live-build in Debian Live. The persistence does not work it is because of the bug #767195. I cannot recreate another live img file because of bandwidth problem, is there any way to repack the initrd and enable the cryptsetup?

as per suggested:
#767195 – cryptsetup needs to be enabled for initramfs inclusion – Debian Bug report logs
On Wed, Oct 29, 2014 @ 18:09, Evgeni Golov <evgeni@grml.org> wrote:
....
Edit: Line 77 -79 @
# nano /usr/lib/live/build/chroot_hacks

[Code] ....

View 0 Replies View Related

Debian :: Make-kpkg --initrd Won't Create Initrd?

May 18, 2010

When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.

It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..

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

General :: How Do Make An Initrd File

Apr 17, 2011

I have compiled the linux kernel. My bzImage is 1,14 mb big

Anyway. It's only 2 programs i need and it's Python and Busybox. I have compiled python and busybox and put them together in a folder. Busybox is 146 kb and pyton is 4,4 mb.

But how do i make an initrd file of them? Or should a make an initrd file of them?

I get this error when a runt with a compiled busybox to gz format as initrd, and without initrd.

Quote:

VFS: Cannot open root device "sda1" or unknow-block(0,0)
Please append a correct "root=" boot option; here are the available partions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1

Do you know how to make an initrd?

View 4 Replies View Related

General :: How To See The Content Of The Initrd Image

Feb 8, 2010

i am using rhel5 and i just wanted to see the contents of the initrd image. I have copied that from /boot/grub and saved in /tmp directory. Then i did the following

#mv initrd-2.6.18-53.el5.img initrd-2.6.18-53.el5.img.gz
#gunzip initrd-2.6.18-53.el5.img.gz
#mount -o loop initrd-2.6.18-53.el5.img /mnt

when i gave that, it says "mount: you must specify the filesystem type" Then i included "-t ext2" option in the mount command. Now it says,

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Then i created a ext2 filesystem and did the same thing. But there is no difference.

View 1 Replies View Related

General :: Use Nash Instead Of Busybox In Initrd And Initramfs?

Apr 30, 2010

Why use nash instead of busybox in initrd and initramfs? I'm just looking for pros and cons of both really (and any other applications with similar functionality). I'm currently leaning towards busybox being the better option, why redhat and fedora use nash in their initrd.

View 2 Replies View Related

General :: Create New Initrd Image In Sles10.2?

Aug 13, 2010

i need to create new initrd image in sles10.2

View 1 Replies View Related

General :: Modify Modules.dep.bin Within Initrd Img In Suse11 With Sp1

Jul 28, 2010

how to edit/create modules.dep.bin under initrd image. I actually want to insert a new module within the initrd image of suse 11 with sp1.

View 1 Replies View Related

General :: Isolinux Booting Suse 11 Initrd Off Cd?

Jul 29, 2011

I am having trouble booting off a cdrom using isolinux. I see the isolinux prompt and it seems to boot but I run into:

RAMDISK: incomplete write (-28 != 32768 ) 131072000
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)

I can't seem to get much debug information either other than the two lines. What do you think I have a problem with?

View 1 Replies View Related

General :: Compile Program For Initrd - Udp-sender Not Found?

Mar 14, 2011

I would like to modify my init.gz and add udp-sender to this image. After copying the program compiled on my system to init image I have error when I try run udp-sender: udp-sender not found When I checked ldd I saw that the some libraries are missing. I copied them from my system but still got the same error. how can I compile program for my init.gz?

View 3 Replies View Related

General :: Grub Booting Entire Partition As Initrd And Running In Memory

Apr 20, 2011

I run alot of Linux running in memory. Mainly by PXE booting a kernel and the entire OS as the "initrd" file.

I have a RHEL6 image running as a VirtualBox guest and the entire OS (minimal) is contained withing 1GB of disk. I wan't to boot the entire /dev/sda1 "/" (its the only partition on the drive, no swap) as the initrd file and run everything from memory. But grub won't let me. So before I try and re-invent the wheel I thought to post here first.

Details. RHEL 6 as guest in VIrtual BOX. configured with 3Gb memory. HD is single partition and known as /dev/sda1.

at the grub console. I issue

root (hd0,0)
kernel /boot/vmlinuz-2.6.32-19.el6.x86_64 root=/dev/ram0
initrd (hd0,0)

But the grub windows just freezes. Apparently it doesn't like the fact that I've referenced the entire partition (hd0,0) as the initrd. Any thoughts? Or any better boot loader like SYSLINUX?

BTW, I am not worried about the /etc/fstab mentioning /dev/sda1 at this point, I have a fix for that already. I would like to see grub load up the partition as an initrd.

View 1 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 :: 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

General :: Partition Unusable After Filesystem Creation?

Nov 26, 2010

I have newly created filesystem on one of my partitions. After that I am not able to paste anything into it. What is the reason?Even after mounting it also?

View 12 Replies View Related

General :: Special Characters In PDF Creation With PHP On Suse?

Apr 13, 2011

We are creating PDFs from different sources using PHP, Zend_PDF class and Zend server (based on apache2). Developping on windows the PDFs are OK. If we deploy the application on testing server running SuseLinux the special characters ( ) don't show. We use 1 of the standard fonts, HELVETICA and have tested without success COURIER.

The system

Do you have an idea what to do or try?

OK - it turned out to be a coding question. I had thought that some system variable might cause the problem but we simply had to clean the input data and got it working.

View 1 Replies View Related

General :: Bootable Kernel Image Creation

Apr 20, 2010

the things i've tried:

1. Created an asm bootloader code that calls a c function which just prints a hello message.
2. Compiled both and linked them using LD command using a .ld file available.

Steps followed from http://wiki.osdev.org/Bare_bones.I get a kernel.bin file which is of ELF format. I've set up a tftp server using tftpd32 tool and created the necessary pxelinux.cfg files.

Now how do i create a bootable kernel image out of the elf file. The steps given in the above website to create an image doesn't help.

View 1 Replies View Related

General :: Add Some Starting Information In A File While Creation?

Apr 7, 2010

I want to add some starting information in a file while creation. like if I type vi test.sh

then
#!/bin/bash
will be added automatically.

Somebosy suggest me how to do this ??

View 22 Replies View Related

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 View Related

General :: Samba Server Creation On CentOS 5.5

Jan 17, 2011

How to configure Samaba Server on CentOS 5.5 and how to synchronize with my Windows Server-2003.

View 2 Replies View Related

General :: User Creation (with Only Read Only Access)

Feb 3, 2011

I need to create a user with least permission on the production server. He should only be able to read or execute the files that to be specific. For example: I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).

How would i proceed about this.

View 1 Replies View Related

General :: Assigning New Creation File Time On Tar Extraction?

Nov 19, 2010

How I can tell tar to assign a new creation date to extracted files? Let's say I have an archive filled with old files of varying ages. Upon extraction I want all files to have the same time stamp (that of the time of the extraction).

View 1 Replies View Related

General :: Automatic Creation And Formatting Of Home Partition

Jan 14, 2011

I'm a big fan of the NSLU2-Linux project so I've been doing some developments for this platform for the last three years. In order for the end users to test my applications, I initially created an USB image with everything bundled into it. Then, they only had to download the image and decompress (dd) it into an USB pendrive with capacity equal or greater than 4 GB. The fact is that this has brought me lots of problems in the practice since my Web server hardly accepts long file transfers.

Moreover, flash spaces beyond 4GB are wasted. As result, I'm now considering a different approach as I don't know how to do it. Well, I've thought that I could maybe create an USB disk image only with the root file system partition. Then, the first time a script runs, it creates a home partition and formats it into the rest of the space available in the pendrive. There is maybe some command-line alternative to fdisk without having the user to interact during the format process... ??

View 3 Replies View Related

General :: Adding A Files Creation Date To It's File Name?

Sep 17, 2010

I have some basic experiencing creating simple scripts/making directories/changing permissions/etc. but I'm stumped on this one.

I have two linux boxes. I have a script set up on box 'A' to SCP into box 'B', grab a copy of a database backup and store it on box 'A'. It looks like this:

scp root@X.X.X.X:/blah/blah/blah/dump.23.gz /home/blah/DB_Backups/

I have generated a public key on box 'A' and placed it into the authorized_keys file on box 'B', so a password is not required and the file copies over successfully when the script is run. On to my problem...

I need to know what date the 'dump.23.gz' file was originally created when I'm viewing it after it's been copied to box 'A'. If I ls -l on box 'A' it only shows me the date it was created on box 'A' when it was copied.

What would I need to add to my script to append the backup's original creation date on box 'B' to the filename so that when it gets copied to box 'A' I know when the backup was created on box 'B'. I'm sure this is probably confusing. I've done lots of searching and can only find information on how to append the current date and time to a file name. I need to append it's original creation timestamp to the filename when it copies over.

View 10 Replies View Related

General :: Creation Of Swap Partition During Ubuntu 9.10 Installation

Mar 26, 2010

When I do a "clean" install of Ubuntu 9.10, Step 5 of 7 is when you choose how to partition your hard drive. My Acer Aspire Desktop has 8GB of RAM and a single 160GB SATA hard drive. If I choose to let Ubuntu do the partitioning, only three partitions are created and one of them IS a Swap partition. However, if I choose the second option to manually create my own partition tables, there is NO Swap option listed in the drop-down list of partitions to create!! Why in the world not, considering the importance of this partition and the fact that the first option DOES automatically create it? A second related (I think) is about the Live System Rescue CD and GParted 4.9. When do you use either of these utilities? After all, GParted is included System Rescue CD.

So, if I want and choose to do a manual/advanced partitioning of my hdd, the only time I can see using either utility is after the complete installation of the Ubuntu distro. Yet, choosing to manually partition my hard drive always results in an error or warning message that I haven't created a Swap partition before proceeding to Step 6 of the installation. Well, of course not since the choice isn't even possible. Good grief, what am I supposed to do when I arrive at the step where I am supposed to choose and then create the partitions for my hdd? Choose the first option, which I don't think is wise/good at all, especially with security in mind. Or choose the second option of using a program like GParted at all? It is hard enough for me to choose a partitioning scheme at all, since opinions on how many partitions are needed and what sizes they should be.

View 2 Replies View Related

General :: Merge Files By Creation / Modification Date?

Oct 4, 2010

I have a folder with hundreds of .txt files (logs of some java application) that I have to merge in to one single .txt file. This application produces a new log file everyday:

day1: logFriday10September2010.txt
day2: logSaturday11September2010.txt
...
day8: logFriday17September2010.txt
...
and so on...

I could merge the files easily with "cat" and ">>" however, the problem is that I have to do it by taking into account the date (creation or modification) of the file.

If I simple use the cat command the output file will receive for example, all Fridays in a row, then all Saturdays, etc. and in that way I'm not considering the date.

I've searched for the options of the find command, since the files after creation are not modified...I try to use this for example:

$ find . -newer <some old file>

but that lists me all files after that <old file> and not by correct date.

View 5 Replies View Related

General :: Real Time File Creation In Terminal?

Aug 2, 2010

I was wondering if there is a command to show a real-time creation of files. I basically executed a command that will created thousands of files and takes a long time. I want to check if it is still creating additional files or if ti got frozen.

View 3 Replies View Related







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