[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: install 2nd HD G5

You're right that I don't need to do the source thing.  I do have a
question about "chroot /mnt/ur.sdb3.mnt.pt /usr/sbin/ybin" however. 
By doing this command, will ybin now access the modified yaboot.conf
in sdb3?  What is it that chroot is doing in this command?  I realize
this is a basic question, but I'm kind of fuzzy on what the function
of chroot is.


On 6/4/05, Jeff Green <greenjb@unk.edu> wrote:
> Wesley writes:
> > Ok, after I mounted /dev/sdb3 I did:
> >
> > chroot /mnt/ubuntu /bin/bash
> > source /etc/profile
> >
> > Is this what you mean by chroot with ybin?  When you say ybin will
> > take the yaboot.conf in the /etc of ubuntu are you referring to the
> > yaboot.conf created by the live CD and not the one in /mnt/ubuntu
> > where I mounted /dev/sdb3?
> >
> > thanks,
> > wes
> Yes, but I'm not sure why you're doing the source. Do you need a
> particular environment? (Also...I'm a ksh person...I thought that bash
> used the sysV conventions, e.g. ". /etc/profile") Anyway, you can also
> do it directly, e.g. "chroot /mnt/ur.sdb3.mnt.pt /usr/sbin/ybin".
> jeff

Reply to: