Step 5: Install Ubuntu to the Flash Drive
1. Insert flash drive.
2. Open Terminal.
3. Type "apt-get update".
4. Go to Ubuntu Packages and download Mtools and install. Afterward, download Syslinux and install.
5. In terminal, type "syslinux -sf /dev/sdb1".
6. Type "cd /cdrom"
7. Type "cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/Ubuntu/".
- Ignore any "cannot create symbolic link" errors.
9. Edit "syslinux.cfg" so that it looks like the attached text file.
Finally... You are done!
Remove these ads by
Signing Up








































Visit Our Store »
Go Pro Today »




I am installing from a Netbook already with Ubuntu on it. So no CD-Drive.
Using a downloaded Ubuntu.iso (10 LTS), and had this "can not stat" = didn't find original files to copy.
I figured out: Mount and uncompress files, then drag the folder into the terminal to have the path (like user/home/desktop/folder) to put before cd.
If this ain't right, please correct me.
Question: didn't find «disctree», «ubuntu.ico» and «casper/initrd.gz», not in the folder. Last needed for boot. What can I do? best greetings, thnx
I am installing from a Netbook already with Ubuntu on it. So no CD-Drive.
Using a downloaded Ubuntu.iso (10 LTS), and had this "can not stat" = didn't find original files to copy.
I figured out: Mount and uncompress files, then drag the folder into the terminal to have the path (like user/home/desktop/folder) to put before cd.
If this ain't right, please correct me.
Question: didn't find «disctree», «ubuntu.ico» and «casper/initrd.gz», not in the folder. Last needed for boot. What can I do? best greetings, thnx
"cp -rf casper disctree dists install pics pool preseed .disk isolinux/* md5sum.txt README.diskdefines ubuntu.ico casper/vmlinuz casper/initrd.gz /media/Ubuntu/"
I get the following error:
cp: target `/media/Ubuntu/' is not a directory
Any Suggestions? Thanks!
syslinux: invalid option -- 's'
syslinux: Unknown option: -s
And also in step #7, where it shows
cp: target `/media/Ubuntu/' is not a directory
What should I do with these?
Thanks.
So I did it and now there are a bunch of files on my drive. I edited isolinux.cfg (by the way, the original was like five lines long and looked nothing like the new version) and booted into OSX to change the boot order. However, my flash drive doesn't show up in the available disks for startup.
If it helps, I'm doing this in system preferences --> startup disk and am dual booting ubuntu and OSX. I followed all the steps in ubuntu, of course.