Monday, February 8, 2010

Server goes boom?

My linode was involved in some kind of horrific serverroom accident which left it in a pretty funky state once they got the surviving disks into a working box. Luckily linode has its own recovery live image called "finnix", pretty spiffy. Boot with that, chroot into gentoo, and see if i can bring it back from the dead...

Since I keep forgetting the sequence,
im just gonna leave this here:

# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# export PS1="(chroot) $PS1"
(chroot) #

0 comments:

Post a Comment