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
  •  


Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture

Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller

$84.99



Sans Digital 2 Bay SATA to eSATA/ USB 2.0 RAID JBOD picture

Sans Digital 2 Bay SATA to eSATA/ USB 2.0 RAID JBOD

$79.35



OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture

OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire

$36.99



ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working picture

ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working

$32.95



Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture

Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile

$17.99



Dell H310 SATA SAS RAID Controller Card - HV52W with 1 SFF-8087 Cable, IT Mode picture

Dell H310 SATA SAS RAID Controller Card - HV52W with 1 SFF-8087 Cable, IT Mode

$20.00



LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault picture

LSI MegaRAID 9361-8i 12Gbps PCIe 3 x8 SATA SAS 3 8 Port RAID + BBU & CacheVault

$39.00



LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile picture

LSI 8 Port 6Gbps PCIe 3.0 External SAS RAID Card w/ 1GB CacheVault & Low Profile

$24.65



Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5

Yottamaster 5 Bay RAID Hard Drive Enclosure Type-C B For 2.5" 3.5" SATA HDD SSDs

$131.59



Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5

Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5" SATA HDD SSD UASP

$56.25