You are not logged in.

#1 2010-04-03 11:54:47

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

mkinitpcio - default and fallback are the same? [no the're not]

Is it just me or does the installation disk create the same image for the default kernel and the fallback kernel now.  If so what is the point in the fallback kernel?

Last edited by gazj (2010-04-03 18:08:27)

Offline

#2 2010-04-03 12:18:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mkinitpcio - default and fallback are the same? [no the're not]

After you upgrade, you'll get a new "working" kernel, the lts will stay "behind" - just in case.

Offline

#3 2010-04-03 12:25:54

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: mkinitpcio - default and fallback are the same? [no the're not]

karol - he's talking about initramfs images generated by mkinitcpio, not kernels.

gazj - the fallback image is generated without autodetection. What is giving you the impression that they're the same? Have a look inside them and you'll see the difference.

Offline

#4 2010-04-03 12:26:44

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: mkinitpcio - default and fallback are the same? [no the're not]

@karol Both options always boot the current kernel just with a different initrd image

@tomk Hmm thinking back to the installation I just did, they both used /etc/mkinitcpio.conf as the config file to generate the image.  I thought fallback used to use /etc/mkinitcpio.d/fallback-image.conf or something along these lines

Last edited by gazj (2010-04-03 12:29:35)

Offline

#5 2010-04-03 12:42:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mkinitpcio - default and fallback are the same? [no the're not]

@tomk
> he's talking about initramfs images generated by mkinitcpio, not kernels
Opps, thanks for heads up.

@gazj
As tomk said, the fallback image is generated without autodetection. I'm sure you can see a difference during the image generation just by glancing what scrolls by.

Offline

#6 2010-04-03 12:53:54

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: mkinitpcio - default and fallback are the same? [no the're not]

Ah, just re-run a kernel update after install (with a better cli resolution) and can now see the -S and autodetect  option.  Is this something new?  Is the only reason this might not be default due to size of the image?

Thanks tomk and karol.  I never knew there was a lts kernel until this thread, considering I'm do a server re-install this is exactly what I needed smile

Offline

#7 2010-04-03 17:24:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: mkinitpcio - default and fallback are the same? [no the're not]

It's been that way for a while, gazj - not sure exactly when it changed, but you could check svn if you need to know.

It's not default because the default image is tuned to the particular system it is created on - that is the purpose of autodetection. The few MB difference in size is hardly significant these days.

Offline

#8 2010-04-03 17:34:41

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: mkinitpcio - default and fallback are the same? [no the're not]

Checkout /etc/mkinitcpio.d/kernel26.preset
You'll see the difference. wink
For example, my fallback options are:
fallback_options="-S autodetect,plymouth"

Offline

#9 2010-04-03 18:02:50

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: mkinitpcio - default and fallback are the same? [no the're not]

Yeah makes sense tomk.  I don't need to when it happened, was just curious behind the reasons of change, the size is unsignificant on my server, but quite different on my desktop.

Thank you all for your help

Offline

Board footer

Powered by FluxBB