Initramfs: What is it for?

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Initramfs: What is it for?

Postby T J Tulley on Tue Feb 03, 2009 11:30 am

A long time ago I asked about this. Wiki tells us that it was designed a long time ago as a very economical filesystem - the design team included Linus Torvalds. I gathered also that it was included in Debian, and then in Ubuntu, so that's why it's in Linux. It can be seen during the install process, and is often among the updates if you watch what's happening.

Why? It only appears when a boot process fails, and I haven't been able to discover anything useful that can be done with it in that situation.

Does it have a behind-the-scenes value in other processes? Is it called by scripts? It would help general understanding if we could know a bit more about it.

Please!
Yours hopefully -

Theo Tulley.
Using a PC with 2GB RAM, 3 hdds and a 1.7 GHz Celeron cpu.
User avatar
T J Tulley
Level 5
Level 5
 
Posts: 581
Joined: Wed Jul 18, 2007 10:18 am
Location: Hull, England

Linux Mint is funded by ads and donations.
 

Re: Initramfs: What is it for?

Postby Yownanymous on Tue Feb 03, 2009 2:03 pm

It actually plays a great part in LiveCD and USB booting, if you care to watch the boot.
When cometh the day we lowly ones,
Through quiet reflection, and great dedication
Master the art of karate,
Lo, we shall rise up,
And then we'll make the bugger's eyes water.
User avatar
Yownanymous
Level 1
Level 1
 
Posts: 40
Joined: Thu Jan 22, 2009 4:35 pm
Location: The Machine

Re: Initramfs: What is it for?

Postby T J Tulley on Wed Feb 04, 2009 10:57 am

Thanks a lot, Yownanymous.

Does that mean that when the boot log says "sdc11 not found" I can use the BusyBox command line to tell it to look instead at sdd11 which is the root partition for the system it is trying to boot?

The preceding log makes it clear that sdd refers to hd2; I don't understand why this is happening in the bootloader before it has accessed a device.map file in grub in the destination partition.

Please see my post "Drive identification problem" in this forum, dated yesterday.
Yours hopefully -

Theo Tulley.
Using a PC with 2GB RAM, 3 hdds and a 1.7 GHz Celeron cpu.
User avatar
T J Tulley
Level 5
Level 5
 
Posts: 581
Joined: Wed Jul 18, 2007 10:18 am
Location: Hull, England


Return to Installation & Boot

Who is online

Users browsing this forum: ahrambc and 9 guests