Results 1 to 8 of 8

Thread: BT4 USB Boot problem - Grub

  1. #1
    Just burned his ISO falcaun's Avatar
    Join Date
    Apr 2009
    Posts
    9

    Post BT4 USB Boot problem - Grub

    Please I need help editing grub.
    This is my second installation ob BT on a USB stick.
    The first was BT3 and it worked without a glitch, but I am having problem with BT4.

    My installation went well. I am using a 8 gig USB stick. I formated according to install sh: 'Guided - use entire disk' , on advanced I selected /dev/sdb1 for the boot loader.
    But is does not boot from the USB stick.

    I don't understand this comment: but they will not be bootable (which is normal because you are booting from a USB stick).

    I know that I have to edit grub; nano /boot/grub/menu.lst) and remove the fake loaders, but what are the fake loaders?

    Please note that I have dual boot: Windows XP and Ubuntu.
    Here is my menu.lst: (sorry, it is long)

    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.

    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0

    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 10

    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu

    # Pretty colours
    #color cyan/blue white/blue

    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret

    #
    # examples
    #
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    #
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    #

    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below

    ## DO NOT UNCOMMENT THEM, Just edit them to your needs

    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=882c089a-abb9-43bd-bc03-d900d2a6ab29 ro

    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=882c089a-abb9-43bd-bc03-d900d2a6ab29

    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true

    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false

    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=0x317 resume=/dev/hda5
    # defoptions=vga=0x317

    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false

    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=

    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0

    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single

    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all

    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true

    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false

    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false

    ## ## End Default Options ##

    splashimage=882c089a-abb9-43bd-bc03-d900d2a6ab29/boot/grub/splash.xpm.gz

    title Ubuntu 8.10, kernel 2.6.29.4
    uuid 882c089a-abb9-43bd-bc03-d900d2a6ab29
    kernel /boot/vmlinuz-2.6.29.4 root=UUID=882c089a-abb9-43bd-bc03-d900d2a6ab29 ro quiet splash
    initrd /boot/initrd.img-2.6.29.4
    quiet

    title Ubuntu 8.10, kernel 2.6.29.4 (recovery mode)
    uuid 882c089a-abb9-43bd-bc03-d900d2a6ab29
    kernel /boot/vmlinuz-2.6.29.4 root=UUID=882c089a-abb9-43bd-bc03-d900d2a6ab29 ro single
    initrd /boot/initrd.img-2.6.29.4

    title Ubuntu 8.10, memtest86+
    uuid 882c089a-abb9-43bd-bc03-d900d2a6ab29
    kernel /boot/memtest86+.bin
    quiet

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title Other operating systems:
    root


    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title Microsoft Windows XP Professional
    root (hd0,0)
    savedefault
    chainloader +1


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-19-generic (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro quiet splash
    initrd /boot/initrd.img-2.6.24-19-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode) (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro single
    initrd /boot/initrd.img-2.6.24-19-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-18-generic (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro quiet splash
    initrd /boot/initrd.img-2.6.24-18-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-18-generic (recovery mode) (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-18-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro single
    initrd /boot/initrd.img-2.6.24-18-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-17-generic (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro quiet splash
    initrd /boot/initrd.img-2.6.24-17-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-17-generic (recovery mode) (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-17-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro single
    initrd /boot/initrd.img-2.6.24-17-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-16-generic (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro quiet splash
    initrd /boot/initrd.img-2.6.24-16-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro single
    initrd /boot/initrd.img-2.6.24-16-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.22-14-generic (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro quiet splash
    initrd /boot/initrd.img-2.6.22-14-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda2)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=cb3486d6-0730-4236-a4b5-02ca6bb81f51 ro single
    initrd /boot/initrd.img-2.6.22-14-generic
    savedefault
    boot


    # This entry automatically added by the Debian installer for an existing
    # linux installation on /dev/sda2.
    title Ubuntu 8.04.1, memtest86+ (on /dev/sda2)
    root (hd0,1)
    kernel /boot/memtest86+.bin
    savedefault
    boot


    Thank you,
    Falcaun

  2. #2
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    How does this qualify as a How To???
    dd if=/dev/swc666 of=/dev/wyze

  3. #3
    Just burned his ISO falcaun's Avatar
    Join Date
    Apr 2009
    Posts
    9

    Thumbs down Noob-proof - BT4 USB installation

    Sorry, did not mean to be a tutorial.
    I guess I don't know how to use the Forum.
    I need help fixing my BT4 USB stick installation.
    I don't know what to remove from grub's menu.lst; it doesn't boot.

    Also how can I recall the post "Noob-proof - BT4 USB installation" and change the little?

    Thks,

    Falcaun.

  4. #4
    Member
    Join Date
    Jan 2010
    Posts
    332

    Default

    I guess you were following my tut. You could've just replied there (and was supposed to).

    The installer will write the GRUB onto your USB but will include every installed system it detects on the machine you are using to create the USB > they will appear when booting from the USB but will not work (the lines referring to othe OS's) > fake loaders.

    As you can see from your menu.lst > you have winXP and Ubuntu 8.04 installed on your machine so grub included them too. But if you boot from the USB they won't work, only BT4 will (Ubuntu 8.10)

    So you can erase everything from the "title Other operating systems:" down from the menu.lst on your USB.

    And for not being able to boot the USB - did you set your machine to boot from it?
    SecurityTube has two new sections. Questions & News

  5. #5
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by falcaun View Post
    Also how can I recall the post "Noob-proof - BT4 USB installation" and change the little?
    Just click on the report post button on the top right side of your post.
    It looks like a little ! mark in a triangle. And then write in the box, posted in the wrong section.
    Never mind I did it for you.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  6. #6
    Junior Member JoeleZ's Avatar
    Join Date
    May 2009
    Posts
    50

    Default

    Quote Originally Posted by falcaun View Post
    Sorry, did not mean to be a tutorial.
    I guess I don't know how to use the Forum.
    I need help fixing my BT4 USB stick installation.
    I don't know what to remove from grub's menu.lst; it doesn't boot.

    Also how can I recall the post "Noob-proof - BT4 USB installation" and change the little?

    Thks,

    Falcaun.
    Yeah, maybe you should read the rules first.
    Don't say you didn't know if you haven't read any rules.
    No offense but i was once post in the wrong section like you do. hehehehehe.
    This thread should be in general support.

    for changing the title you can try press edit, then refresh it.
    There you can change the title.
    Remember, it's no use to change he title, because this is not a right place to asking How to fix this. This thread supposed to be share How to do a "thing".

    Regards,
    JoeleZ

  7. #7
    Just burned his ISO
    Join Date
    May 2009
    Posts
    24

    Default

    Quote Originally Posted by falcaun View Post
    Sorry, did not mean to be a tutorial.
    I guess I don't know how to use the Forum.
    [...]
    Hi,

    Please don't be hurry the next time. You don't need to know how to use the forum to post on the good section.
    Read forum rules carefully.

    Regards.

    ps: The title was modified for a better clearness
    [I]we are god[/I]

  8. #8
    Just burned his ISO falcaun's Avatar
    Join Date
    Apr 2009
    Posts
    9

    Lightbulb Need help editing grub menu.lst - BT4 USB install

    Thank you all for your help.
    Using the forum is new to me. I will get more comfortable with use.
    I will edit grub's menu.lst as suggested.
    I have now BT3 USB up and running; fortunately my BIOS boots from the USB port from the factory.
    BT4 is great. It worked well right out of the box. A great achievement.
    I am running it on the Live CD, but it is slow, so hopefully I can get the USB installation up and running soon.

    Thank you all.

Posting Permissions

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