-
Senior Member
registered user
HAL , fstab , management of Drives
(I've started this new thread to split out one answer to a multiple-subject question
).
Knoppix is principally a LiveCD system (with semi-official adaptations for Hard Drive installation).
So in places it is hard-coded for the User Name "knoppix", and you will get fewer problems if you use "knoppix" as your User Name in a Hard Drive installation.
For using another <username> this 'kludge'
helps with drives management :
Edit the lines (93 & 94 in Knoppix 5) in /usr/sbin/rebuildfstab
from
Code:
[ -n "$user" ] && options="$options,uid=$user"
[ -n "$group" ] && options="$options,gid=$group"
to
Code:
[ -n "$user" ] && options="$options,uid=<username>"
[ -n "$group" ] && options="$options,gid=<username>"
You might also need to ensure that the daemons are running by e.g :
Code:
dpkg-reconfigure hal dbus
EDITED 14:18 hrs GMT: I've found a bit of code in /etc/init.d/knoppix-hd-autoconfig which allows it to work with any non-root User Name; insert code as shown between lines 92 and (old)93 in /usr/sbin/rebuildfstab to give :-
Code:
case "$fstype" in
ntfs*|vfat|msdos)
for d in $(ls -1d /home/*/Desktop); do
if [ -d "$d" ]; then
user="${d%/Desktop}"
user="${user#/home/}"
fi
done
group=$user
[ -n "$user" ] && options="$options,uid=$user"
[ -n "$group" ] && options="$options,gid=$group"
;;
esac
(I show the complete case...esac condition for clarity.)
-
Senior Member
registered user
Addendum: I've found out that if you edit /usr/sbin/rebuildfstab using KWrite (instead of e.g.vim) it loses its executable status.
You can test for this from the command line by
Code:
ls -l /usr/sbin/rebuildfstab
and restore executability by
Code:
chmod 0755 /usr/sbin/rebuildfstab
(or by right-click on the file in Konqueror, select Properties, Permissions, check "is executable" box).
Similar Threads
-
By cheetahman in forum General Support
Replies: 19
Last Post: 03-21-2005, 11:58 AM
-
By Steven Hair in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 09-29-2004, 03:04 PM
-
By maurovik in forum Laptops
Replies: 0
Last Post: 09-03-2004, 08:22 AM
-
By jazzback in forum Customising & Remastering
Replies: 0
Last Post: 06-01-2004, 12:52 AM
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 11-02-2003, 09:43 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

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR
$1100.00

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER
$349.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$111.70

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU
$450.00

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671
$230.00

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays
$150.00