Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: HDD install hangs at 1-2 percent of file copying

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jun 2003
    Posts
    5
    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.

    ???

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --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.

    Quote 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.

    ???

Page 2 of 2 FirstFirst 12

Similar Threads

  1. ISO file download vs copying ISO from CD
    By stevesr0 in forum General Support
    Replies: 6
    Last Post: 02-20-2005, 05:59 PM
  2. How to boot as Debian after copying file to harddisk
    By winglion in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 11-07-2004, 08:54 AM
  3. Problem copying file to an external HDD...(Urgent)
    By jch02140 in forum General Support
    Replies: 4
    Last Post: 06-18-2004, 03:14 PM
  4. Copying windows System file
    By TMcGrath in forum Tips and Tricks
    Replies: 0
    Last Post: 02-21-2004, 10:41 AM
  5. copying a large file
    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
  •  


Samsung 2.5

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

$100.00



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

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

$119.99



Western Digital Blue 3D NAND 500GB Internal 2.5

Western Digital Blue 3D NAND 500GB Internal 2.5" SSD - WDS500G2B0A

$49.99



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

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

$549.00



Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$99.99



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

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

$36.99



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

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

$42.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5

Intel Solid-State Drive DC S3500 Series 240GB Internal 2.5" (SSDSC2BB240G4P) SSD

$29.99



Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop picture

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop

$221.00