Results 1 to 9 of 9

Thread: persistent data for CD boot?

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Location
    Sonoma County, California
    Posts
    7

    persistent data for CD boot?

    I have a bootable USB key with Knoppix 6 on it, but entirely too many systems in use out there (small offices, etc), still don't support booting from USB, so I'd like to stick with booting the Knoppix 6 CD and using a (separate) USB key for holding the persistent data.

    In the past with 5.x, this worked fine. With 6.x, there isn't even an option for creating a persistent image (though the USB boot prompts for it, but there's issues with that too). I've tried creating the file, moving it to KNOPPIX/knoppix-data.img, specifying it in the boot parameters ( knoppix 2 home=/dev/sda1/KNOPPIX/knoppix-data.img ), etc. No dice - the system loads up and there's no persistence - the USB key isn't mounted.

    Sadly, part of the reason I need to have the persistent storage is because Knoppix 6 is so brutally minimalized - all the handy tools from 5.1.1 have been stripped from it. I really don't want to have to engineer a custom version of Knoppix - I've been happy just booting the standard ones and updating packages as needed. The flip side is that the dpkg in 5.1.1 is broken (doesn't handle the "Break" package token, and the current version of dpkg available USES that token, so I can't even install the current version, so 5.1.1. is dead in the water).

    Note that I really don't want to have to install the CD to a USB key - besides the inability to boot from USB on some systems, I'd just as soon maximize the amount of storage on the key for data.

    Where is the script that manages checking and mounting the persistent store? There's no menu option in the GUI for persistence.

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Location
    Sonoma County, California
    Posts
    7
    In further checking I see that a fromhd= setup also supports persistent store (as USB does as well), but as with USB, there's no option for WHERE the persistent store is located. However, this still isn't a desireable setup - there are still systems I have to boot with CD, and if I have to do that, I'd just as soon not have to copy the entire CD content to a USB stick and _still_ have to use the CD to boot.

    Also, under 5.1.1, I could have a USB stick with multiple configurations on it (say, for different machine/purposes I might boot it for), whereas the approach in 6 seems to mandate that I have only one (because I can't specify the location of the persistent store).

    Is there ANYONE here with insight?

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Re: persistent data for CD boot?

    Quote Originally Posted by sstraw
    <snip> ... With 6.x, there isn't even an option for creating a persistent image (though the USB boot prompts for it, but there's issues with that too).

    <snip> ... Where is the script that manages checking and mounting the persistent store? There's no menu option in the GUI for persistence.
    I'm looking for an answer to this question also. I thought perhaps there's a command line option in v6 that could be used in place of the GUI menu option (Configure/Create Persistent) - yes/no?

  4. #4
    Junior Member
    Join Date
    Oct 2009
    Location
    Sonoma County, California
    Posts
    7

    Re: persistent data for CD boot?

    Quote Originally Posted by glad2badad
    Quote Originally Posted by sstraw
    <snip> ... With 6.x, there isn't even an option for creating a persistent image (though the USB boot prompts for it, but there's issues with that too).

    <snip> ... Where is the script that manages checking and mounting the persistent store? There's no menu option in the GUI for persistence.
    I'm looking for an answer to this question also. I thought perhaps there's a command line option in v6 that could be used in place of the GUI menu option (Configure/Create Persistent) - yes/no?
    I've received absolutely no response to my oriignal inquiry, and was unsuccessful in finding out how to achieve it outside of copying the disc to USB or the HD. I just want persistence on a USB stick (or HD) when booting from CD. This was a snap in prior releases.

    As it stands, 5.1.1en is the version of Knoppix I reach for in my toolbox - 6 isn't particularly useful - it may boot quick, but as a live distro, it's been gutted.

  5. #5
    Junior Member
    Join Date
    Nov 2009
    Posts
    2
    That's a bummer about no response/answer.

    I'm booting v6 from a USB thumb drive and I'd like to use the balance of space to use for saving doc changes, etc...

  6. #6
    Junior Member registered user
    Join Date
    Nov 2004
    Location
    Tragic City, Michigan
    Posts
    13
    Quote Originally Posted by glad2badad
    That's a bummer about no response/answer.

    I'm booting v6 from a USB thumb drive and I'd like to use the balance of space to use for saving doc changes, etc...
    Have recently installed 6.2 to a 2GB usb drive from the running 6.2 livecd. Upon booting the newly created live-usb was asked to create a persistent overlay and entered in 1024 and hit "OK". The boot up finished to the desktop, took a screenie and saved it to the desktop. Installed some extra packages and upon reboot all changes were saved.

    So far the usb install is working fine.

  7. #7
    Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Why oh why won't anyone answer this?

    Surely there must be a way to create a persistent home directory or equivalent in 6.2.

    All the F*&^* articles tell me how to do it, but not for this version!!!

  8. #8
    Administrator Site Admin-
    Join Date
    Sep 2008
    Posts
    174
    If someone wants to write any guides specific to this version please feel free to use the Wiki ... or PM/email it to me and I'll post it for you.

  9. #9
    Junior Member
    Join Date
    Jan 2010
    Posts
    1
    I played around with 6.2, and from what I have seen, it would be rather difficult to create persistent home directory when running from a CD. The reason is that the Knoppix initialization script looks for the persistent home image in its /mnt-system directory, which, in the case of a CD boot, is on the CD (see the "init" script, line 577, on minirt.gz). There is no way to specify a custom configuration script either, since it has to be located at /mnt-system/KNOPPIX/knoppix.sh (see /etc/init.d/knoppix-autoconfig, lines 602-60. Please correct me if I missed something.

    I succeeded in creating a persistent home by modifying the minirt init script from

    Code:
    for base in /mnt-system/"$knoppix_dir"/knoppix-data /mnt-system/knoppix; do
    to

    Code:
    for base in $home /mnt-system/"$knoppix_dir"/knoppix-data /mnt-system/knoppix; do
    allowing me to specify a "home=.../knoppix-data" cheat code at startup (no suffix, even though the image name is .../knoppix-data.img, since the init script adds the suffix based on whether the image is raw, i.e.".img", or aes-encoded, i.e. ".aes"). Please note that I did not use the original minirt.gz, but rather the one from knx620k.zip posted at http://www.knoppix.net/forum/viewtop...=121968#121968, which allows running Knoppix as an ISO image from the hard disk .

    Regards,
    Terence

Similar Threads

  1. Microknoppix 6.1? USB boot w/ persistent image
    By rdcuff in forum General Support
    Replies: 6
    Last Post: 12-04-2009, 01:49 AM
  2. How to write persistent data to usb drive?
    By redss in forum Hardware & Booting
    Replies: 1
    Last Post: 07-24-2009, 01:17 PM
  3. Replies: 0
    Last Post: 09-13-2006, 10:02 PM
  4. First time using Knoppix to recue data from a non-boot HD
    By satimis in forum General Support
    Replies: 0
    Last Post: 05-18-2005, 05:32 AM
  5. How do I put persistent data in ~knoppix?
    By IanJ in forum Customising & Remastering
    Replies: 1
    Last Post: 09-27-2003, 06:38 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
  •  


Vintage S-100 California Computer Systems cards Z80 cpu + ADS  PromBlaster picture

Vintage S-100 California Computer Systems cards Z80 cpu + ADS PromBlaster

$895.00



Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1 picture

Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1

$250.00



Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used picture

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used

$55.99



๐Ÿ”ฅ RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE picture

๐Ÿ”ฅ RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE

$249.00



Intel i486 SX2 A80486SX2-50 Vintage CPU Processor Type CPU/Processor picture

Intel i486 SX2 A80486SX2-50 Vintage CPU Processor Type CPU/Processor

$44.99



Vintage Computer Sun Ultra 1 UltraSpark Driven - Mystery condition as-is Parts picture

Vintage Computer Sun Ultra 1 UltraSpark Driven - Mystery condition as-is Parts

$49.78



Vintage Apple IIgs 3.5โ€ & 5.25โ€ Floppy Disk Drives A9M0106 A9M0107 Untested picture

Vintage Apple IIgs 3.5โ€ & 5.25โ€ Floppy Disk Drives A9M0106 A9M0107 Untested

$115.00



Vintage IIT VP2000 Vision Processor RISC CPU Gold Cap Ceramic PGA-145 picture

Vintage IIT VP2000 Vision Processor RISC CPU Gold Cap Ceramic PGA-145

$287.19



Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New picture

Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New

$75.00



๐Ÿ”ฅ RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP picture

๐Ÿ”ฅ RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP

$299.99