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


ADVERTISEMENT

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

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

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

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

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 :: Boot - Display A Static Image While Debian Is Booting Up?

Aug 19, 2011

I need to show a static image with the logo of our department while Debian boots. Is there any easy way or tool to do this? (Any parameter of the kernel maybe?) It doesn't have to be anything fancy (like a progress bar)... just a plain an simple image.

I've seen many bootsplash projects..but most of them are broken. I tried splashy (which is available on the repo), but by the time it loads, my system is already booted, so I don't really like it. note that I don't have any Xorg server installed.

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

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

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

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

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

Debian Configuration :: How To Add A File To Initrd

Dec 13, 2015

I have an encrypted root and encrypted boot drive... To avoid entering a passphrase multiple times I'd like to add a keyfile for my root drive to my initrd... I've done this in Arch and it was relatively simple but I've hit a road block in debian finding the analog processes...

Code: Select all#Part 1) Generate the keyfile, give it suitable permissions and add it as a LUKS key:

dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
chmod 000 /crypto_keyfile.bin
chmod 600 /boot/initramfs-linux*
cryptsetup luksAddKey /dev/sdX# /crypto_keyfile.bin

[Code] ....

Code: Select allupdate-initramfs -v -k -u all

What is the analog to Part 2 (and Part 3 if I'm wrong about how to regenerate the initramfs...)??

View 10 Replies View Related

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

Software :: How To Cancel Swap Mounting At Boot In Debian Initrd

Oct 9, 2010

When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?

View 9 Replies View Related

Ubuntu :: Installation Only Works When Booting From Usb Drive?

Oct 14, 2010

i recently made a startup disk for 10.10 on my external usb drive. i booted up using the usb drive and installed as normal except now when i want to use ubuntu it only works if i select to boot using the same external usb drive. i made sure to select the laptop's HDD for installing ubuntu, so i'm not sure why this would be.

View 5 Replies View Related

Debian :: Building Kernel - Initrd Fail And Nvidia Can't Find Source

Feb 25, 2010

So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.

Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config

make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:

[Code]....

EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.

View 7 Replies View Related

Debian :: Unable To Boot From Grub 'error Unknown Command Initrd'

Feb 24, 2009

I'm running Debian testing and after a recent software update, suddenly I can no longer boot into my single Linux kernel image anymore. I did look at the software update before I did it and I don't believe that it removed any software packages. When I try to boot into my linux 2.6.26-1-amd64 image, I get the following message from grub:"error: unknown command `initrd'"..The same error appears if I try to boot into single-user mode. I have a Windows XP partition on the same hard disk and I am still able to boot into that from grub. I've searched the net and haven't really found my same problem replicated anywhere. I would imagine that the problem is just that somehow the initrd package got removed in my last software update, but again I don't recall seeing any software that the update planned to remove.

Any thoughts on how I would go about fixing this problem? Since I'm unable to get into Linux at all, I imagine I'll have to use a LiveCD to get in and fix the problem, but I don't know where to begin looking.

View 8 Replies View Related

Ubuntu :: Minimal Image Not Booting?

Jun 12, 2011

what I do I can't seem to be able to USB boot the minimal image of Ubuntu. No matter what program I use (Ubootnetin/Universal USB Installer/Etc) I always get a blank screen when selecting anything from the menu Install/Command-line Install)

View 1 Replies View Related

Ubuntu Networking :: Wireless Works When Booting From CD But Not In WUBI

May 8, 2010

If I boot Ubuntu 10.04 LTS from CD, it prompts me that I need to install drivers for my NIC wireless card and links me to a generic Broadcom driver. After installation of this driver I can see my wireless network. If I then reboot and boot into a Wubi installation I created, my wireless adapter light stays off and I get a message that Wireless networks are disconnected. Do I need to do something to get the same drivers installed under Wubi, or is this a separate issue?

View 1 Replies View Related

Debian :: Print An OpenOffice Or LibreOffice Calc With An Image And Text, The Image Is Not Printed (the Space Is Blank)

May 11, 2011

I have a Canon iR3570/iR4570 PXL, and installed the driver CQue 1.0 TCP/IP Queue from Canon webpage.

The problem:
- if i try to print an OpenOffice or LibreOffice Calc with an image and text, the image is not printed (the space is blank).
- if i try to print an OpenOffice or LibreOffice Calc with just an image, it's printed great.
- if i try to print an OpenOffice or LibreOffice Impress, the images are not printed but the text is printed great.

[Code]..

View 3 Replies View Related

Ubuntu :: Does GRUB Support Booting Off Of A Dd Image?

Oct 13, 2010

I know a dd image represents an entire hard disk, so I would have to specify a partition. Can it be done?

View 2 Replies View Related

General :: Mandriva 2010.2 Usb Image Not Booting?

Mar 17, 2011

I got 'Mandriva 2010.2 One KDE Europe - Americas' live image with a tech magazine as an .iso. The live usb image created with Unetbootin on my Mint 10 of the iso won't boot. All I get a warning no operating system or something. I tried the Mandriva-seed script but it gives an error

Quote:

GLib-GIO:ERROR:/build/buildd/glib2.0-2.26.0/gio/gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)

