On Fri, 2014-08-08 at 17:39 +0200, mr_L4N wrote:
> For a kernel problem i can't boot my system, then i would like to
> chroot for repair.
> 
> I use 6 HD with systemd and grub2; when i try to mount my root partition
> "can't find /dev/sdc3 in /etc/fstab".
> 
> With fdisk -l i see it and with live DVD i can mount it and enter in.


boot livecd/usb to a network connection, mount the gentoo partitions,
enter the chroot, nominally:
mount /dev/sdc3 /mnt/gentoo
mount /dev/sdc1 /mnt/gentoo/boot
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash

source /etc/profile
export PS1="(chroot) $PS1"

when done working in the chroot, make a graceful exit:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,sys,}
reboot


Reply via email to