Académique Documents
Professionnel Documents
Culture Documents
com
http://www.groovypost.com/howto/howto/really-run-linux-from-a-memory-card/
An error(1) occurred while executing syslinux. Your USB drive wont be bootable.
Step 1
Connect your USB drive or flash card and launch Windows Explorer.
Step 2
Right-click your drives icon and choose Format
Step 3
Under file system, choose FAT32. Check Quick Format and then Click Start. Windows will warn you that itll erase all the contents on the drive. Make sure that you have the right drive selected and confirm. Youre done!
Step 1
Download the Universal USB Installer via PenDriveLinux.com.
Step 2
Navigate to your download folder and run Universal-USB-Installer-1.8.4.5.exe . (For good measure, you might want to run it as an Administrator, though this shouldnt be necessary.)
Step 3
Read the License Agreement and Click I Agree .
Step 4
From the first drop-down menu, choose the exact distribution of Linux that you downloaded. If you got the latest version of Ubuntu, it should be Ubuntu 11.04. Next, Browse for the .iso file that you downloaded.
TIP: If you download the .iso to the same folder as the Universal USB Installer, it will automatically detect its location.
Step 5
From the next drop-down menu, choose the drive letter of the USB drive or flash card that you formatted above.
Step 6
Lastly, theres a slider bar at the bottom that lets you designate some space for persistent storage . If your USB drive is big enough, I highly recommend this. Normally, a Live USB like the one we are creating would be static. That is, any programs you installed, documents you created or settings you tweaked would be undone each time you rebooted. But by setting a persistent file size on our USB drive, we are setting aside space to save these changes.
Step 7
Click Create .
Sit back and relax and wait for the Universal USB Installer to do its thing. Note: If you chose a Persistent file size, then there will be a point in the installation when it appears to hang. Dont fretthis is normal. It could take 10+ minutes, so just be patient. The installer will let you know when the installation
is complete. Once it is, you are free to Click Close . Note: In this screenshot, I am installing a different distro of LinuxDSL 4.4. but the successful installation screen will look the same regardless of which distro you are setting up. Now, your Live USB is ready-to-go.
Step 1
Insert your Linux Live USB or flash card. In my case, Im inserting an SD card into my laptops card reader.
Step 2
Reboot your computer.
Step 3
Begin pressing the key to enter setup as soon as the computer begins booting up. Press it repeatedly if you have to. For me, Im pressing F2 as soon as I see the ASUS logo.
If all goes well, youll find yourself in the BIOS setup utility. Your BIOS setup screen may look different from mine, but no matter what computer you have, itll be ugly.
Step 4
Look for an option thats something along the lines of Boot or Startup Disks or Boot Devices." If you dont see anything like that, look for a menu that has an option thats similar to Boot Device Priority.
Step 5
In the Boot Device Priority settings, make the device that your Live USB or flash card is connected to the first priority.
Step 6
Save Your Changes and Exit. Theres usually a hotkey for this. For me, its F10. Step 7 All done. Youll only have to do these steps once. After this, your computer will automatically boot from
your USB device whenever its plugged in. When its not, then Windows will load.
Step 1
Insert your LiveUSB and boot your computer.
Step 2
When the Ubuntu Installer Boot Menu appears, choose the first option: Run Ubuntu from this USB.
Step 3
Ubuntu will boot into a Live session. From here, you should be able to use Ubuntu like normal. However, any files you create or change wont be saved for the next time you boot. Youll need to create a new user in Ubuntu in order for your changes to be saved. To do this, Click System > Administration > Users and Groups.
Step 4
Click Add .
Step 5
Give yourself a username and Click OK.
Step 6
Give yourself a good password and Click OK.
Step 7
Select the user you just created and Click Advanced Settings. This is important. Otherwise, your user wont be able to install new software or access the Internet.
Step 8
Under the User Privileges tab, go ahead and Check everything. Click OK. Note: If you dont do this, when you try to install new programs or do other administrator-only tasks, itll ask you for a password for "Ubuntu over and over and fail to authenticate.
Step 9
Click the Power Button icon in the top-right and choose Switch from Ubuntu FYI Ubuntu is the name of your live session user. I know, its kind of confusing.
Step 10
Choose the user you just created. Youll be logged into a new desktop. Now, you can go about your business, adding programs, changing settings and creating documents and theyll all be there when you come back. Note: I cant really explain why some users have to add a new user in order to get an Ubuntu Live USB to stay persistent. The first time I tried it, it didnt work it allI made changes to the live session user and when I rebooted, poof, they were gone. I then added a new user and the changes were saved for that user. But then, when I re-did this entire process for the tutorial, I noticed that items I was saving to the desktop for the live user stayed persistent after I added
another user. I know this isnt a very expert sounding piece of advice, but if you encounter any quirks along the process, I recommend trying again from the beginning. That means re-downloading all the ISOs and programs, re-formatting your flash drive, etc. Sometimes things get funny with the download or the install that are unexplainable. The only difference I can think of that may have had an effect on my success is that the second time I attempted a persistent install, I used a small persistent set-aside of 1 GB. The first time, when it didnt work as well, I had a persistent file size of 2 GB. If you give this tutorial a shot, Id love to hear how things turned out for you.
Conclusion
I call this method of installing Ubuntu the best of both worldswith portability! Youre not fudging around with your main system disk, but you also dont have to virtualize anything, meaning that this solution is 100% suitable for lower-powered machines (like my netbook ). But best of all, because the installation is persistent, I can pop out my SD card, slip it into my pocket and then load it up on another computer and boot it from there with all of my stuff already there. This is actually what savvy tech support crews and data recovery specialists do. They just load up their toolkit and operating system onto a thumb drive and fire it up on the clients machine, even if its not bootable due to a virus attack, hard drive failure, etc. Im sure you can think of plenty of other groovy uses for a complete portable OS, though. Now go out and enjoy Ubuntuor whichever Linux distro you chose! Tux logo used in featured image by Larry Ewing.