Re: Linux wont boot after Apex is replaced
Martin Michlmayr <tbm@cyrius.com> writes:
> In order to get into your existing system without reinstalling, you
> can start the installer and proceed to the partitioner, then go to the
> menu and do:
>
> mkdir -p /target
> mount /dev/sda2 /target
> mount /dev/sda1 /target/boot
> mount -t bind /dev /target/dev
> mount -t proc none /target/proc
> chroot /target /bin/sh
> # the prompt will change
> update-initramfs -u
> exit
> # the prompt will change again as you're leaving the chroot
> umount /target/proc
> umount /target/dev
> umount /target/boot
> umount /target
> reboot
Thanks, but I think it should be:
mount --bind /dev/ /target/dev
And in my case it has to be:
mount /dev/md0 /target
I have everything on /dev/md0. And that seems to be a problem:
sh-3.2# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.26-2-ixp4xx
mkinitramfs: missing sdb root md0 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug
update-initramfs: failed for /boot/initrd.img-2.6.26-2-ixp4xx
--
Steinar
Reply to: