Server :: Create A Initrd Image Without Using Mkfs But Cpio?

Jan 26, 2011

how to create an initrd image using cpio, instead of mkfs?

Now im doing it like this:

Code:
dd if=/dev/zero of=initrd bs=1024 count=10000
mkfs -t ext2 -F -m 0 -b 1024 -i 1024 initrd

But i would like to move to cpio, because with dd, if you add something new, you might need to change the count. Also cpio is used in distro's like Fedora and Ubuntu.

View 2 Replies


ADVERTISEMENT

Server :: Initrd Image Created With Cpio Doesn't Boot The Livecd

Jul 1, 2011

Im trying to build an initrd image for my livecd using cpio -o -H newc, but the livecd can't boot. If I create the initrd image using mkfs.ext2 then it works.

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

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

Slackware :: How To Create Raid Arrays With Mkfs.btrfs

Jun 21, 2011

what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say

Code:
mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?

View 3 Replies View Related

Debian :: Procedure Behind Initrd Image?

Feb 14, 2011

i am using linux for couple of years. suddenly i a question arises in my mind. Before loading kernel during booting linux box initrd image loads necessary real mount point, file system, modules etc. but how initrd loads them ?? is there predefined modules list stored in initrd image or something else....what is the background procedure of it

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

Debian :: Booting - Initrd Image Works?

May 11, 2011

When we boot the kernel before loding the main file system it loads the temp file system through initrd how that initrd image works.

View 1 Replies View Related

Fedora :: Run Ssmtp From An Initrd Image To Send An E-mail, Via Gmail MTA, Upon Reboot Of The Machine?

Sep 20, 2010

I am attempting to run ssmtp from an initrd image to send an e-mail, via Gmail MTA, upon reboot of the machine. I have already successfully installed and configured ssmtp on the running box (in other words, ssmtp successfully runs after completion of the boot cycle). When attempting to mail something via `echo "Test" | ssmtp username@gmail.com`, I receive the following error message:

[Code]...

View 1 Replies View Related

CentOS 5 :: Create A Backup Image Of A 5.6 Server?

Dec 16, 2010

I have a CentOS 5.5 server that has just recently been updated to 5.6 running PostgreSQL 8.4 and Drupal for an internal website. The server is also acting as a shared network storage between the Linux server and Windows desktops with Samba.

I just recently purchased a license to run Symantec Backup Exec System Restore 2010 for Linux and the only operating systems that are supported are RedHat and Suse Linux.

Does anyone know of a nice open source solution that we can use to create backup images of the server?

In the event of a server crash, we want to be able to rebuild the server via a bit-by-bit backup image.

The CentOS 5.6 is 32bit

View 5 Replies View Related

CentOS 5 :: How To Create An Installation CD From Server Image

Feb 4, 2011

I have a CentOS server that has all of the applications and security settings that I want. I would like to create a bootable ISO image of that server that can be installed across a wide variety of hardware platforms. What are the recommended tools for doing this with CentOS?

View 1 Replies View Related

Server :: Create Users On Mounted Disk Image?

Sep 30, 2010

I'm currently in the middle of developing an automatic system which can provision Linux VMs automatically.Let's say I have a disk image which has a Linux distro installed on it. How would I change the root password on that, without having to boot the OS?It would be nice if I could just simply run passwd with some switch to point to the /etc/shadow file on the (mounted) VM disk image..

View 2 Replies View Related

Fedora Installation :: Mkinitrd Can Make Initrd Image With All Hdd Driver - Config To Everytime Update Kernel?

Jul 16, 2009

I install fedora on my usb-hdd. Sometimes i boot it from real machine, sometimes i boot from virtual machine (kvm). When I boot from real machine, hdd driver is usb-storage, when i boot from virtual machine hdd drivers are ata_generic and pata_acpi.

Everytime i update kernel, mkinitrd only create initrd image contains only hdd driver current running, and I must recreate initrd manual with all preload hdd driver. How to config fedora to everytime update kernel, mkinitrd can make initrd image with all hdd driver I need?

