Software :: Grub Re - Install ( Includes Vmlinuz/initrd Files )?

Mar 7, 2011

today some one of my friends removed /boot/grub directory from my pc. i tried both

root (hd0,0) Kernel /vm - but it's not coming (coz that file is already removed.

and after
root (hd0,0)
setup (hd0)

it showed grub file is installed but i couldn't find

/boot/grub/grub/conf or vm linuz
and after i used rescue method.
/sbin/grub-install /dev/sda
tried this method but still couldn't make effect.

[Code]...

View 2 Replies


ADVERTISEMENT

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

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

Debian :: Grub Update - Can't Boot From Vmlinuz

Oct 2, 2010

I have a Lenny inside a xp. I changed my installation and make a boot partition , a home directory, and a system directory. now I reinstall my xp and do this:

find /grub/stage1
root (hd0,6)
setup (hd0,6)

and grub menu found! but when I clicked on debian, can't boot and I have a message about can't boot from this vmlinuz ( or any thing similar!) , click on any key and then it come back to grub menu. my debian is on (hd0,9) and (hd0,6) is my boot partition.

View 4 Replies View Related

General :: Program Includes .so Which Includes .a?

Mar 19, 2010

I have prepared a static lib(.a) comprising 2 function definitions. I have created a different shared library(.so) comprising 2 more functions. The two functions of .so use the functions defined in the .a file. That is, the .so file uses the services of the .a file. Next, I create an executable that uses the shared library(.so). When I build my executable, it needs to be linked with the .a file as well. it gives me undefined reference for the functions defined in the .a file. Why is that so? I am posing this question because, the .a file has already been included(static linking) while bulding the .so. Is there any workaround so that I need not link the .a file with my final executable?

View 2 Replies View Related

Fedora :: Kernel Update Doesn't Edit Grub.conf Vmlinuz And Initramfs Missing?

Dec 23, 2010

after yesterday's update to kernel 2.6.35.10-72 my grub.conf didn't get updated and ll /boot shows that neither vmlinuz or initramfs exist for that kernel. uname -r though tells me I'm running 2.6.35.10-72.

How can I do that? and on another more reallystic matter how can I generate the missing files so I can manually update grub.conf?

View 2 Replies View Related

Software :: Why GCC Includes Files From Unexpected Dirs

Nov 23, 2010

Now I'm porting a WIFI driver to my platform, MIPS little endian, Linux-2.6.18, uClibc environment for STB. And I'm experiencing some strange symptom. As you know, there are some kind of include files that system provides such like GCC-provided(usually in /usr/include), LIBC-includes(/usr/include), Linux-includes(${LINUX}/include/linux), ASM-includes(${LINUX}/include/asm) and so on, and there are many files resides different directories as the same name (e.g. time.h, types.h, limits.h ...) and many of them has
different contents.

I'm confusing because that some include files are read from unexpected directories.
The command line is like following. $ cross-gcc -o Target -I$(GCC_INC) -I$(LIB_INC) -I$(appl_inc) -isystem $(LINUX)/include -isystem $(LINUX)/include/linux Source.c

And some symbol means:

GCC_INC: directory for GCC include files.
LIB_INC: directory for LIBC include files.
LINUX: Linux kernel directory.

[code]....

As shown above, some include files are read from unexpected directory. This causes some severe compile errors. I've verified these by adding '-E' to the command line. How can I order GCC to read files from where I'm expect?

View 1 Replies View Related

Fedora :: X 11 - Dependency - Could Find No Includes Files Under The Directory /usr/include/x11/

Apr 13, 2010

Recently I have moved to F11. While I am trying to install directFB explicitly, I am getting error related to X 11 dependencies. It could find no includes files under the directory /usr/include/x11/. But x11 libraries are available in the system. I remember that, i had these x11 include files in my F9. Do I need to install any external packages to get the x11 include files in place?

View 4 Replies View Related

Ubuntu :: Mega Batch Files To Rename - Includes Sub Folders

Oct 20, 2010

I have quite a few sound sample files totaling over 4 gigs in size with around 80 root folders and then around 34 sub folders. i have a total of 13 DVD's in the above format. how do i "change the date" on all files in one go is that possible?

View 3 Replies View Related

CentOS 5 :: Boot Stuck At Initrd After Reinstalling GRUB?

May 7, 2009

I am using CentOS 5.2 with GRUB booting a software RAID configuration. The first disk is md0 and is mirrored across sda1 and sdb1.I manually re-installed grub using grub-install and the machine will no longer boot off of the HD. The grub menu comes up, I can select my kernel the machine then jumps to loading the initrd and hangs.It will go no further. I have a live DVD that can boot from the HD. If I use that to first boot from the DVD, then specifiy the HD, it shows the same grub menu and then the machine boots fine w/o the initrd hang.I have tried re-installing grub but not been able to get the machine to work again w/o the DVD.

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

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

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

