-
I've tried 3 different filesystems. I started with ext2, then tried ext3, then tried xfs. Same thing each time.
Ran the testcd command - passed OK.
Also ran fsck on the ext2 partition - came up clean.
???
-
Senior Member
registered user
--Okay, ExtremeSolution(TM) time.
' cp /usr/local/bin/knx-hdinstall /ramdisk '
--For a text editor, I recommend ' jstar ' for it's Wordstar-compatible key combos. For a GUI editor you can try ' sudo nedit /ramdisk/knx-hdinstall '.
--Edit /ramdisk/knx-hdinstall, comment out ('#' as first char) the following lines:
# 832-871:
Code:
sleep 2
dd if=/dev/zero of=$FSCHOICE bs=1k count=16 >/dev/null 2>&1
sync
case $FSTYPE in
xfs)
mkfs.$FSTYPE -f $FSCHOICE 2> $TMP
x=$?
;;
reiserfs)
echo y | mkfs.$FSTYPE $FSCHOICE 2> $TMP
x=$?
;;
*)
mkfs.$FSTYPE $FSCHOICE 2> $TMP
x=$?
case $FSTYPE in *ext*) tune2fs -O ^dir_index $FSCHOICE;; esac
;;
esac
if [ $x != 0 ] ; then
case "$ORIG_LANGUAGE" in
de|at|ch)
M1="Beim Anlegen des Filesystems ist ein Fehler aufgetreten. Hier die Meldungen von mkfs:"
;;
es)
M1="Ocurrió un error mientras se creaba el sistema de ficheros. Algunos mensajes de mkfs:"
;;
fr)
M1="Une erreur est intervenue pendant la création du système de fichiers. Quelques messages de mkswap:"
;;
se)
M1="Fel under formateringen. Meddelande från mkfs:"
;;
*)
M1="An error occurred while creating the filesystem. Some messages from mkfs:"
;;
esac
$DIA --backtitle "$BT" --title "$T1" --msgbox "$M1 `tail -8 $TMP`" 15 60
rm -f $TMP
exit 0
fi
# 928 and 929:
Code:
(cd /KNOPPIX ; cp -a * $TR ; sync) &
progressbar $!
--Save and exit (Ctrl-KX in jstar.) For the purposes of this example I am using /dev/hda5 and /mnt/hda5 as your target filesystem (try reiserfs, whaddaya got to lose) :
' mkdir /mnt/hda5 '
' mkreiserfs /dev/hda5 '
' mount /dev/hda5 /mnt/hda5 '
--Now, invoke ' mc ' and type ' cd /KNOPPIX '[[enter]] in pane 1. Hit Tab and ' cd /mnt/hda5 ' in pane 2. Tab again, hit Insert key and hold it down to select all the files and directories in pane 1. Hit F5 and copy to pane 2. (This is basically replacing the script's copy function.)
--Hit F10 to exit MC when the copying is done (hopefully it works! If not you're SOL.) Then ' cd /ramdisk; ./knx-hdinstall ' and go thru the usual steps, but choose Reiserfs this time. The script should do everything except format the filesystem and copy the files (hopefully. Make sure you put the dot-slash before knx-hdinstall so it runs from the current dir instead of usr-local-bin.) If it stops copying, try the Alt-Sysrq-S (worked for me on Reiserfs) just for grinz.

Originally Posted by
PuTzHeAd
I've tried 3 different filesystems. I started with ext2, then tried ext3, then tried xfs. Same thing each time.
Ran the testcd command - passed OK.
Also ran fsck on the ext2 partition - came up clean.
???
Similar Threads
-
By stevesr0 in forum General Support
Replies: 6
Last Post: 02-20-2005, 05:59 PM
-
By winglion in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 11-07-2004, 08:54 AM
-
By jch02140 in forum General Support
Replies: 4
Last Post: 06-18-2004, 03:14 PM
-
By TMcGrath in forum Tips and Tricks
Replies: 0
Last Post: 02-21-2004, 10:41 AM
-
By igor_m in forum General Support
Replies: 4
Last Post: 12-26-2003, 05:48 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

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$549.00

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

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -
$39.99

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$99.99

Crucial MX500 250GB 2.5" SATA III SSD - Preowned
$29.00

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.00

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$42.99

Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$40.00

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$119.99