You are not logged in.

#1 2007-02-21 17:22:20

qlus
Member
From: Tychy, Poland
Registered: 2006-06-15
Posts: 74

mkinitcpio fallback problem

I've tried to run arch from fallback image and I get an error. So I chceck the etc/mkinitcpio.d/kernel26-fallback.conf. I've noticed that in HOOKS there was ide and pata. AFAIK pata was to replace ide. It is connected with changing names of devices.
So, I've deleted pata from HOOKS, but when i made pacman -S kernel26 it made an image with both ide and pata. In some way pata came back to HOOKS line in etc/mkinitcpio.d/kernel26-fallback.conf.
Any ideas, how to make fallback image working?

Offline

#2 2007-02-21 21:19:54

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: mkinitcpio fallback problem

The fallback image is not set as a backup file in the kernel26 package.  This is intentional.  You do not need to re-install kernel26 to rerun mkinitcpio.

mkinitcpio -p kernel26

will rebuild both images for the kernel26 package.

Offline

#3 2007-02-22 16:59:37

qlus
Member
From: Tychy, Poland
Registered: 2006-06-15
Posts: 74

Re: mkinitcpio fallback problem

mkinitcpio -p kernel26

works fine. I've remooved pata from etc/mkinitcpio.d/kernel26-fallback.conf, and during rebuiding image I haven't seen pata.

Still, updating kernel overwrites etc/mkinitcpio.d/kernel26-fallback.conf file, puts into image pata nad ide. In the end, after updating kernel I receive broken fallbackimage.

Offline

#4 2007-02-23 03:28:13

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: mkinitcpio fallback problem

Like I said, the fallback image isn't meant to be modified.  If there is a problem with it, it may be possible to improve autodetection so that it works with your system.

I'd recommend adding the file you don't want touched to pacman.conf as a NoUpgrade file.

Offline

Board footer

Powered by FluxBB