CentOS 5 :: Yum Install Of Nvidia Rpms From ATrpm Fails Due To Vmlinuz Filename

Oct 16, 2009

I have installed Centos 5.3 64 bit version and run yum update so the system is up to date. However, I have noticed the kernel version that is installed is:

uname -a
Linux elektra.chemresearch 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

and when attempting to install from ATrpm.net the nvidia driver I get this message:

yum install nvidia-graphics169.07 nvidia-graphics169.07-kmdl-`uname -r`
...
Missing Dependency: /boot/vmlinuz-2.6.18-164.2.1.el5 is needed by package 1:nvidia-graphics169.07-kmdl-2.6.18-164.2.1.el5-169.07-94.el5.x86_64 (atrpms)

Now, yum says the kernel is up to date so how can I get the nvidia driver rpms to install? The entries in /boot are:

vmlinuz-2.6.18-128.el5
vmlinuz-2.6.18-164.el5

I have checked to make sure that the update repo is enabled. There were quite a few updates applied after the initial installation and the initial kernel was updated as the yum log indicates and also the entries in /boot.

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

OpenSUSE Install :: Where To Get 11.1 Kernel And Initrd

Dec 17, 2009

i upgraded from 11.1 to 11.2. Unfortunately the new kernel does not work with my sata/southbridge (i googled and figured its a known issue). So i tried to boot a 11.1 64bit rescue system to install the older kernel and the corresponding initrd. The problem is, that i cant find the kernel and initrd on the rescue system.

View 2 Replies View Related

OpenSUSE Install :: Copy Of Initrd-2.6.31.14-0.4-desktop (11.2 I586)?

Dec 23, 2010