View 2 Replies View Related

Server :: CPIO And Find Operation Not Permitted Errors?

Jun 14, 2011

Below is the oneliner that I am using to exclude all of "." hidden directories within the same directory.

Code:
cd find . -depth ( -wholename ./.* ) -prune -o -print | cpio -oav > /media/caca/extract/full$date.cpio
it works fine but when I extract the files from the full$date.cpio archive it appears to have worked but gives me permission errors:

Code:
cd /media/caca/extract
cpio -ivd < full061411.cpio
cpio: Selection_001.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_001.png
cpio: Selection_002.png: Cannot change mode to rw-r--r--: Operation not permitted
Selection_002.png

[Code]...

View 4 Replies View Related

Ubuntu Installation :: Create A Custom Install Kernel And Initrd?

Mar 26, 2010

I need to install Ubuntu on approximately 50-60 netbooks. None of them have CD drives, and I don't want to have to install them individually, walking around with a USB stick. I figured the fastest way to install on so many machines is to use a combination of apt-cacher (http://www.debuntu.org/how-to-set-up...ith-apt-cacher) and netbooting. I have successfully booted one machine to test, but as soon as the kernel comes up, support for the network interface is gone. Specifically, the "atl1c" module is not included on the netboot initrd image. Also, I would like to try to use preseeding, and I need to get that onto the initrd as well.

So, to summarize my question: How can I create a custom install kernel and initrd? I have a feeling it's related to the "debian-installer" category in the package repository, but I have not found any good documentation about doing this.

View 2 Replies View Related

CentOS 5 Server :: Create Qcow2 Image In 5.5 Virtual Machine Manager?

May 18, 2010

I'm trying to set up a virtual machine environment in Centos5.5. My hardware fully supports virtualization, and I'm running qemu as the hypervisor with Virtual Machine Manager as the GUI to manage and create VMs. Host hardware is a Dell PowerEdge T710, with a quad core Xenon processor and four 1TB disks in a raid 6 array.

Within the Virtual Machine Manager when trying to create a new VM, there is the option to not "allocate entire virtual disk now". What format is created when you "allocate entire virtual disk now" and when you don't?

I want to create a qcow2 image format, but it doesn't look like it is supported. Does anybody know how to create a VM with a qcow2 image format?

When you create a blank disk with "qemu-img create -f qcow2 disk.qcow2 3700G", it indeed does create a qcow2 image. However, Virtual Machine Manager is unable to read these images, claiming that it is 15 megs or so in size (which is what it actually occupies in host disk space until you try and put a VM into it).

View 1 Replies View Related

Debian Installation :: Install For A Target System / Create The Image On A USB Drive For The 586 Soekris Server On 686 HP Laptop?

Feb 16, 2010

I wish to use my laptop to create a system for my Soekris 4801. I don't want to take the server down for the lengthy install ( took 6 hours last time, Fedora 5 ). I want to create the image on a USB drive for the 586 Soekris server on my 686 HP laptop. Then scp the image to the Soekris and reboot and configure the server.

View 3 Replies View Related

OpenSUSE Install :: Boot From USB Connected External Hard Take Long Time From Loading INITRD Image To Start Boot Process?

Jul 18, 2011

I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.

View 1 Replies View Related

CentOS 5 :: Create New RAM Image File To Get Server Load Raid1 Module Upon Start - Mkinited Error No Kernel Available For 'inited-2.6.18-128.el5"

Nov 12, 2009

I'm trying to create new RAM image file to get my server load raid1 module upon start, I was following redhat documentation & it suggested to use the following command mkinited --with=raid1 inited-raid1-$(uname -r).img $(uname -r) However after running this command I'm getting this message No Kernel available for 'inited-2.6.18-128.el5"

View 4 Replies View Related

CentOS 5 Server :: Create A System Image Using The Command "tar"?

