Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[gentoo-user] Howto Mount gentoo's "/" under FC2 for Norma..

 
   Soft32 Home -> Linux -> User RSS
Next:  [gentoo-user] nvidia 6111, xorg 6.8 and 2.6.8 ker..  
Author Message
Ow Mun Heng

External


Since: Oct 01, 2004
Posts: 672



(Msg. 1) Posted: Wed Oct 06, 2004 11:40 pm
Post subject: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access?
Archived from groups: linux>gentoo>user (more info?)

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 RemoveThis @gentoo.org mailing list
Back to top
Login to vote
Andrew Gaffney

External


Since: Dec 26, 2003
Posts: 185



(Msg. 2) Posted: Thu Oct 07, 2004 12:20 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ow Mun Heng wrote:
> 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.

Why exactly do you need to do it as a normal user? Most of the stuff you do
during a Gentoo install requires root access.

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548


--
gentoo-user DeleteThis @gentoo.org mailing list
Back to top
Login to vote
Ow Mun Heng

External


Since: Oct 01, 2004
Posts: 672



(Msg. 3) Posted: Thu Oct 07, 2004 1:00 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 2004-10-07 at 11:15, Andrew Gaffney wrote:
> Ow Mun Heng wrote:
> > 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.
>
> Why exactly do you need to do it as a normal user? Most of the stuff you do
> during a Gentoo install requires root access.

Well.. What I want to do is say.. I have root access to the gentoo box
being set-up, but I don't have root access to the FC2 box.

Say I want to export via NFS my soon to be gentoo box to a 16 way
(hypothetically) 5GHz Linux Cluster and use it's processing power to
compile stuffs. I can mount Filesystems but I don't have the box's root
password.

How do I go about it then??

--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 11:56:27 up 2:35, 5 users, load average: 0.81, 0.32, 0.22

--
gentoo-user RemoveThis @gentoo.org mailing list
Back to top
Login to vote
Elfyn McBratney

External


Since: Sep 22, 2004
Posts: 4



(Msg. 4) Posted: Thu Oct 07, 2004 5:00 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thursday 07 Oct 2004 04:58, Ow Mun Heng wrote:
> On Thu, 2004-10-07 at 11:15, Andrew Gaffney wrote:
> > Ow Mun Heng wrote:
> > > 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.
> >
> > Why exactly do you need to do it as a normal user? Most of the stuff you
> > do during a Gentoo install requires root access.
>
> Well.. What I want to do is say.. I have root access to the gentoo box
> being set-up, but I don't have root access to the FC2 box.
>
> Say I want to export via NFS my soon to be gentoo box to a 16 way
> (hypothetically) 5GHz Linux Cluster and use it's processing power to
> compile stuffs. I can mount Filesystems but I don't have the box's root
> password.
>
> How do I go about it then??

chroot(2) requires root, so.. you'll need root on any box you build a stage
on.

Elfyn

--
Elfyn McBratney
beu on irc.freenode.net/savannah.[non]gnu.org

PGP Key ID: 0x456548B4
PGP Key Fingerprint:
29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4

--
gentoo-user.TakeThisOut@gentoo.org mailing list
Back to top
Login to vote
Jeffrey Wong

External


Since: Jul 25, 2004
Posts: 61



(Msg. 5) Posted: Thu Oct 07, 2004 4:50 pm
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you can get the sysadmins on the Cluster to install distcc you can
"steal" cycles from the cluster to compile stuff for your gentoo box.
There are a few things that your gentoo box will have to compile for
itself, but everything else should work well.


On Thu, 7 Oct 2004 08:56:16 +0100, Elfyn McBratney <beu.TakeThisOut@gnu.org> wrote:
> On Thursday 07 Oct 2004 04:58, Ow Mun Heng wrote:
> > On Thu, 2004-10-07 at 11:15, Andrew Gaffney wrote:
> > > Ow Mun Heng wrote:
> > > > 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.
> > >
> > > Why exactly do you need to do it as a normal user? Most of the stuff you
> > > do during a Gentoo install requires root access.
> >
> > Well.. What I want to do is say.. I have root access to the gentoo box
> > being set-up, but I don't have root access to the FC2 box.
> >
> > Say I want to export via NFS my soon to be gentoo box to a 16 way
> > (hypothetically) 5GHz Linux Cluster and use it's processing power to
> > compile stuffs. I can mount Filesystems but I don't have the box's root
> > password.
> >
> > How do I go about it then??
>
> chroot(2) requires root, so.. you'll need root on any box you build a stage
> on.
>
> Elfyn
>
> --
> Elfyn McBratney
> beu on irc.freenode.net/savannah.[non]gnu.org
>
> PGP Key ID: 0x456548B4
> PGP Key Fingerprint:
> 29D5 91BB 8748 7CC9 650F 31FE 6888 0C2A 4565 48B4
>
>
>
> --
> gentoo-user.TakeThisOut@gentoo.org mailing list
>
>

