You are not logged in.

#1 2009-07-18 13:20:14

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

how to rescue install with a live arch cd with console & internet only

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 sad

Offline

#2 2009-07-18 13:32:56

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: how to rescue install with a live arch cd with console & internet only

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

#3 2009-07-18 13:46:48

Coume
Member
From: UK
Registered: 2008-02-10
Posts: 78
Website

Re: how to rescue install with a live arch cd with console & internet only

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

#4 2009-07-18 14:30:23

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: how to rescue install with a live arch cd with console & internet only

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

Board footer

Powered by FluxBB