Re: Chroot problem

mr_L4N <[email protected]>
Newsgroups gmane.linux.gentoo.amd64
Message-ID <CAFcTAPotuGfjowtPJz7Vwko0-0N6stcXHODzWEs3YBekXcUy_w@mail.gmail.com>
Probably it's better to read questions before give an answer.

I can't mount the gentoo partition; when i try i see "mount: can't find
/dev/sdc3 in /etc/fstab"

Il venerdì 8 agosto 2014, Drake Donahue <[email protected]> ha scritto:

> 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
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.