A fault in my USB key killed the contents of the /boot partition. I could restore grub, and got back kernel files by extracting kernel-desktop-2.6.31.14-0.4.1.i586.rpm, but now I miss initrd! (I have currently no means to make it.)Would someone having this one be kind enough to e-mail it to me? (It's around 6 MB so it should be OK.) I'll PM you my e-mail address.

View 8 Replies View Related

Ubuntu Installation :: Grub2 And Initrd Failed To Install

May 17, 2010

I just did a new install of Ubuntu 10.04 (64 bit) on a system with multiple older versions of Ubuntu already installed. There was a dpkg error during the install with no useful information provided, otherwise the install completed normally. When I rebooted, the old grub2 ran and presented my old boot menu. When I mounted the 10.04 partition to see what was there, I found that /boot/grub/ was empty and /boot/initrd.img was missing. The other boot files were present.

View 2 Replies View Related

Debian :: Searching Vmlinuz To Install Debian From Hdd?

Aug 17, 2010

I would like to follow the howto to install debian squeeze, but unfortunately I am searching for vmlinuz but it is not found.

[Code]...

View 1 Replies View Related

OpenSUSE Install :: Getting The Source For /init Inside The Installer's Initrd?

Mar 21, 2011

In short. I've cracked open the initrd file of the openSuSE installer to have a look - I've determined it's an initramfs which by default would execute ''/init''GREAT! But not so much... init should find the installation files et cetera - but I haven't a clue how it does this because it's a compiled binary So, my question is this - do anyone know where I can find the source for this file ?

If not, who should I contact to find it? I really, really need to look at it.. I'm trying to throw the installer over to a USB harddrive (with multiple other installers, each in their own directory etc. etc.) - the idea is to create a USB HDD with installation mediums for the OS's I use so the recommended methods of dedicating a partition to openSuSE is not going to work...

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

Ubuntu Installation :: Extract File Initrd.lz - Located In Install Iso

Aug 7, 2011

initrd.lz is a Lzip file in the casper directory of the Ubuntu install iso.

I'm having trouble finding a program that will extract it.

Lzip - fails
file-roller fails

How to extract it?

View 2 Replies View Related

OpenSUSE Install :: Boot Failed After Installing New Kernel Initrd-2.6.34.7-0.2-desktop

Sep 21, 2010

Suddenly, after installing, boot was failed.

[Code]...

i was surprise, because in initrd-2.6.34.7-0.2-default all was ok.

View 2 Replies View Related

OpenSUSE Install :: 11.1- Completely Reinstall Grub & Its Stage1&2 Files?

Mar 11, 2010

Due to lack of concentration, I inadvertantly ran PClinux(2009-2)'s "install.sh" while I was in openSuse 11.1. This file says:

grub --device-map=/boot/grub/device.map --batch <<EOF
root (hd0,6)
setup --stage2=/boot/grub/stage2 (hd0,6)
quit
EOF

I soon found out that Suse 11.1 would no longer boot from boot.ini (using bootpart) because the boot process now brings up PCLOS (in /dev/sda6) rather than Suse 11.1 sitting in /dev/sda5. No problem, I thought, I'll boot from the Suse install DVD, use repair, and away I go. Wrong. After grinding, it started mentioning about generating something for sda13, which is my last partition. NTFS! So I bailed before it got too far. I even tried "rescue" option on the DVD, command prompt, and grub commands to reinstall via "setup.

Then I tried to use Super Grub Disk (.97xx) to reinstall the PBR, stage 1 and stage 2 loaders. Didn't change a thing. So then I used Grub4DOS and got into my Suse 11.1 installation using this in its menu.lst:
title openSUSE 11.1 - 2.6.27.45-0.1

[Code]...

Worked fine, and is now my (only) method of booting to 11.1. So obviously it's bypassing stage 1 and 2 files, using it's native Grub4DOS code. But then I tried Yast-Bootloader to reinstall Grub's files. No difference. Then I used the advanced part to "write bootloader code to disk" No difference. Even tried "propose a new boot scheme" (or whatnot) no difference. After looking at all this, I've come to the conclusion that the PBR code in sda5 is scraunched, and/or stage 1 code (although it's still the original date), or stage 2 (which definitely had a new timestamp of when I committed the fatal error by executing PCLOS's "install.sh".

So my question is this: How do I do a good COMPLETE re-install of Suse's version of the grub files? Because, for sure, grub commands like "setup --stage2=/boot/grub/stage2 (hd0,5), and variations thereof, certainly aren't doing it? My reasoning is that I should make sure that all the boot files get restored/confirmed as "originally installed by Suse".

View 9 Replies View Related

General :: After Debootstrap - Get Vmlinuz And Initramfs?

Aug 13, 2010

I just did a simple debootstrap lenny /opt/lenny-chroot http://fpt.de.debian.org/debian There is no vmlinuz or initramfs under /opt/lenny-chroot/boot. What would be the next minimalistic necessary step to get it there?

View 1 Replies View Related

Software :: BzImage OK But Vmlinuz Not Booting

Aug 31, 2010

I use Linux (Gentoo) since many years. I always used gentoo-kernels which I configured and compiled. Once it was done I usually got a "vmlinux"-file and a "bzImage"-file. I always used to copy the "bzImage"-file to my boot partition and I configured Grub accordingly and everything was fine.

Last week I compiled in my VM not only gentoo-kernels, but as well a xen-kernel (for my domU). Once it was done compiling the Xen-kernel (used the usual command "make -j2 && make modules_install") it didn't generate a "bzImage"-file, but a "vmlinuz" file. I therefore took the vmlinuz-file, copied it as usual to the boot partition and configured Grub to use that one, but with this time Grub doesn't want to boot and returns each time the error

Code:
Error 13: Invalid or unsupported executable format
Press any key to continue...

I tried with both "vmlinuz" and "vmlinux" but neither worked. I have no clue what I should to - should I try to somehow generate a "bzImage" (tried "make bzImage" after a "make clean", but it tells me that it doesn't find any bzImage to create), convert vmlinux/z to bzImage or make Grub somehow boot using vmlinuz?

Are there any "tricks" to make Grub boot using a vmlinux/z?

I can say that it's not a problem of the partitioning or setup config in Grub, as in the same grub.conf I have other 2 kernels (bzImage) which boot without problems only the config section that has to do with the vmlinuz/x doesn't want to boot.

View 7 Replies View Related

Fedora Installation :: Vmlinuz Is Booting Into RAM And Taking Most Of The Space?

Sep 15, 2009

I have and IBM e-Server, with 256RAM, however when I force the fedora installation to be perfomr in grapgical mode, Anaconda return a message that say that I dont have enoght Memory to perform the graphical installation. To my uderstanding It requiere 192MB of Memeory for a graphical installation.

What I'm doing wrong?, or is that the vmlinuz is booting into RAM and taking most of the space?

View 1 Replies View Related

Ubuntu Installation :: Could Not Find Kernel Img:/casper/vmlinuz

May 25, 2011

I'm using an acer aspire one netbook and attempting to install ubuntu 11.04 on it using flash drive. I extracted the installer using the universal usb installer. Anyway as soon as I get to the ubuntu installer screen it won't let the installer begin and says this: "could not find kernel img:/casper/vmlinuz. I have tried many things including typing in this:"vmlinuz initrd.img" and extracting the data to the flash drive again but nothing has worked.

View 2 Replies View Related

Debian :: Is Possible To Make Installer With Full Vmlinuz Instead Of Busybox?

Jan 10, 2010

It is just a question regarding ISO and the lack of -o loop or function of busybox.One can custom the ISO of debian-installer and make a syslinux config file having : vmlinuz of one normally running installed Debian distro, and keep the initrd of the iso regular debian-installer.I think it may be conflicting the vmlinuz kernel version and the installer of initrd.I am learning, so it may be completely wrong or kernel panic.

View 2 Replies View Related

General :: Information Each Of /rhgb And /vmlinuz Sub Directors Include?

Jan 1, 2011

One question /vmlinuz-2.6.9-34.EL ro root=LABEL=/ rhgb quiet 3 and boot the system. what kind of information each of the /rhgb and /vmlinuz subdirectoris include

View 1 Replies View Related







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