Jump to content

Photo

Installation, lost at "chroot"

installation error chroot

Best Answer angus71 , 09 September 2016 - 10:14 AM

Hi cardinal!

Thank you again for your suggestion! It worked flawlessly!

Now the system is set up and rebooted. Next step will be - when i will be able to

spare time again - to install and setup xorg. Maybe you will find there a new post from me.... :P

Greetings

Go to the full post »


5 replies to this topic

#1
angus71

angus71

    Member

  • Members
  • PipPip
  • 10 posts

Hi there!

I'm new to funtoo - to linux too to be honest... :-)

I tried an installation according to the section "install" at the website.

Everything worked until i came to the headline "chroot into Funtoo"; actualy in this part it's NOT

mentioned how to chroot in the new system EXACTLY.

I tried several approachses like "chroot /dev/sdc" because there would be my root directory, according

to the previous steps.. But it doesn't work a bit. I searched the net but found nothing that helped me.

Any suggestions?

Thanks for your help

angus71


  • kitapenas likes this

#2
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 219 posts
Following the install instructions to the letter.
Your target install partition /dev/sdc should be mounted to the working directory which is /mnt/funtoo
The period . after chroot is a shortcut for the working directory.
# env -i HOME=/root TERM=$TERM chroot . bash -l
Find your working directory with print working directory command:
pwd
If pwd outputs /mnt/funtoo then:
# env -i HOME=/root TERM=$TERM chroot . bash -l
is the same as
# env -i HOME=/root TERM=$TERM chroot /mnt/funtoo bash -l

  • angus71 likes this

#3
angus71

angus71

    Member

  • Members
  • PipPip
  • 10 posts

Hi cardinal!

thank you, I missed the meaning of "." !!

I will try and let you know the result. :)


  • cardinal likes this

#4
angus71

angus71

    Member

  • Members
  • PipPip
  • 10 posts
✓  Best Answer

Hi cardinal!

Thank you again for your suggestion! It worked flawlessly!

Now the system is set up and rebooted. Next step will be - when i will be able to

spare time again - to install and setup xorg. Maybe you will find there a new post from me.... :P

Greetings


  • cardinal likes this

#5
pablocooler

pablocooler

    Newbie

  • Members
  • Pip
  • 1 posts

I tried  install Funtoo according tutorial from official website  http://www.funtoo.org/Install

and this tutorial : 

and everything went very well , ... until chrooting 

i got answer : ... can not run ... bin bash, .. any error  ... ( ? )

and even appear change (before #) on (chroot) but later i couldn't do nothing

I also tried  apply above advanced commands ( # env ...  ... bash -1 )

and without succes too :-( 

I can join screens


  • angus71 likes this

#6
hjozwiak

hjozwiak

    Newbie

  • Members
  • Pip
  • 9 posts
  • LocationFairfax, VA

What I did for my chroot is more in line with the Gentoo style.

mount -t proc /proc /mnt/funtoo/proc

mount --rbind /dev /mnt/funtoo/dev

mount --make-rslave /mnt/funtoo/dev

mount --rbind /sys /mnt/funtoo/sys

mount --make-rslave /mnt/funtoo/sys

chroot /mnt/funtoo /bin/bash

This works fine for me; doing it in accordance with the docs didn't maintain my network connection for some reason. Maybe this is a bad way to chroot, but I hope this helps someone.


  • angus71 likes this



Reply to this topic



  



Also tagged with one or more of these keywords: installation, error, chroot

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users