May 7, 2010

I have a problem with the system backup. I need to create a system image using the command "tar", but my server has physical disks with LVM and I am executing "linux rescue" for recovering the linux image. After restoring the image on the new server reports "kernel panic", this is caused because the new server where I restored the image doesn't have LVM disks.

View 2 Replies View Related

Server :: PXE Install Using Initrd

Feb 7, 2011

I heard somewhere that by creating custom initrd image and default compiled kernel image, we can do PXE linux installation. can anyone please guide me 'what content will be placed inside initrd?'I know the process of creating custom initrd file .

View 1 Replies View Related

General :: Error While Making Initrd Image - "2.6.37-rc2" Folder Is Missing In "firmware"

Nov 21, 2010

I tried compiling linux kernel 2.6.37-rc2 (mainline), Compilation and installation of kernel and modules went fine. After that while trying to make initrd image, I used the following command :-

mohitdhingras@mohitdhingras-laptop:~$ sudo mkinitramfs -o initrd.img-2.6.37-rc2 2.6.37-rc2

It is showing warnings like :-

W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_me.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_pfp.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_me.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_pfp.bin for module radeon

Actually, "2.6.37-rc2" folder is missing in "firmware".

View 6 Replies View Related

Server :: Difference Between Initrd And Vmlinuz Images?

Jul 21, 2011

the difference between initrd images and vmlinuz images. I've gone through many documents,but didn't got an exact answer.

View 6 Replies View Related

Server :: Install Symantec Endpoint - Error: Unpacking Of Archive Failed On File - Cpio: Mkdir Failed - No Such File Or Directory

Nov 23, 2010

i am trying to install symantec endpoint on a linux server by this command rpm -ivh sav-1.0.3-8.i386.rpm but it gives me the following error error: unpacking of archive failed on file /opt/Symantec/bin/navdefutil;4ceb8d6b: cpio: mkdir failed - No such file or directory

View 3 Replies View Related

Fedora :: Possible To Create ONE Iso Image On 2 CDs ?

Apr 8, 2010

Is it possible to create ONE iso image on 2 CDs ?I have a very old version Windows XP which installer is on 2 disc. I need to create an ISO image on them. If possible, please advise which command shall I run, dd ?

View 2 Replies View Related

Ubuntu :: Create An Iso Image In 10.04?

May 27, 2010

I want to create an ISO file in brasero but it only lets me create a cue. What should I do

View 8 Replies View Related

Ubuntu :: Create An Image Of A PC To Use On Another?

Apr 7, 2011

I do not know if this is possible, but I have a laptop in another country that I visit quite frequently. I wish to re build it in Ubuntu from the image of a mcahine I have here such that when I set it up I need not go on line for updates and installed apps.

A couple of reasons for this.

Internet in this other country is by land line and VERY expensive and slow

It would be useful if it were an image as I am happy with the install on the laptop I have here,, and do not want to spend an age on my hols configuring and installing and playing about... Just install Ubuntu from my CD and then the image to create the same machine.....

View 6 Replies View Related

General :: Use An USB Instead Of A DVD To Create ISO Image?

May 21, 2011

I just downloaded the FEDORA iso image file. Naturally, the next step is to create a DVD. The problem is I'm using a mininetbook hith no DVD unit and I have not an external one, so I think I can use the USB as an alternative, but I just don't find how to in the documentation, and the applications to burn DVD's dont have the option... how can I do this?

View 14 Replies View Related

Software :: Create An Iso Image

May 3, 2011

I have an HP C7000 chasis with 5 blades. We have a known good, secure version of RHEL 5.6 on one of the blades. My question is, can I make a "golden iso image" from that running o.s. to install on 2 of the other blades? If so, how can I do that?

View 7 Replies View Related

Debian :: Create ISO Image From .bin And .cue Files?

Sep 2, 2010

Debian 504 64-bit

How to create ISO image from .bin and .cue files?

View 3 Replies View Related







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