Hi,
I know this is a newbie question and most likely can be found in the
archives/googling but I've spent >30 min looking for it to no avail.
I'm still trying to get gentoo up and running and in the meantime, I'm
doing it chroot'ed style in FC2.
chroot /mnt/gentoo /bin/bash
The problem here is that I can't do it as a normal user.
I do
$ sudo mount /dev/hda9 /mnt/gentoo
and then
su -
(root password)
# chroot /mnt/gentoo /bin/bash
I know I can mount it in such a way that normal users can access it. But
the way I'm doing it, I need to have root access. If I type
$ chroot /dev/hda9 /mnt/gentoo
as normal user, I get a permission denied.
I've tried
sudo mount -o users,uid=500 /dev/hda9 /mnt/gentoo
But that doesn't work either.
What about the --bind option? Not sure if that will work or how to use
it.
Thanks.
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 10:29:19 up 1:08, 5 users, load average: 0.47, 0.53, 0.71
--
gentoo-user@gentoo.org mailing list
I know this is a newbie question and most likely can be found in the
archives/googling but I've spent >30 min looking for it to no avail.
I'm still trying to get gentoo up and running and in the meantime, I'm
doing it chroot'ed style in FC2.
chroot /mnt/gentoo /bin/bash
The problem here is that I can't do it as a normal user.
I do
$ sudo mount /dev/hda9 /mnt/gentoo
and then
su -
(root password)
# chroot /mnt/gentoo /bin/bash
I know I can mount it in such a way that normal users can access it. But
the way I'm doing it, I need to have root access. If I type
$ chroot /dev/hda9 /mnt/gentoo
as normal user, I get a permission denied.
I've tried
sudo mount -o users,uid=500 /dev/hda9 /mnt/gentoo
But that doesn't work either.
What about the --bind option? Not sure if that will work or how to use
it.
Thanks.
--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 10:29:19 up 1:08, 5 users, load average: 0.47, 0.53, 0.71
--
gentoo-user@gentoo.org mailing list