Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36

Thread: Boot Knoppix 3.6 from USB key - How To (Success!)

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    San Diego
    Posts
    5

    Boot Knoppix 3.6 from USB key - How To (Success!)

    Hello Everyone,

    I'm new to the group, but not to Unix. I've been involved with it since the early 80's, but haven't used it consisently since then.

    I've been looking thru all these forums on how to run/boot Knoppix from
    a USB key and haven't found anything recent other than this:

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

    HOWEVER.... After a bit of tinkering and looking thru source code, I have
    successfully been able to boot Knoppix 3.6 from a 512MB Sandisk cruzer USB key.

    I want to document the complete process because I know how many of you are interested in doing this also.

    I'm in a bit of a dilema because I am leaving on a trip in the morning for a couple weeks and won't have time to describe what I did in as much detail as I'd like, but I will try and give a brief description in my next post until I return and can give a step by step description along with what pkgs I removed to fit everything on 512MB.

    Cheers,

    Mike LaPierre

  2. #2
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    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

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    I'm all ears. (Almost bought one of those Sandisk Mini Cruzers today.)

  4. #4
    Junior Member
    Join Date
    Aug 2004
    Location
    San Diego
    Posts
    5

    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

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    13
    Thanks, but no luck here. The BIOS doesn't even recognize the USB drive as bootable, which seems really weird. I don't think it is a hardware problem, because this is a 1 GB PQI iStick. I can boot Damn Small Linux no problem from a smaller PQI iStick on the same Epia ME6000 motherboard. Other differences; FAT32 filesystem instead of FAT16, and I ran syslinux 2.11 from Knoppix, not Windows. I don't see why either would be problematic.

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Location
    San Diego
    Posts
    5
    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

  7. #7
    Junior Member
    Join Date
    Nov 2003
    Posts
    13

    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.

  8. #8
    Junior Member registered user
    Join Date
    Aug 2004
    Location
    Pune, India
    Posts
    13

    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

  9. #9
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by drmarathe
    [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.
    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.)

  10. #10
    Junior Member
    Join Date
    Nov 2003
    Posts
    13

    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/

Page 1 of 4 123 ... LastLast

Similar Threads

  1. AOL & Knoppix == success!!!
    By mabhatter in forum Networking
    Replies: 1
    Last Post: 12-08-2005, 10:38 PM
  2. Replies: 31
    Last Post: 11-07-2004, 08:52 PM
  3. Anyone had success with Knoppix and Madwifi?
    By MaldiGola in forum Networking
    Replies: 0
    Last Post: 09-27-2004, 03:37 PM
  4. Knoppix success story...
    By dvessey in forum The Lounge
    Replies: 3
    Last Post: 03-03-2003, 08:27 PM
  5. Knoppix running from RAM: SUCCESS!! kind of...
    By dvessey in forum Customising & Remastering
    Replies: 14
    Last Post: 02-18-2003, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5

Seagate Exos X16 ST14000NM001G 14TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$169.99



Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST20000NM004E 20TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$268.99



Seagate ST9450404SS 9PY066-080 Savvio 450GB 10K 10k 2.5

Seagate ST9450404SS 9PY066-080 Savvio 450GB 10K 10k 2.5" 6G SAS Hard Drive

$15.00



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$82.99



Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



8TB Seagate Archive SATA 3.5

8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002

$36.42



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$174.99



WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN picture

WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN

$69.99