You are not logged in.

#1 2011-04-10 15:57:09

infested999
Member
Registered: 2010-10-02
Posts: 48

System no longer boots after hard-reboot.

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

#2 2011-04-10 16:29:13

disraptor
Member
Registered: 2011-04-10
Posts: 5

Re: System no longer boots after hard-reboot.

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

#3 2011-04-10 16:45:36

infested999
Member
Registered: 2010-10-02
Posts: 48

Re: System no longer boots after hard-reboot.

disraptor wrote:

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

#4 2011-04-10 16:56:56

disraptor
Member
Registered: 2011-04-10
Posts: 5

Re: System no longer boots after hard-reboot.

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

#5 2011-04-10 17:25:31

infested999
Member
Registered: 2010-10-02
Posts: 48

Re: System no longer boots after hard-reboot.

disraptor wrote:

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

#6 2011-04-10 17:33:09

disraptor
Member
Registered: 2011-04-10
Posts: 5

Re: System no longer boots after hard-reboot.

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

#7 2011-04-10 17:44:06

infested999
Member
Registered: 2010-10-02
Posts: 48

Re: System no longer boots after hard-reboot.

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

Board footer

Powered by FluxBB