You are not logged in.
After I installed GNOME 3 from [testing] the system compleatly locked up, so I took out the battery and plugged it back in. Now at every boot I get this message.
Since fixing a netbook is a huge pain (no CD drive) I took out the 2.5" drive and installed it in my other Arch desktop. What files should I copy over to fix this?
Offline
Seems to be the same problem as https://bugs.archlinux.org/task/23467.
Try downgrading mkinitcpio to 0.6.8-2 and run mkinitcpio -p kernel26.
Offline
Seems to be the same problem as https://bugs.archlinux.org/task/23467.
Try downgrading mkinitcpio to 0.6.8-2 and run mkinitcpio -p kernel26.
How? I can't run any command since the system doesn't boot.
Right now I have the laptop drive as my external hard drive, can I chroot into it and run commands then?
Offline
Yep, mount the root partition (and boot if you have one) and /dev/ and /proc/, e.g. with mount -o bind /dev /mnt/othersys/dev and mount -t proc proc /mnt/othersys/proc. Then chroot into it, downgrade and run mkinitcpio.
Offline
Yep, mount the root partition (and boot if you have one) and /dev/ and /proc/, e.g. with mount -o bind /dev /mnt/othersys/dev and mount -t proc proc /mnt/othersys/proc. Then chroot into it, downgrade and run mkinitcpio.
My desktop is x86_64 and my laptop is i686, would I have to run a liveCD of i686 to be able to do this?
Offline
It shouldn't be necessary to use a LiveCD. You can chroot from an x86_64 host to an i686 guest system, but not vice versa.
Offline
Do I have to now uninstall the kernel26 and install it again when I'm done?
[root@localhost ROOT_ARCH]# chroot . /bin/bash
[root@localhost /]# pacman -Q mkinitcpio
mkinitcpio 0.6.9-1
[root@localhost /]# uname -a
Linux localhost 2.6.38-ARCH #1 SMP PREEMPT Wed Mar 30 08:47:36 CEST 2011 x86_64 Pentium(R) Dual-Core CPU E5400 @ 2.70GHz GenuineIntel GNU/Linux
[root@localhost /]# wget http://schlunix.org/archlinux/core/os/i686/mkinitcpio-0.6.8-1-any.pkg.tar.xz
--2011-04-10 13:42:53-- http://schlunix.org/archlinux/core/os/i686/mkinitcpio-0.6.8-1-any.pkg.tar.xz
Resolving schlunix.org... 75.119.219.151
Connecting to schlunix.org|75.119.219.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18332 (18K) [application/x-tar]
Saving to: “mkinitcpio-0.6.8-1-any.pkg.tar.xz”
100%[==========================================================================================================================================================================================>] 18,332 90.7K/s in 0.2s
2011-04-10 13:42:54 (90.7 KB/s) - “mkinitcpio-0.6.8-1-any.pkg.tar.xz” saved [18332/18332]
[root@localhost /]# pacman -U mkinitcpio-0.6.8-1-any.pkg.tar.xz
warning: downgrading package mkinitcpio (0.6.9-1 => 0.6.8-1)
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: kernel26: requires mkinitcpio>=0.6.8-2
[root@localhost /]#
EDIT: I used the wrong version, it worked now.
[root@localhost /]# wget http://schlunix.org/archlinux/core/os/i686/mkinitcpio-0.6.8-2-any.pkg.tar.xz
--2011-04-10 13:58:26-- http://schlunix.org/archlinux/core/os/i686/mkinitcpio-0.6.8-2-any.pkg.tar.xz
Resolving schlunix.org... 75.119.219.151
Connecting to schlunix.org|75.119.219.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18324 (18K) [application/x-tar]
Saving to: “mkinitcpio-0.6.8-2-any.pkg.tar.xz”
100%[==========================================================================================================================================================================================>] 18,324 71.4K/s in 0.3s
2011-04-10 13:58:27 (71.4 KB/s) - “mkinitcpio-0.6.8-2-any.pkg.tar.xz” saved [18324/18324]
[root@localhost /]# pacman -U mkinitcpio-0.6.8-2-any.pkg.tar.xz
warning: downgrading package mkinitcpio (0.6.9-1 => 0.6.8-2)
resolving dependencies...
looking for inter-conflicts...
Targets (1): mkinitcpio-0.6.8-2
Total Download Size: 0.00 MB
Total Installed Size: 0.22 MB
Proceed with installation? [Y/n]
(1/1) checking package integrity [####################################################################################] 100%
(1/1) checking for file conflicts [####################################################################################] 100%
(1/1) upgrading mkinitcpio [####################################################################################] 100%
warning: /etc/mkinitcpio.conf installed as /etc/mkinitcpio.conf.pacnew
New optional dependencies for mkinitcpio
xz: Use lzma compression for the initramfs image
[root@localhost /]# mv /etc/mkinitcpio.conf.pacnew /etc/mkinitcpio.conf
[root@localhost /]# mkinitcpio -p kernel26
==> Building image "default"
==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [autodetect]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26.img'...SUCCESS
==> SUCCESS
==> Building image "fallback"
==> Running command: /sbin/mkinitcpio -k 2.6.38-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect
:: Begin build
:: Parsing hook [base]
:: Parsing hook [udev]
:: Parsing hook [pata]
:: Parsing hook [scsi]
:: Parsing hook [sata]
:: Parsing hook [filesystems]
:: Generating module dependencies
:: Generating image '/boot/kernel26-fallback.img'...SUCCESS
==> SUCCESS
[root@localhost /]#
Last edited by infested999 (2011-04-10 18:03:25)
Offline