-
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

LENOVO THINKPAD T14 GEN 2i CORE I7-11165G7 2.8GHZ 16GB 256 SSD WCAM WI1 CORD
$250.00

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro
$334.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50

Lenovo Thinkpad X1 Yoga Gen 6 14" 16GB, Storm Gray
$356.80

Lenovo Legion 5 Gaming 15.1" WQXGA OLED 165Hz Core i9-14900HX 16GB 1TB RTX 5070
$1469.00

Lenovo Thinkpad T14 Gen 2i 14" 16GB 512GB, Black
$313.00

Lenovo ThinkPad T14 Gen 1 14" AMD Ryzen 5 16GB 256GB SSD
$219.99

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11
$374.99

Lenovo Thinkpad T14 Gen 1 14.0" 16GB 512GB, BLACK
$285.99

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black
$241.50