You are not logged in.
Pages: 1
Topic closed
hello,
While doing a pacman -Syu i had a power cut in my flat and now, the laptop won't boot anymore! The only thing i have with me is a i686 arch live cd giving me terminal access and Internet but not graphical mode...
How can i chroot to my hdd x86_64 to restart the pacman -Syu to fix my laptop so it can boot again????
Or is there another way to repair the messed up install?
Thanks in advance
Ludo, posting from his phone ![]()
Offline
fsck /dev/your\ drive
mount /dev/your\ drive /mnt/somewhere
mount /dev /mnt/somewhere/dev -o bind
mount /proc /mnt/somewhere/proc -o bind
mount /sys /mnt/somewhere/sys -o bind
[... connect to the internet by your preffered method ...]
cp /etc/resolv.conf /mnt/somewhere/etc
chroot /mnt/somewhere
cat /proc/mounts | grep -v rootfs > /etc/mtab
[... and setup grub and check your system ...]They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.
Offline
thanks.
When i chroot /mnt/sda2 i get the following error:
Chroot: cannot run command '/bin/bash': Exec format error
Could that come from the fact that my livecd is i686 when my hdd runs x86_64?
Thanks for helping!
Offline
Why two topics for essentially the same problem?
Concentrate your (and our) efforts on the first topic.
http://bbs.archlinux.org/viewtopic.php?id=76240
I'm locking this one.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1
Topic closed