-
persistent home on captive ntfs
Am trying to make persistent home on ntfs partition.
Made the following changes:
1. edit /etc/init.d/knoppix-autoconfig
added the following :
case "$fs" in *[Nn][Tt][Ff][Ss]*)
# umount "$MYHOMEMOUNTPOINT"; echo " ${RED}ERROR: WON'T MOUNT NTFS FILESYSTEM ON $MYHOMEDEVICE READ/WRITE!"
#break
umount "$MYHOMEMOUNTPOINT"; mount -t captive-ntfs -o rw,uid=knoppix,gid=knoppix,umask=002 "$MYHOMEDEVICE" "$MYHOMEMOUNTPOINT"
2. edited /usr/sbin/rebuildfstab
added the following :
case "$fstype" in
ntfs) options="${options},rw,umask=000" ;;
swap) options="defaults" ;;
esac
case "$fstype" in
ntfs)
[ -n "$user" ] && options="$options,uid=$user"
[ -n "$group" ] && options="$options,gid=$group"
echo "$ADDEDBYKNOPPIX"
echo "$device $mountpoint captive-ntfs $options 0 0"
;;
esac
3. edited /usr/sbin/mkpersistenthome
and commented out
# mount | grep -q "$DIRECTORY.*ntfs" && { $DIALOG --cr-wrap --title "$TITLE1" --msgbox "$ERROR NTFS" 10 75; bailout; }
4. Installed captive-ntfs support in chroot envirnment
Finally when I boot the remastered CD, the captive-ntfs support is there. and am able to create persistenthome image on ntfs partition. But when rebooting, I get an error messages saying that /dev/hdax whiich is my ntfs partition, is already mounted.
What am I missing?
Similar Threads
-
By eco2geek in forum General Support
Replies: 4
Last Post: 05-05-2006, 12:13 AM
-
By mattperkins26 in forum MS Windows & New to Linux
Replies: 2
Last Post: 02-10-2005, 01:05 PM
-
By itaydagani in forum MS Windows & New to Linux
Replies: 3
Last Post: 02-02-2005, 12:53 AM
-
By terminator in forum General Support
Replies: 0
Last Post: 05-12-2004, 10:52 PM
-
By arkaine23 in forum Customising & Remastering
Replies: 0
Last Post: 02-17-2004, 12:38 AM
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

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

SAMSUNG FIT PLUS 128GB USB 3.1 Flash Drive - fully working & authentic
$24.95

WiFi Only Samsung Galaxy Tab A9 Plus 11.0" 128GB Black SM-X210
$139.99

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Samsung 8GB DDR5 5600MHz SODIMM Laptop RAM PC5-44800 CL46 M425R1GB4BB0-CWM
$99.99

Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$119.99

NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77

New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00