[PLUG] Mounting RAID partition with live CD

John Jason Jordan johnxj at comcast.net
Mon Apr 30 04:01:22 UTC 2007


On Sun, 29 Apr 2007 19:42:23 -0700
"Quentin Hartman" <qhartman at gmail.com> dijo:

> 1- Boot an Ubuntu Live CD
> 2- Get your root partition mounted somewhere (say, /mnt/my_root)
> 3- mount your boot partition in the appropriate place (say,
> /mnt/my_root/boot)
> 4- mount /proc and /dev in an appropriate place ("mount -o bind /dev
> /mnt/my_root/dev" and "mount proc proc /mnt/my_root/proc")
> 5- change root (chroot) into your installation ( "chroot /mnt/my_root
> /bin/bash")
> 6- issue the command that updates the initramfs ("sudo update-initramfs")
> 7- hit ctrl-d to get out the chroot environment and then unmount and reboot
> the system.
> 8- Get a tasty beverage and enjoy your freshly fixed system.

I couldn't quite get it to work, but not because of the commands. 

I started with a Feisty live CD. Turns out Ubuntu left out the mount
command from the live CD. On to the next distro.

Tried Aaron's rescue CD (sort of stripped down Gentoo, command line
only). It mounted md1 and /proc and /dev OK, but I couldn't chroot to
md1. I don't understand enough about shells to have any idea if what I
am saying now is correct, but the error message was "no such directory
as zsh." I think the CD is expecting a different shell than Ubuntu
uses. Or something. This may be fixable if I knew more about shells.

Next I tried Knoppix 5.1. It had a mount command, but it couldn't find
md1.

Ditto for Gentoo.

I'm out of live CD distros to try. :(

I'll go check out Gentoo documentation to see if something useful pops
up.



More information about the PLUG mailing list