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

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

  1. #11
    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. #12
    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
  •  


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

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

$1599.99



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$375.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

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

$179.99



IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012 picture

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012

$109.99



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



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

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

$150.00



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

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

$110.30



1 X IBM 720 POWER SERVER WITH 32 GB RAM picture

1 X IBM 720 POWER SERVER WITH 32 GB RAM

$344.97



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

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

$199.99



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

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

$1100.00