--
gentoo-user.TakeThisOut@gentoo.org mailing list
Back to top
Login to vote
Ow Mun Heng

External


Since: Oct 01, 2004
Posts: 672



(Msg. 6) Posted: Mon Oct 11, 2004 5:50 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 2004-10-08 at 03:43, Jeffrey Wong wrote:
> If you can get the sysadmins on the Cluster to install distcc you can
> "steal" cycles from the cluster to compile stuff for your gentoo box.
> There are a few things that your gentoo box will have to compile for
> itself, but everything else should work well.

Okay.. So root access is needed any-which way.. Drats.

Okay.. Thanks

--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 10:21:44 up 1:05, 8 users, load average: 0.54, 0.88, 1.03

--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 16:48:44 up 25 min, 4 users, load average: 0.58, 1.26, 1.22

--
gentoo-user.RemoveThis@gentoo.org mailing list
Back to top
Login to vote
Ow Mun Heng

External


Since: Oct 01, 2004
Posts: 672



(Msg. 7) Posted: Mon Oct 11, 2004 5:50 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 2004-10-08 at 03:43, Jeffrey Wong wrote:
> If you can get the sysadmins on the Cluster to install distcc you can
> "steal" cycles from the cluster to compile stuff for your gentoo box.
> There are a few things that your gentoo box will have to compile for
> itself, but everything else should work well.

Okay.. So root access is needed any-which way.. Drats.

Okay.. Thanks

--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 10:21:44 up 1:05, 8 users, load average: 0.54, 0.88, 1.03

--
gentoo-user.DeleteThis@gentoo.org mailing list
Back to top
Login to vote
Ow Mun Heng

External


Since: Oct 01, 2004
Posts: 672



(Msg. 8) Posted: Mon Oct 11, 2004 5:50 am
Post subject: Re: [gentoo-user] Howto Mount gentoo's "/" under FC2 for Normal User access? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Fri, 2004-10-08 at 03:43, Jeffrey Wong wrote:
> If you can get the sysadmins on the Cluster to install distcc you can
> "steal" cycles from the cluster to compile stuff for your gentoo box.
> There are a few things that your gentoo box will have to compile for
> itself, but everything else should work well.

Okay.. So root access is needed any-which way.. Drats.

Okay.. Thanks

--
Ow Mun Heng
Fedora GNU/Linux Core 2 on D600 1.4Ghz CPU kernel
2.6.7-2.jul1-interactive
Neuromancer 10:21:44 up 1:05, 8 users, load average: 0.54, 0.88, 1.03

--
gentoo-user RemoveThis @gentoo.org mailing list
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[gentoo-user] LONG - Gentoo Installing USB Scanner Kernel .. - Due to lack decent installation instruction I would like to write a shot but complete howto on installing USB scanner i...

[gentoo-user] Howto Encrypt a USB-key [gentoo-windows] - Hi there, now I'm working on some projects and I store all files in a usb key. I have the necessity of encrypt the..

[gentoo-user] USB Scanner any good Gentoo Howto? - I'm trying to install usb epson scanner and I can not find any good Gentoo howto. All information is scattered allover....

[gentoo-user] Howto install WinXP based on Gentoo? - In my machine, i have Gentoo which was installed on the MBR as the primary OS.And i am planning to install another..

[gentoo-user] Howto setup tunnel in gentoo scripts - Hi everybody, to establish gre tunnel, these commands have to be run: (e.g. from local.start) # ip tunnel add vpn0..

[gentoo-user] Gentoo Bugzilla HOWTO (your input please) - To Gentoo Developers and Users: I'm cross-posting this request to both gentoo-user and gentoo-dev to gain the widest..
       Soft32 Home -> Linux -> User All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]