Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27327 - linux26-lts v2.6.32.48-1 uses /sbin/mkinitcpio

Attached to Project: Arch Linux
Opened by Nicolas Bigaouette (big_gie) - Tuesday, 29 November 2011, 17:23 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 18 December 2011, 17:48 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.5.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
I upgraded my lts kernel to 2.6.32.48 but the machine was not bootable. When updating the kernel, the install script failed:
>>> Updating module dependencies. Please wait ...
>>> MKINITCPIO SETUP
>>> ----------------
>>> If you use LVM2, Encrypted root or software RAID,
>>> Ensure you enable support in /etc/mkinitcpio.conf .
>>> More information about mkinitcpio setup can be found here:
>>> http://wiki.archlinux.org/index.php/Mkinitcpio

>>> Generating initial ramdisk, using mkinitcpio. Please wait...
/tmp/alpm_AoMmQm/.INSTALL: line 130: /sbin/mkinitcpio: No such file or directory
On this i686 system, /sbin/mkinitcpio is non-existant. I had to create a link to /usr/bin/mkinitcpio for the installation to succeed.

Also, I booted into systemrescuecd, mounted both / and /boot and then chroot into it to perform the kernel reinstallation. I get this warning:
WARNING: /boot appears to be a seperate partition but is not mounted.
You probably just broke your system. Congratulations.
even though /boot is mounted.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 18 December 2011, 17:48 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Tuesday, 29 November 2011, 17:41 GMT
well, line 130 is simply mkinitcpio -p ...

maybe /sbin is not in your default PATH for some reason?
Comment by Nicolas Bigaouette (big_gie) - Wednesday, 30 November 2011, 14:49 GMT
Hum... I just checked and both /usr/bin and /sbin are in my PATH, both in systemrescuecd and the chroot.

Outside of pacman:
# which wkinitcpio
/usr/bin/mkinitcpio

I don't know why the install script thinks mkinitcpio is in /sbin and not in /usr/bin...
Comment by Jelle van der Waa (jelly) - Sunday, 18 December 2011, 17:44 GMT
Update your machine, since the pkgbuild calls mkinitcpio

Loading...