Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14
Alright ! Download and save that script on Desktop. Open Terminal/Konsole and execute this Code: cd Desktop su -c "./debricker.sh /dev/sdc" Above code will execute script on 2000GB Hard disk, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729

    Alright ! Download and save that script on Desktop. Open Terminal/Konsole and execute this
    Code:
    cd Desktop
    su -c "./debricker.sh /dev/sdc"
    Above code will execute script on 2000GB Hard disk, /dev/sdc. Post exact error message here, if any.

    I assumed that you have saved script with name debricker.sh.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  2. #12
    Just Joined!
    Join Date
    Mar 2012
    Posts
    8
    Hi, after changing the permissions I got the script to run, but when it began to download the image file, it got to 92 % then froze for 15 minutes and nothing more happened. I stopped the script to run it again and it came up with the following error:

    [liveuser@localhost Desktop]$ su -c "./debricker.sh /dev/sdc"

    ********************** DISK **********************

    script will use the following disk:

    Model: WDC WD20 EARS-00MVWB0 (scsi)
    Disk /dev/sdc: 2000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt

    Number Start End Size File system Name Flags
    3 15.7MB 528MB 513MB primary
    1 528MB 2576MB 2048MB ext3 primary raid
    2 2576MB 4624MB 2048MB ext3 primary raid
    4 4624MB 2000GB 1996GB ext4 primary

    is this REALLY the disk you want? [y] y

    ********************** IMAGE **********************

    checking: 010507
    searching: ./*/*01*05*07*.img
    searching: ./*/*01*05*07*.deb

    will extract: ./firmware/rootfs_010507.deb
    confirm [y]: y
    extracting: ./firmware/rootfs_010507.img
    ./debricker.sh: line 187: ar: command not found
    ./debricker.sh: line 187: unlzma: command not found
    tar: This does not look like a tar archive
    tar: Exiting with failure status due to previous errors

    extraction encountered problems.

  3. #13
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Which version of Fedora are you using?
    ar is available in /usr/ccs/bin folder. Try updating PATH.
    Execute this
    Code:
    su -c "PATH=/usr/ccs/bin;$PATH"
    su -c "./debricker.sh /dev/sdc"
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #14
    Just Joined!
    Join Date
    Mar 2012
    Posts
    8
    Hi, I'm using Fedora 16-i686. The first time I ran the script I didn't get this error. It only came after I aborted the script and tried to run it again.

    The last code you sent me, the first command fails as follows:

    [liveuser@localhost Desktop]$ su -c "PATH=/usr/ccs/bin;$PATH"
    bash: /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/liveuser/.local/bin:/home/liveuser/bin: No such file or directory
    [liveuser@localhost Desktop]$
    Last edited by Crozzer; 03-18-2012 at 10:30 AM. Reason: Provided more information

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •