LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot Linux iso from thumb drive (https://www.linuxquestions.org/questions/linux-newbie-8/boot-linux-iso-from-thumb-drive-355366/)

gerry7995 08-20-2005 10:48 PM

Boot Linux iso from thumb drive
 
I have a laptop with no floppy drive or cd rom built in. It will boot from a usb thumb drive. Is it possible to copy an iso like Knoppix or Phlak directly to a 1 gig thumb drive and have it load the same as when you boot from a cd rom? I am looking for a way to load linux like it does when you insert a cd rom with the knoppix iso on it. I am not looking for a method to run linux on the thumb drive.

fenderman11111 08-21-2005 12:29 AM

there is a way that I found. here's how i did it, approximately.

1) you must write a master boot record to the first sector of your flash drive. this is the only way i could get mine to boot. This could be specific to my motherboard, however.

1.5) fdisk your flash drive and make a partition of type fat16.

1.6) run mkdosfs on the partition you just created.

now... i don't remember exactly how the next steps go. but:

2) you must use the syslinux utility to make your flashdrive bootable.

3) you must mount your .iso as a loopback device, like so :

# mount -t iso9660 -o loop file.iso /mnt/iso

4) go into the /mnt/iso direcory (or wherever you mounted your iso) and copy everything to your flashdrive. now let me think ...

5) go into the directory with the boot files in it. copy them to the root of your flash drive.

6) rename isolinux.cfg --> syslinux.cfg

and that should work. i'll be right back with a better link if you need more info.

---

here's a link for in case you're in windows.

http://edgefield.org.uk/guides/linux/index.php

---

here's for in case you're in *nix.

http://rz-obrian.rz.uni-karlsruhe.de/knoppix-usb/

---



-brandon

duffmckagan 08-21-2005 12:38 AM

Booting Linux off of a USB drive.

You may want to take a look at this.

gd2shoe 08-22-2005 09:15 AM

There is a distro called DSL (D?mn Small Linux) Which is designed to boot off of a mini CD. They also have a version that is designed to boot off of a USB drive. I have never used it, and haven't found all the details. It might be worth looking into.

duffmckagan 08-22-2005 10:21 AM

There are actually many Linices that work off a USB drive.
They are usually called Mini Distributions.

And Entire list of such distributions can be found HERE

gerry7995 08-28-2005 11:52 AM

Thanks fenderman11111

The link to edgefield.org.uk was exactly what I needed. I now have my IBM X40 laptop booting off of a Lexar 256mb jump drive using DSL (Damn Small Linux). I wanted to boot PHLAK off of the 1gig Intelligent Stick thumb drive that I have. But my laptop does not want to boot from this thumb drive. I have tried just installing DOS to the drive and it will not boot. I will try a different brand and see if I can get this to work with PHLAK.

The link to edgefield.org.uk has changed to http://syntheticcheese.co.uk/guides/linux/index.php


All times are GMT -5. The time now is 08:39 PM.