-
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.
-
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
-
By wazlo in forum General Support
Replies: 4
Last Post: 03-23-2006, 08:04 PM
-
By Scorpaen in forum General Support
Replies: 0
Last Post: 07-08-2005, 09:31 PM
-
By mark.johnson in forum General Support
Replies: 5
Last Post: 05-30-2005, 05:14 PM
-
By mark.johnson in forum Hardware & Booting
Replies: 2
Last Post: 05-20-2005, 11:07 PM
-
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
-
Forum Rules
![Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture](/store/img/g/ph8AAOSwnHxmXzcB/s-l225/Dell-EMC-092GD6-Broadcom-9305-16i-LSI-Quad-Port-4-.jpg)
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](/store/img/g/v8cAAOSwd4tmeQzp/s-l225/Sans-Digital-2-Bay-SATA-to-eSATA-USB-2-0-RAID-JBOD.jpg)
Sans Digital 2 Bay SATA to eSATA/ USB 2.0 RAID JBOD
$79.35
![OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture](/store/img/g/-FoAAOSwtEBmQ5qa/s-l225/OWC-Guardian-Maximus-Raid-Enclosure-SATA-Hard-Driv.jpg)
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
![ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working picture](/store/img/g/fGwAAOSwAStmfi9c/s-l225/ASUS-Hyper-M-2-x16-Gen-4-RAID-Card-Used-Working.jpg)
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](/store/img/g/C7YAAOSwLYJl3nQQ/s-l225/Dell-PERC-H330-PCIe-3-0-x8-RAID-Storage-Controller.jpg)
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](/store/img/g/9JUAAOSwlFNmcxPK/s-l225/Dell-H310-SATA-SAS-RAID-Controller-Card-HV52W-with.jpg)
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](/store/img/g/NdcAAOSwlPtmc2X8/s-l225/LSI-MegaRAID-9361-8i-12Gbps-PCIe-3-x8-SATA-SAS-3-8.jpg)
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](/store/img/g/3oUAAOSweflmcp0x/s-l225/LSI-8-Port-6Gbps-PCIe-3-0-External-SAS-RAID-Card-w.jpg)
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](/store/img/g/izoAAOSwfCZlZs9y/s-l225/Yottamaster-5-Bay-RAID-Hard-Drive-Enclosure-Type-C.jpg)
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](/store/img/g/7iAAAOSwl8tlJ6Cu/s-l225/Yottamaster-2-Bay-RAID-Hard-Drive-Enclosure-USB-3-.jpg)
Yottamaster 2 Bay RAID Hard Drive Enclosure USB 3.1 For 2.5" SATA HDD SSD UASP
$56.25