Also tried the isotostick script too but it too won't work. Here is the error message

Quote:

Not verifying image...(no checkisomd5 in Ubuntu so skipping)!
./isotostick.sh: line 103: /lib/udev/vol_id: No such file or directory
USB filesystem must be vfat or ext[23]
Cleaning up to exit...

note that the file system of the usb drive is FAT32 and the md5sum of the iso is the same as that specified in the website !!

View 5 Replies View Related

General :: Mkisofs Command - Booting From ISO Image

Jan 28, 2010

I have created an iso image from a RHEL5.4 disc using mkisofs.
mkisofs -A "Red Hat Linux 5.4" -V "Red Hat Linux 5.4" -v -U -J -R -T
-b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot
-boot-load-size 4 -boot-info-table -o /tmp/RHEL54-x86_64-dvd.iso .

It creates the iso image no problem, however when I go to boot a new server from the disc I get the boot prompt, hit enter, answer the language and keyboard questions and then it throws the following error:
"The Red Hat Enterprise Linux Server CD was not found in any of your CDROM drives. Please insert the Red Hat Enterprise Linux Server CD and press OK to retry".
Perhaps I need to specify in my mkisofs command that its supposed to be iso9660? This is on a RHEV virtual machine.

View 3 Replies View Related

Debian Installation :: Installed Vmlinuz And Initrd.gz (squeeze) In /boot/newinstallation And Added To Grub The Lines?

Sep 17, 2010

I have installed vmlinuz and initrd.gz (squeeze) in /boot/newinstallation and added to Grub the lines:titleNova Instalaçãoroot(hd0,0)kernel/boot/newinstall/vmlinuzinitrd/newinstall/initrd.gzNevertheless, when I choose this option at the grub, it begins to start the kernel vmlinuz and thus restart the system. The installed Debian Lenny boots in a normal way.

View 10 Replies View Related

Applications :: Webcam - Image Sensor HV7131R Is Not Always Identified As Being Detected When Booting

Jul 17, 2010

Using Slackware 13.0. Have a Microdia web cam (60fc) and was (still am) looking for a simple free application to test it. Found a site which identified the drivers, modules, etc. needed so was checking my messages file and noticed that the Image Sensor HV7131R is not always identified as being detected when booting: kernel: usb 1-1.3: HV7131R image sensor detected Is this a problem or what?

I found modules videodev, V4L2, but could not find compat_ioctl32 and it is not listed in the modules loaded. Is this correct? Could not "find" it. I see usbcore listed during booting but does this mean it is a module? or a driver? or what? Also cannot find the an appropriate module that is for either ehci_hcd or uhci_hcd related as both of these appear in the messages. Also I see that the camera is for SN9C105 bridge and know that the "sn9c105" is supposed to be included in "sn9c102" module(?) but the SN9C105 camera notation does not always appear in messages. Is this correct? or (I think) I am confused by the numbering and cases used, i.e. what is a module (loadable?) a bridge and why change cases? Can someone straighten me out? Are all modules loaded listed by lsmod or just the loadable ones and usbcore etc. are "modules" loaded at another time?

View 2 Replies View Related

Fedora :: QEMU: Booting From ISO Image - Boot Failed: Could Not Read From CDROM (code 0004)

May 3, 2011

I'm running Fedora x86_64. I need to setup a virtual machine to do some work on ARM platform. Thus, I've installed QEMU.

Code:

qemu --version
QEMU emulator version 0.13.0 (qemu-kvm-0.13.0), Copyright (c) 2003-2008 Fabrice Bellard

Then, I have dowloaded an ISO image of Debian 6.0 armel.Following instructions on official wiki, I have first created an empty disk image,

Code:

qemu-img create -f qcow debian-armel.img 650M

then I have attempted to boot from ISO image;

Code:

qemu -m 512 -hda debian-armel.img -cdrom debian-6.0.1a-armel-CD-1.iso -boot d

Boot process hangs with the message:

Code:

Booting from cdrom...
639 medium detected
Boot failed: Could not read from CDROM (code 0004)
No bootable device

link refers to Fedora 12, but it seems still unresolved...

View 4 Replies View Related

Ubuntu :: GUIs For The Steg Binaries (steghide And Outguess) - What Image File Format Works In Login Screen Face Lists

Jul 25, 2010

Looks to me like we're a baby-step behind Windows in not having GUI wrappers or frontends for the steganography (?) binaries I mentioned above. Or have my searches just not turned up the obvious GNOME solution?

Also, can someone tell me exactly what image file format works in login screen face lists, in place of the "generic user" icon one? And is there a command-line workaround to get unique ones assigned per-user? The "Login Window" utility in Ubuntu 9.10 seems a bit insistent on using the same image and path to images for all user icons -- hardly a user-friendly way of making user A's identifying icon different from user B's.

View 1 Replies View Related







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