Dual-boot Installation Error

Comments

10 comments

  • Jeff Miller

    I suggest trying to modify the install scripts to to include the `--bad-sectors` option.

    Modify the file `/opt/neverware/neverware_repartition.py`.

    In the function `call_ntfsresize` add the `--bad-sectors` option by adding the line `    cargs.append('--bad-sectors')` at line 81 before the `cargs.append(partname)` line.

    --- neverware_repartition.py
    +++ neverware_repartition.py
    @@ -78,6 +78,7 @@ def call_ntfsresize(partname, extra_options=None, force=False):
             cargs.append('-f')
         if extra_options:
             cargs.extend(extra_options)
    +    cargs.append('--bad-sectors')
         cargs.append(partname)
     
         logging.debug("Running: %s ", cargs)
    
  • Rahul Kerur

    How would I go about changing the script? Is there a way to access it? 

     

    -Rahul 

  • Forrest Smith

    Rahul - 

     

    You'll need to look up how the cmd line app "vi" works. Here are the steps:

     

    1) Ctrl+alt+t to get a terminal (when logged in)

    2) type "shell" and enter 

    3) type "sudo mount -o rw,remount /" and enter

    4) type "sudo vi /opt/neverware/neverware_repartition.py"

    5) [here's where you need to lookup how vi works] in there, search for the "call_ntfsresize" and do as Jeff mentioned  - it should look the way he shows at the end

    6) Save (in vi) and quit, then reinstall.

     

    If you're not comfortable with learning vi, I would estimate that this process is probably a little too technical. vi isn't too bad tho, so go for it!

  • Rahul Kerur

    Thanks guys! I'll let you know how things go! 

  • TylerK

    After entering the first command after shell as stated by Forrest Smith, it is asking for the password. What should I do??

  • Jesse Pierce

    Password is 'chrome'

  • TylerK

    Thanks, Jesse. But it's not letting me type in anything. However, I typed Chrome and pressed enter. and it showed me usage, mount a filesystem and some options. Should I type the next command?

  • Forrest Smith

    Prajakt - 

     

    Yes that's correct you can proceed. It's common in Linux not to show ANY characters when typing at a password prompt - no dots or stars, nothing.

     

    So when you typed "chrome" and hit enter it was a successful password entry.

  • Joseph Honnoll

    And this is for Windows correct? Meaning for Dual-Boot?

  • TylerK

    Thanks, Forrest, will try now.

Please sign in to leave a comment.