Results 1 to 10 of 10

Thread: Knoppix is the only distro that...

  1. #1
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    11

    Knoppix is the only distro that...

    ...I have successfully run as a persistent USB flash drive. And this is only because it come with it's own built in "Install to Flash Disk" utility.

    I've messed with "Linux Mint", Debian, Ubuntu with various levels of success. If I did get it working, it wasn't very stable. Doing this by following step-by-step instructions or by using a tool like Universal-USB-Installer.

    Being able to take your computing environment to any computer (that can boot from USB) is a very attractive alternative.

    Keep up the good work! Looking forward to the next Knoppix with even more persistent USB options. It would be cool if it could run from USB and be no different then if it were running from hard drive.

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Quote Originally Posted by howie View Post
    It would be cool if it could run from USB and be no different then if it were running from hard drive.
    What are you missing?

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    11
    Quote Originally Posted by utu View Post
    What are you missing?
    Hi utu,

    Let me start by saying I'm no Linux expert so it's a good chance I don't know what I'm talking about.

    With the other Linux distros (that didn't quite work out) I've had to specify all the different partitions. One for root "/", one for home "/home" and a swap partition. I'm assuming root is the only place additional software is installed and home is where my files go. The Knoppix USB persistent install is all on one partition with a max of 4 gig persistent space.

    I may just be noticing the difference and assuming the other partitions are needed.

    Having said all that, what I really would like to do is allocate the remaining space on my USB flash drive for persistent memory. I have a 16 gig flash drive and the highest I can allow for a persistent file is 4 gigs. I say this with the assumption that additional software is installed in the persistent area.

    Thanks you for your time!

  4. #4
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    11
    I'm also making the assumption the files I create are also stored in the persistent area. Now that I think of it, I'm not sure they would need to be.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Greetings again, Howie

    With Knoppix 7.0.5 you have TWO choices for persistence files.

    One choice is to create one within the same partition as the OS
    using Fat32. This persistence file is not limited itself to 4 Gb, but files
    placed on it must be less than 4 Gb. And the time it takes to
    format a Fat32 persistence file is proportional to its size.
    Formatting one larger than 4 Gb may make you think something's
    gone haywire before it completes.

    A new choice has been added which allows persistence to be
    achieved with a separate reiserfs partition. This approach has
    no similar 4 Gb file size limitation, and doesn't take any
    time at all formatting.

    There are a lot of good things about Knoppix and its LiveUSB
    is my favorite choice of Linux.

  6. #6
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    11
    Quote Originally Posted by utu View Post
    This approach has
    no similar 4 Gb file size limitation, and doesn't take any
    time at all formatting.
    Are you referring to the "experimental" USB flash drive utility? When I try to run that, it just errors. Perhaps I need to setup the partitions prior to running the utility?

    Do you have any info on how to use this second approach?

    Thanks in advance!

  7. #7
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    Hello again, howie.

    The reisers approach is the new 'experimental' approach.
    I didn't have any problem with it, myself.
    I started with an 8 Gb SanDisk cruzer and/or a 16 Gb SanDisk
    'camera card'. Both were formatted Fat32, single partition
    at the factory.

    Some users report usbs pre-formatted with several small partitions.
    That may be a problem. By the way, don't provide the reiserf partition yourself,
    let Knoppix do it.

    I suggest you see what your usb looks like with gparted, and if
    it is not single partition Fat32, then make it so and try again
    with the 'experimental' option.

    If that doesn't do it, then give our experts here more details
    and they'll get to the bottom of it.

  8. #8
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    ps

    Howie, another possibility.

    See the following thread.
    http://knoppix.net/forum/threads/303...light=reiserfs

    There is an acknowledged blip in the experimental setup for some folks.
    see especially post #21.
    If that's your problem you can try the solution in that thread or wait for Knoppix 7.1.
    That'll likely be late March or April even.

  9. #9
    Junior Member registered user
    Join Date
    Apr 2005
    Posts
    11
    Quote Originally Posted by utu View Post
    If that's your problem you can try the solution in that thread or wait for Knoppix 7.1.
    That's my same problem. Thanks for the link! I'll try making that change.

  10. #10
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Basically, there are two ways to get out of the 4GB persistent store squeeze without going into "experimental" features. First, running Knoppix off a Poor Man's Install on a file system allowing >4GB files (NTFS, ext3/4 reiserfs...), and extending the persistent file. This may also be done on a USB stick, creating a smaller boot partition, putting Knoppix on a larger storage partition, and micro-remastering.

    In my experience, if 4GB persistent store is really too little, it is in many cases way better to go by the second route: You mount extra volumes, either directly as partitions, or as loop-mounted images. I routinely setup a large storage partition on the main hard disk, mount it on /store, and use it for all sorts of storage except for programs and program data. If I have to use a Windows PC and cannot re-partition the main disk, I set up a large loop file and mount that image as /store.

    You can also extend persistent store within the FAT32 limitation by adding volumes knoppix-data2.img, knoppix-data3.img etc in the KNOPPIX directory, and, for example, modify /etc/rc.local to mount them on boot. Those will be copied with the directory when you use the plain old knoppix-to-flash function.
    Last edited by Capricorny; 03-04-2013 at 09:49 AM.

Posting Permissions

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


Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES picture

Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES

$2630.00



Genuine HP 240GB SATA 2.5

Genuine HP 240GB SATA 2.5" SSD with oem caddy, SM863, 6Gb/s , P/N#8166962-002

$85.00



Genuine HP 480GB SATA 2.5

Genuine HP 480GB SATA 2.5" SSD with oem caddy, SM863A, 6Gb/s , P/N#8166614-002

$106.25



SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0 picture

SAMSUNG 6.4TB SSD NVMe PCIe 3.0 MU HHHL PM1725B MZ-PLL6T4C FW2K0

$599.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$13.99



M.2 SATA SSD 256GB Double Notch with Windows 11 Installed Lot picture

M.2 SATA SSD 256GB Double Notch with Windows 11 Installed Lot

$14.95



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 256GB SSD 2.5

Patriot P210 256GB SSD 2.5" SATA III 6GB/s Internal Solid State Drive For PC/MAC

$19.99



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



4 TB SSD SATA III Drive 2.5

4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s

$149.00