-
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

HP 2x 10GB OPNsense Quad Core i5-8500 8GB RAM 3Port Gigabit Firewall AES-NI SSD
$199.95

OPNsense Firewall 16-Core Atom C3958 16GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI
$195.00

Check Point 1590 Firewall & w builtin WiFI and builtin LTE sim slot
$95.99

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$99.00

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$145.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$218.49

Sophos XG 210 Rev. 3 Firewall Appliance – 8GB RAM / 128GB SSD – Tested & Reset
$149.99

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00

Barracuda NextGen CloudGen Cloud Based Firewall F280 BNGF280a w/ 8.3.1 Firmware
$89.99

HPE Networking Instant On Secure Gateway Smart-Managed Switch (S0G33A#ABA) - New
$269.99