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.

Possible Duplicate:
How do I install Ubuntu to a USB key?

I boot ubuntu from my usb. The vim package vanishes automatically every time I reboot the system. Is it because I am using a usb to boot ubuntu? Suggest me a way to install the vim package permanently on my usb.

share|improve this question
add comment

marked as duplicate by Jorge Castro, jrg Apr 5 '12 at 20:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

Try this link to set up a persistent usb so that it saves your settings and changes.

http://www.howtogeek.com/howto/14912/create-a-persistent-bootable-ubuntu-usb-flash-drive/

share|improve this answer
add comment

I'm no expert, but it sounds like your USB has a liveCd install (i.e. not persistent). This would mean that most (perhaps all) changes you make will not persist between reboots. I never had much luck with persistent USB installations either.

You could try adding

apt-get install vim

to the end of the file ~/.bashrc

I'm not sure that will work though unless your installation logs in automatically as root.

share|improve this answer
add comment

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