Results 1 to 9 of 9

Thread: Install.sh not working with USB (FIX Included)

  1. #1
    Member alacrityathome's Avatar
    Join Date
    Jan 2010
    Posts
    248

    Default Install.sh not working with USB (FIX Included)

    See http://forums.remote-exploit.org/bac...-tutorial.html for a possible bug with Install.sh

    Either using a live CD or a live USB and then using the Install.sh command, sometimes the long process of applying a persistent BT4 Pre-Final is successful EXCEPT for the grub installation.

    You can tell if this is the case if you attempt to boot into the newly minted persistent usb and just get a blinking cursor after booting.

    If so, do the following:

    ...Before logging out of BT4, pull up an xterminal and type in:
    ...mkdir /mnt/sdb1
    ...mount /dev/sd1 /mnt/sdb1
    ...grub-install --no-floppy --root-directory=/mnt/sdb1 /dev/sdb

    then

    ...nano /mnt/sdb1/boot/grub/menu.lst

    and adjust menu.lst

    then

    ...unmount /mnt/sdb1/


    Or, more simply forget install.sh and use the BackTrack USB Install video here:

    Backtrack 4 USB Install - Offensive Security


    Hopefully, this bug will be fixed in the BT4 Final.


    A

  2. #2
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    17

    Default

    hey,

    my installer crashes when he wants to setup the grub. i think its the same bug you are talking about.

    when i follow your steps, i get an Error 15: File not found

    i just edit the line with persistan and add the vga attribute.

    any ideas?

  3. #3
    Member alacrityathome's Avatar
    Join Date
    Jan 2010
    Posts
    248

    Default

    Hi Peter,

    Do you have a little bit more info?

    Are you installing to a hard drive? Or, to a usb?

    Did you see the "advanced" menu item in Step 7?

    You have to be careful for grub....sda...sdb...sdc.

    Does everything else besides BT4 work? Boot up ok?

    Sometimes if you missed any of the items above, grub is installed in the wrong place.

    To avoid that, do a sudo gparted to see exactly where you are installing.

    Let me know if any of that helps.

    A

  4. #4
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    17

    Default

    i am installing bt4 pre on an usb 8gb stick.
    everything is fine and i choose the correct device (sdb).
    after installing i follow your steps, reboot without cd and boot from usb.
    the grub bootloader splashes up and i can take a boot option.
    i only add the vga parameter to the line (like in the video link you posted).
    on every menu item i pick the error 15 comes up ... really bad...

    i installed the grub (in the step 7 - advanced) to /dev/sdb)

    peter

  5. #5
    Member alacrityathome's Avatar
    Join Date
    Jan 2010
    Posts
    248

    Default

    peter,

    sounds like you are close. you may want to google on "grub error 15". here is one item from google ...

    GRUB error 15 ( Debian/Ubuntu ) « Just a thought

    so, your BT4 can not find a file it is looking for...which means the menu.lst needs to be adjusted to point to the right location or some other file like vmlinuz or initrd is not where the menu.lst is looking.....

    can you post your menu.lst, and i or others can compare it to the one we have...

    here is menu.lst in my BT4PF usb:

    default 0
    timeout 03

    color cyan/blue white/blue


    splashimage=6ce51d57-df27-45cc-89b7-508f83a26083/boot/grub/splash.xpm.gz

    title Ubuntu 8.10, kernel 2.6.29.4
    uuid 6ce51d57-df27-45cc-89b7-508f83a26083
    kernel /boot/vmlinuz-2.6.29.4 root=UUID=6ce51d57-df27-45cc-89b7-508f83a26083 ro quiet splash
    initrd /boot/initrd.img-2.6.29.4
    quiet

    title Ubuntu 8.10, kernel 2.6.29.4 (recovery mode)
    uuid 6ce51d57-df27-45cc-89b7-508f83a26083
    kernel /boot/vmlinuz-2.6.29.4 root=UUID=6ce51d57-df27-45cc-89b7-508f83a26083 ro single
    initrd /boot/initrd.img-2.6.29.4

    And, also look in your boot directory and make sure the initrd.img-2.6.29.4 and vmlinuz-2.6.29.4 files are in the directory.


    A

  6. #6
    Member
    Join Date
    Jan 2010
    Posts
    332

    Default

    I am sorry to say that I can't recreate this problem. I have tested and get it functional everytime (tested on eleven different drives).
    SecurityTube has two new sections. Questions & News

  7. #7
    Just burned his ISO
    Join Date
    Jul 2007
    Posts
    17

    Default

    well, the problem is the usb stick.

    i tested it with takems usb 8gb stick and there are no problems. same dvd, nc10 and setup with the delock 8gb stick (http://www.delock.de/view/pdf/54221/A/3109/)
    and the installer crashes. any ideas?

    greets

  8. #8
    Member alacrityathome's Avatar
    Join Date
    Jan 2010
    Posts
    248

    Default

    Peter,

    What a nice looking usb stick!

    At least now you know the process works.

    Maybe two recommendations....

    1. Did you take your dlock usb and do a gparted to fully delete and do a full ext2 dlock partition before beginning?

    and if that doesn't work,

    2. 8Gb usb sticks are available at Fry's Electronics for $11. You can always use more usb sticks. In fact many folks put the ISO on the 1st usb stick then install.sh to the 2nd stick (faster too).

    Good luck and don't forget to have fun.

    A

  9. #9

    Default

    Quote Originally Posted by PeterPanzki View Post
    hey,

    my installer crashes when he wants to setup the grub. i think its the same bug you are talking about.

    when i follow your steps, i get an Error 15: File not found

    i just edit the line with persistan and add the vga attribute.

    any ideas?
    MD5 check you bt4 pre final download.

    Persistent : Your VGA Attribute is not the correct one for your Video Card, try using "normal" and see what it happens then . . .

Posting Permissions

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