Jump to content
Sign in to follow this  
mdg

Chroot problem

Recommended Posts

I used chroot on a different partition some time ago (details are hazy), and since then I've had a few problems.

 

My Mdk partition is hdb1 and I have a slackware partition on hdb8. Whenever I use locate to find a file in Mdk, it searches the slack partition too.

 

Also, I had a xauthority error in Mdk, where I lost write ability to my homedir, so I rebooted to slack to research the problem on the net and found the same error there too.

 

The two partitions seem to be bound together. How can I separate them?

 

fstab for reference

/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdb5 /home ext3 defaults 1 2
/dev/hda5 /mnt/92home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdd,fs=auto,--,user,defaults 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,umask=0,user,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hdb4 /mnt/mepishome ext3 defaults 1 2
/dev/hdb3 /mnt/mepisroot ext3 defaults 1 2
/dev/hdb9 /mnt/slackhome reiserfs defaults 1 2
/dev/hdb8 /mnt/slackroot reiserfs defaults 1 2
/dev/hdb10 /mnt/slacktest reiserfs defaults 1 2
/dev/hda1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hdb6 /usr ext3 defaults 1 2
/dev/hdb7 swap swap defaults 0 0

 

[moved from Software by spinynorman]

Share this post


Link to post
Share on other sites
My Mdk partition is hdb1 and I have a slackware partition on hdb8. Whenever I use locate to find a file in Mdk, it searches the slack partition too.

 

Just try to answer this section. Try to run "updatedb" with root privileges, of course, but just before that unmount the slack partition. And in my experience this will prevent the updatedb to index the unmounted partition. After that you can mount the slack partition just like usual.

Share this post


Link to post
Share on other sites
Try to run "updatedb" with root privileges, of course, but just before that unmount the slack partition.

OK, that took care of the "locate" mixup.Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...