Results 1 to 9 of 9

Thread: bt4 r2 hangs at startup

  1. #1
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    6

    Default bt4 r2 hangs at startup

    Hi,

    Apologies if this has been previously asked (I was unable to find anything by searching the forums here or via Google).

    First let me describe what I am using..
    1. BackTrack 4(r2) ISO extracted to root of an all-in-one flash drive
    2. All-in-one drive uses grub4dos already
    3. menu.lst entries in existing grub4dos were copied from the menu.lst on the ISO
    4. Have tried booting from a Lenovo T500 and an Acer VM410 quad core box

    I am having issues with the system hanging upon startup. In any boot option but forensics the system hangs at "Loading, please wait..."

    In the forensics boot mode I can see that it appears to hang at:
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    aufs 2-standalone.tree-35-20100823

    If I press CTRL-X and then ENTER (with any of the predefined boot options) then it pushes past this point and brings me to a shell (where I can enable networking, startx, etc without issue). I can't really see anything missing or non-functional because of this, but I would like to see it boot without user interaction if possible.

    Any ideas? I think the next logical step would be to burn and boot from the DVD to see if the issue occurs from there on the same systems, but I have a sinking suspicion it has more to do with attempting to boot this from a flash drive or a compatibility problem. I also attempted to install BT4 to a flash drive, so that I could move the files over to my main stick, but I gave up at 6gb -- don't have that much space to dedicate to BT



    Thanks in advance,
    Rob

  2. #2
    Member
    Join Date
    Dec 2007
    Location
    The Netherlands
    Posts
    267

    Default Re: bt4 r2 hangs at startup

    I would just try booting the LiveDVD first, but you could also try the "Universal USB Installer" to install backtrack to your USB stick. I believe 1 GB is enough.
    Student Systems Administration and Network Engineering, second year.
    Don't PM me with questions, unless very specific. Otherwise, use the forums so everyone can potentially benefit from it.

  3. #3
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default Re: bt4 r2 hangs at startup

    Unetbootin.
    Of course, if you really wanted to have some fun, go to Wal-Mart late at night and ask the greeter if they could help you find trashbags, roll of carpet, rope, quicklime, clorox and a shovel. See if they give you any strange looks. --Streaker69

  4. #4
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    6

    Default Re: bt4 r2 hangs at startup

    Thanks for the replies gents.

    I tried the universal installer to load it on the stick, it was listing ~6.5gb of disk usage 70% through the process. UNetbootin would be great, if I only wanted to run one distro off the drive

    The goal is to have backtrack on the same drive as:
    1. Knoppix
    2. UBCD4WIN
    3. UBCD (dos)
    4. AVG Rescue CD
    5. Offline NT PW/REG Editor
    6. DBAN
    7. NTFS4DOS
    8. FreeDOS

    The ISO boot won't work with BT4. The furthest I've gotten with this so far is by extracting the files to the root of the drive (with their original paths). And duplicating the grub entries. I tried bt4 r1 and get the same results as r2.

    I'm 99% sure that it has to do with the way it's being booted, I'm just wondering if there isn't a kernel parameter or a customization I can make to get this all working. Does anyone have any other suggestions as to how I can get the CD or files within the CD to start from a USB stick with grub4dos?


    Thanks!
    Rob

  5. #5
    Junior Member dec1bel's Avatar
    Join Date
    Dec 2010
    Location
    US
    Posts
    36

    Default Re: bt4 r2 hangs at startup

    You can use Unetbootin to boot multiple distros.

    I've rolled my own multi-boot flash drive with MultiCD but it's too much for me to keep them up-to-date all the time so I've opted for solutions like Katana. For being able to make your own MultiCD wasn't too bad.

  6. #6
    Very good friend of the forum killadaninja's Avatar
    Join Date
    Oct 2007
    Location
    London, United Kingdom.
    Posts
    526

    Default Re: bt4 r2 hangs at startup

    What does your grub4dos entry look like?
    Sometimes I try to fit a 16-character string into an 8–byte space, on purpose.

  7. #7
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    6

    Default Re: bt4 r2 hangs at startup

    Ok, I have done some troubleshooting on this and have figured out the cause of my issues. I'm not sure how I can fix the problem, but at least I have figured it out and can reproduce it. This issue occurs with grub4dos and syslinux and doesn't appear to be related to the mbr/loader.

    So I was trying to do a multiboot cd, and this was the only issue I had once I was finished putting everything together. I figured it was something that I was doing, so I went and grabbed Katana per dec1bel's suggestion... but ended up in the same boat.

    So Katana uses 4r1, and it booted with zero issues out of the box. Once I had added ubcd4win (which I had to write an updated howto on (posted in katana forums)), the avg2011 rescue cd, Knoppix, and a Windows 7 AIO cd, it started showing the same symptoms as the multiboot that I had put together on my own. This round I used syslinux instead of grub4dos, since that's what Katana is distributed with.

    So I sat down and stripped out tools one by one until I found the culprit - the Windows7 installation disc (disc extracted to root of usb). I started pulling files/folders one at a time until I nailed it down to an individual folder that seems to be the culprit - SOURCES. The strangest part is that I started removing all the folder contents within Sources to attempt to narrow further (the 3.5gb WIM image is in there) and the issue occured with nothing inside of the sources folder on the root of the drive. The mere existence of the SOURCES folder on the root of the drive is the cause, just to double check I removed the whole folder, verified bt4 booted, and then created a new folder called sources - issue occurred upon restart.

    So anyway, to recreate this "ctrl-x and then enter to boot" issue, create an empty folder on the root of the flash drive (or possibly installation media (cd)?) called SOURCES. I am absolutely clueless on how to resolve this and think I may just have to live with it and press ctrl-x [enter]. Modification of the structure of the win7 install cd is not very well documented (and doesn't look easy from the small amount of research I've done) or I would just put it in another folder.


    Any suggestions?


    Thanks for the help everyone,
    Rob

  8. #8
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    6

    Default Re: bt4 r2 hangs at startup

    Well maybe modification of the bcd file used for Windows7 wasn't so hard after all:

    So I used bcdedit.exe to change bcd from this:

    Code:
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {globalsettings}
    default                 {default}
    displayorder            {default}
    toolsdisplayorder       {memdiag}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {default}
    device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    path                    \windows\system32\boot\winload.exe
    description             Windows Setup
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    systemroot              \windows
    detecthal               Yes
    winpe                   Yes
    ems                     Yes
    To this:
    Code:
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {globalsettings}
    default                 {default}
    displayorder            {default}
    toolsdisplayorder       {memdiag}
    timeout                 30
    
    Windows Boot Loader
    -------------------
    identifier              {default}
    device                  ramdisk=[boot]\win7aio\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    path                    \windows\system32\boot\winload.exe
    description             Windows Setup
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\win7aio\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    systemroot              \windows
    detecthal               Yes
    winpe                   Yes
    ems                     Yes
    I then copied everything on the drive and renamed "sources" to "win7aio"... Still no luck, it boots to an error . Apparently the \sources\ path is hard-coded in the WIM files that are referenced (or somewhere other than bcd). From what I've found online several threads on the topic of bcd modification state that it's not possible to make it look in another folder for it

    The only other workaround for this I can think of is to put the win7 cd on it's own partition, but I think that will interfere with the operation of the flash drive in Windows. (using a 64gb Corsair Survivor GTR for this project)


    If anyone knows of a way to get around the ctrl-x thing on bt4, has a workaround for the bcd "sources" deal, or has any other suggestions please feel free to pipe in. I really like BT4, but if I can't fix this I'll either have to deal with the ctrl-x deal or find another security distro (that probably wouldn't compare to bt4 ).


    Rob

  9. #9
    Just burned his ISO
    Join Date
    Dec 2010
    Posts
    6

    Default Re: bt4 r2 hangs at startup

    I did a google search and ran across this thread:
    http://www.backtrack-linux.org/forum...es-folder.html

    It's not just grub4dos, syslinux behaves in the same manner. Based on all the troubleshooting I've done thus far, the OP in the thread above does seem correct -- this looks like a bug specific to the BT distro. I have every other distro that ships with Katana (and Knoppix) running on the same drive and none of them have this issue when a folder called sources exists on the root of the drive.

Similar Threads

  1. Hangs when booting
    By devilsson2010 in forum OLD BT3final Support
    Replies: 4
    Last Post: 08-22-2008, 08:45 AM
  2. Bootup hangs
    By RedWind in forum OLD BT3final Support
    Replies: 1
    Last Post: 06-28-2008, 03:45 AM
  3. kbluetoothd Hangs
    By jay2005 in forum OLD BackTrack v2.0 Final
    Replies: 1
    Last Post: 05-20-2008, 03:49 PM
  4. BT3 hangs at boot
    By lippl in forum OLD BT3beta General
    Replies: 2
    Last Post: 04-22-2008, 09:48 PM
  5. Install to HD hangs
    By Skylinux in forum OLD BT3beta Software related issues
    Replies: 0
    Last Post: 12-15-2007, 08:26 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
  •