![]() |
Welcome to the Knoppix Linux ForumsYou are not logged in. Our forum provides a great place to discuss the Knoppix Linux Live CD, as well as other topics such as data recovery using the Knoppix CD or DVD, and general Linux support. You need to be logged in to post on this forum. If you are not a member you can register by clicking the Register link above. We hope you enjoy your stay! |
| ||||||||||||||||||||||
|
Great, I'm certainly looking forward to it. I tried this before with 3.4 and failed, and then got sidetracked with my own vacation.
jd |
||||||||||||
|
|
|||||||||||||
|
I'm all ears. (Almost bought one of those Sandisk Mini Cruzers today.)
|
||||||||||||
|
|
|||||||||||||
| Booting Knoppix 3.6 from USB quick overview |
|
Well it's late and I wish I could do this in more detail, but this is the best
I can do for now. I also want to give credit to the other people who've done this with previous versions because it was their info that helped me come up with my method. This is just a draft, and with any version of Unix, there are always many ways of reaching the same results. ================================= First, partition your flash drive with fdisk and set the partition type to "6". Next format it with "mkfs vfat" Now mount your flash drive and copy the contents of your remastered version of knoppix from your CD or ISO file so that will fit in the capacity of your USB flash drive. "cd" to the /boot/isolinux directory and "mv" everything up to the root of your flash drive and remove the whole "boot" directory. "mv" the ISOlinux.bin and ISOlinux.cfg files to SYSlinux.bin and SYSlinux.cfg. (The 1st 3 letters are only capitalized for clarification). Now this part I'm not certain about and need to verify what I did, but I may have modified the "linuxrc" files in both the "minirt24.gz" and "minirt26.gz" files. The linuxrc file is slightly different than described in the link in my previous message, but I don't have time to verify any changes I *might* have made. Try them the way they are, they may work unmodified. "umount" your flash drive. Next you need to run SYSLINUX on your flash drive, *BUT* NOT the one that is on the Knoppix 3.6 disto, you'll either need to update it OR download a Windows/DOS version from: http://www.kernel.org/pub/linux/utils/boot/syslinux/ and get version "syslinux-2.11.zip" for windows You'll of course need to boot up windows to run the program. This needs to be the last step I believe, because *I Think* it writes the bootsector based on info from syslinux.cfg (I'm not sure). The syntax would be "syslinux x:" where "x:" is the drive letter windows sees your flash drive as. I've had to change the 1st boot device in the BIOS to "USB ZIP", it may be different for you. I've only been able to test this so far on an VIA Epia Mii 10000. A couple of times I've gotten to the point where the penguin shows up in the top left (This is just before the "linuxrc" begins executing), and got a "kernel panic" because it's unable to mount the root filesystem and the system halted. I've rebooted and tried again and things started right up. I've also tried just typing "knoppix 5" at the boot prompt (which is default anyway) and that seemed to give it whatever delay or encouragement to work also. I hope this will be enough of a guide to help some of you continue and maybe iron things out a little more by the time I return. At that point I'll be happy to write a How To with explicit detail and directions and add any improvements any of you may have. Mike |
||||||||||||
|
|
|||||||||||||
|
I'm in a little bit of a rush right now, but I hope also post a message with the boot process and messages you should see at each stage.
jbreiden, you're right, I don't think FAT32 vs FAT16 should matter, but ... I sounds to me since you've been able to boot DSL off your stick, that you're not even getting SYSLINUX to go yet. Are you getting any msgs to indicate the boot process from your stick has started? You should be able to (I think) to take a freshly formatted stick and run syslinux against it, attempt to boot and see the "Syslinux 2.11..." message. If you can get that, you're headed in the right direction.... Try FAT16 (type 6 in fdisk), just for kicks. I don't expect to have net access while I'm gone, but if I do, I'll check back. Mike |
||||||||||||
|
|
|||||||||||||
| must be the USB drive |
|
You are right, it doesn't even get to syslinux at boot. The problem seems tied to this thumb drive, since others work. Maybe my motherboard can't boot from USB2 devices, only USB1 (I should look into whether there is a BIOS upgrade). Or maybe there is something special about the 1GB PQI iStick or how it lays out the tracks/cylinders or something. I tried filesystem type 6 (FAT16), I tried making the partition smaller (511MB), I tried syslinux 2.04 and 2.11, I tried giving the -s flag on syslinux /dev/sda1, and I tried marking the partition bootable and non-bootable. Nothing gets me to the isolinux prompt. Weird how the smaller USB 1.1 PQI stick works fine.
|
||||||||||||
|
|
|||||||||||||
| How to mount USB Stick? |
|
I have a Toshiba Sattelite 1805-S274 and I just bought a 128 MB Transcend Stick USB 2.0. Can anyone help me get it to work on Knoppix. [My Hard disk controller has crashed and I have to use Knoppix. And I have to save my work on this Stick. Real urgent.] I am supposed to mount it but what works, I don't know. I have alsready formatted it on a Win98 and have transferred some files on it. And they are visible under Windows 2000. Does anyone know how to get my Notebook modem to work under Knoppix.
Thanks |
||||||||||||
|
|
|||||||||||||
|
Assuming you're running Knoppix from the live CD: plug the USB key in and boot Knoppix. Knoppix will automatically show an icon for it on the desktop. From the context menu, you can mount it and change its read-only status to read/write. Assuming you're running a hard disk installation of Knoppix: plug in the USB key (it shouldn't matter whether it's before you boot or after KDE's up, since Knoppix uses "hotplug"). As root, in a console, type mkdir /mnt/sda1 mount /dev/sda1 /mnt/sda1 and you should be good to go. It should be mounted on /mnt/sda1. (Note: If you have more than one storage device connected, for example a USB key and a USB hard drive, they usually show up as /dev/sda1, /dev/sdb1, etc. in my experience.) |
||||||||||||||
|
|
|||||||||||||||
| failure |
|
I got excited when I saw a report on a Debian page about a successful boot VIA EPIA-M 10000 mainboard, BIOS Version 1.0F, 512 MB USB 2.0 stick. Flashed my BIOS to 1.0F and... no change. I think I'm going to give up. (I also tried the other tricks on that page: install-mbr and even putting the filesystem on /dev/sda instead of /dev/sda1)
http://d-i.pascal.at/ |
||||||||||||
|
|
|||||||||||||
| Boot Knoppix 3.6 from USB key - How To (Success!) |
|
||
|

