Results 1 to 2 of 2

Thread: My USB flash disk can't be a persistant homedir!

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    1

    My USB flash disk can't be a persistant homedir!

    Hello,
    I have a problem with Knoppix 3.7 and my USB key (512 MB PQI).
    I used to have Knoopix 3.4 and my USB key was working fine ; its icon was appearing on the desktop as soon as I plugged it.
    But since version 3.7 my usb key doesn't appear on the desktop.
    However I can access and write to it as root (in /mnt/buba).
    My problem is the following : I want to create a persistant knoppix home directory.
    I start the script but at the step when I have to select a partition for the homedir, Knoppix doesn't let me choose my USB key, I juste have the list of the hard disk partitions.
    Did someone have the same problem ?

    Here are some additionnal information :

    The content of /etc/fstab :
    Code:
    # Added by KNOPPIX
    /dev/uba /mnt/uba vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0

    I checked with the "dmesg" command :
    Code:
    usb 2-2: new full speed USB device using address 2
    uba: device 2 capacity nsec 50 bsize 512
    uba: made changed
    uba: device 2 capacity nsec 1023488 bsize 512
    uba: device 2 capacity nsec 1023488 bsize 512
     uba: unknown partition table
     uba: unknown partition table

    My USB key has been formated under Windows (FAT32 format).


    Thank you very much.

  2. #2
    First find the script mkpersistenthome. It should be in the directory /KNOPPIX/usr/sbin

    Then copy that to the desktop or a writeable location as the directory that it resides is part of the cd, not the ramdisk. Then open it up and look for...

    Code:
    for i in `awk '/^\/dev\/[hs]d[a-z].*\/mnt\/[hs]d[a-z]/{if(!/ntfs/){print $1}}' /etc/fstab`; do
    It should be line 87

    change that to

    Code:
    for i in `awk '/^\/dev\/[hsu][bd][a-z].*\/mnt\/[hsu][bd][a-z]/{if(!/ntfs/){print $1}}' /etc/fstab`; do
    now the script will look for volumes hb[a-z] hd[a-z] sb[a-z] sd[a-z] ub[a-z] ud[a-z]. You only really need to take out the [hs]d[a-z] and change it to whatever you drive lable is, for me it is uba.

    Hope that works for you, maybe it should be changed in the next knoppix release.

Similar Threads

  1. Replies: 4
    Last Post: 03-23-2006, 08:04 PM
  2. persistant disk image - no x server found for your card
    By Scorpaen in forum General Support
    Replies: 0
    Last Post: 07-08-2005, 09:31 PM
  3. Is it possible to resize/copy persistant disk image?
    By mark.johnson in forum General Support
    Replies: 5
    Last Post: 05-30-2005, 05:14 PM
  4. Creating persistant disk image on external HDD
    By mark.johnson in forum Hardware & Booting
    Replies: 2
    Last Post: 05-20-2005, 11:07 PM
  5. USB memory stick persistant disk stuck at 96%
    By southmiamiman in forum General Support
    Replies: 1
    Last Post: 05-19-2005, 05:17 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
  •  


Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills) picture

Samsung SCXSTP000, SCX-STP000 (Swingline Staple Cartridge - 3 Refills)

$57.99



Samsung Galaxy S10 10.9

Samsung Galaxy S10 10.9" FE 128GB WiFi Tablet SM-X520NZACXAR S-Pen Keyboard 2025

$299.99



Samsung Galaxy Tab Active 3/  64 gig/WIFI picture

Samsung Galaxy Tab Active 3/ 64 gig/WIFI

$85.00



Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem picture

Samsung Galaxy View Tablet 18.4 SM-T670/677A Digitizer 100% Original Oem

$152.99



Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available picture

Samsung 850 Pro Series 2TB 2.5inch SATA3 6Gbp Internal SSD MZ-7KE2T0 5 Available

$189.00



Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW picture

Samsung DVI to DVI Cable 6 ft Digital Video Interface Audio Video NEW

$30.89



Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc picture

Kids Case for Samsung Galaxy Tab A9+/A9 plus 11 Inch 2023 Case, with Strap, Shoc

$27.99



Samsung JC95-01514A Cover-Side Roller T2 Compatible picture

Samsung JC95-01514A Cover-Side Roller T2 Compatible

$39.00



Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box picture

Samsung Xpress C410W Color Wireless Laser Printer - Brand New - Never Out Of Box

$289.00



Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT) picture

Samsung MZ1LB1T9HALS PM983 1.92TB M.2 22110 PCIe 3.0 NVMe SSD (430 EUR 0% VAT)

$601.98