what are initrd.img-2.6.28-11-generic and vmlinuz-2.6.28-11-generic?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
and Im guessing that title just gives the title of the O/S im booting into if selected, and im guessing that vmlinuz .. is the actual linux kernel? am I right? Ok so whats the initrd thing? I googled it and I got loads of stuff about initial ram disks but im still not sure what they do. and after the kernel line, there are options like ro and single and quiet and splash.. what do they do?
haha im really interested in learning how stuff works, will be real glad if you all could point me in the right direction!
Yes, you are right. vmlinuz is the Linux kernel. The text on that line tells you the kernel is Linux version 2.6.28-11 and its the generic build by the ubuntu team. The uuid identifies which partition is the root partition to use.
The initrd file is the boot image for the initial ram disk that is sometimes used to get the kernel and any modules into memory. This is sometimes necessary for some hard disk setups (like encryption and raid). It is also used to do the fancy flash images you see during the boot process.
The other parameters there says. Start the files system initially (during boot itself) as read-only (ro), and on the first entry, boot quiet and show the fancy splash image and progress bar. This hides all the details of the boot itself.
The second one is the recovery mode which you use if something isn't working. It boot with single user only and you will see all the details of the boot process and any error messages.
Hope that helps.
Mons
PS! Waow thats my 500ths post. Guess I have been here a while already. Time flies
"title" is the name of the menu option that the GRUB bootloader displays.
"vmlinuz-*" is the Linux kernel itself, in compressed form (typically bzip2 or gzip).
"initrd-*" is a mini filesystem-in-a-file stuffed full of things that the kernel will need prior to actually initializing the remaining hardware and firing off init-scripts.
(Basically, if you have kernel modules for things like SCSI cards, sound, etc, then they get stuffed in this file by "mkinitrd").
The "initrd-*" file gets dumped into a ram disk (a virtual disk cut out of your ram), so the kernel can finish loading-up.
As for the options like "ro", "single", "quiet" and "splash";
"splash" sets the background of the GRUB menu. This can be changed to something more unique to give the server a bit more personality.
"ro" just means "read only" (necessary, I wouldn't mess with that one)
"single" drops the server into "Single User Mode" (think "Safe Mode", only it works better)
I'm not sure about "quite", however there should be a grub.conf man page that explains that one better.
Oh ok ok cool. So basically, the initrd is like a temporary filesystem that the kernel uses to finish loading its driver modules etc?
and if i were to get rid of quiet and splash in the options, the ubuntu spash screen wont show up and instead i would get the loading messages like if i were to boot into recovery mode right?
and lets say if i wanted to boot another linux O/S besides ubuntu, all id have to do is give it a title, use blkid to get the root UUID and put it down then find the vmlinuz and initrd in the other distro and put it down as well and thats it?
You're on the right track! You should be able to just ditch the "quite" option, then at boot-up, after you've selected an option from GRUB, just tap escape or F2 (I forget which) and the splash screen should drop off, revealing all the Linux wonderment the boot-up process has to offer.
As for booting another OS, that should work. It's been a while since I messed with the underpinnings of GRUB. I think the last time I played with it was to get a Solaris/Windows/Linux trifecta setup on my laptop, and I had to use Sun's build of GRUB (which was a release or two behind).
The biggest advice I can give you is to read up on how to mess with GRUB once it's loaded. A typo in the grub.conf can render you machine "unbootable", however with GRUB you can edit the options "live"!
Yes, you are right. vmlinuz is the Linux kernel. The text on that line tells you the kernel is Linux version 2.6.28-11 and its the generic build by the ubuntu team.
uname --processor --hardware-plarform both report as "unknown"
xeleema said: "splash" sets the background of the GRUB menu.
This is not accurate, the background of the grub-menu itself is set with the "splash-image" command
I'm not sure about "quite",
The "quiet" command after the initrd line lets grub to be silent when initializing
some types of disk-controllers with more than one disk or raid setup
First of all thanks to all member for this beautiful discussion. Linux is like the mystery more you know is no enough and more new things come. That is the greatness of linux never ending like a legend.
Well Xeleema,
i want to discuss you about this quote. I have used Redhat all versions,suse,fedora,Ubanto with windows versions. What i found interesting about this quote is Solaris.
Quote:
Originally Posted by xeleema
I think the last time I played with it was to get a Solaris/Windows/Linux trifecta setup on my laptop, and I had to use Sun's build of GRUB (which was a release or two behind).
Now i want to install solaris in my laptop? Is it possible and how can i install this on laptop. From where i can download solaris iso image that
runs on my laptop.
Just give me the download link of Solaris that will run on my lAPTOP.
If you want to find Solaris for your laptop, just go to Sun.com and download the "x86" version of Solaris 10 (not the "SPARC" version).
Sun doesn't provide direct links to their ISOs, because they like everyone to have an account on their site (which is *really* hand for getting patches, security updates, and posting to their forums).
I had a few quirks with my keyboard right after the installation, but I was able to find and add a few things into my X server config file to take care of that.
By the way, set up Solaris 10 x86 on my then-brand-new Dell M1210 laptop.
If you're serious about getting Solaris, Linux, and Windows on an x86 system of any kind, I would strongly suggest you do the following (it took me a few tries to figure this out);
0) Solaris 10 packs it's own GRUB for booting UFS filesystems and understanding the Solaris layout. Don't let this get overwritten with a Linux distribution's GRUB. All GRUB management has to be done from the Solaris side of your machine (once it's all setup).
1) If you already have a Windows OS on your system, use a 3rd party partition resizer to shrink it down. (I used Partition Magic, a commercial app). Be sure to keep Windows at the "front" of your drive.
2) Install your Linux distro in one solid Primary Partition. Don't get crazy with filesystems, and don't setup a dedicated swap partition (configure a swap *file* later). This is necessary because during the Solaris 10 installation, it will "see" the swap partition and load it's mini-installer into that (which panics your Linux install).
Take note of the GRUB entries it sets up. Write them *all* down if you have to.
3) Install an x86 build of Solaris 10. Then go into the GRUB config and throw in the Linux and Windows specific things you found.
As a side note, keep in mind that I don't have to worry about swap during the installation. It helps when you have 2GB of RAM Also, nVidia video seems to make things go easier (at the time ATi video drivers were a huge pain to deal with).
Just to add..Maybe some body is reading this post and sees "quiet" and "silent"..and are taking that literally..as in sound...Like the pc makes beep codes or something as it boots...Quiet option in grub just means at boot..it doesn't show everything its doing in text..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.