Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have /dev/sda2 mounted as /mnt. I am actually running my system from a volume mounted at /mnt/install (I've chrooted to /mnt/install).

I'd like to be able to use that disk from within my chrooted linux. How do I move /dev/sda2 from /mnt to /mnt/install/mnt/fast?

share|improve this question
    
I think you are going to be out of luck here. –  mdpc Dec 5 '12 at 18:01
    
I don't really understand what are you trying to do but: You have tried with sudo mount /dev/sda2 /mnt/install/mnt/fast ? The /install/mnt/fast folder must exist previously. –  Lucio Dec 5 '12 at 18:03
    
is your chrooted system inside sda2? –  Sam Dec 5 '12 at 18:06

1 Answer 1

Is your chrooted system inside /dev/sda2? if not, just create that folder and mount to it

Outside the chroot enviroment,

first, unmount the current folder

sudo umount /mnt/install

then, make the new mount point directory

sudo mkdir -p /mnt/install/mnt/fast

finally re-mount the partition to your new mountpoint

sudo mount /dev/sda2 /mnt/install/mnt/fast

now, you should be able to chroot and access files at /mnt/fast

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.