1

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.

0

2 Answers 2

2

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/

2

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.

Not the answer you're looking for? Browse other questions tagged .