Results 1 to 2 of 2

Thread: Grub + Debian + Backtrack

  1. #1
    Just burned his ISO
    Join Date
    Sep 2008
    Posts
    1

    Default Grub + Debian + Backtrack

    Hoping my english will not betray me, i want to share my problem, and maybe be usefull for you in something else.

    On my notebook i've installed windows (i know, but i need it), Debian Sid and Backtrack 3, but i've no idea about how to boot backtrack, i've searched a long but noghing seems to work.

    Code:
    Black-Star:/home/xeron# fdisk -lu
    
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x4d2e4d2d
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *          63   163846934    81923436    7  HPFS/NTFS
    /dev/sda2       163846935   167847119     2000092+  82  Linux swap / Solaris
    /dev/sda3       167847120   460808459   146480670   83  Linux
    /dev/sda4       460808460   488392064    13791802+  83  Linux
    sda1 Win
    sda2 Swap
    sda3 Debian Sid
    sda4 Backtrack 3

    and that's the grub.cfg

    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/update-grub using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    set default=0
    set timeout=5
    set root=(hd0,3)
    search --fs-uuid --set 50f84cfb-5b31-4e8c-88a4-75393e04ed94
    if font /usr/share/grub/ascii.pff ; then
      set gfxmode=640x480
      insmod gfxterm
      insmod vbe
      terminal gfxterm
    fi
    ### END /etc/grub.d/00_header ###
    
    
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set root=(hd0,3)
    search --fs-uuid --set 50f84cfb-5b31-4e8c-88a4-75393e04ed94
    insmod png
    if background_image /boot/grub/debian-blueish-wallpaper-640x480.png ; then
      set color_normal=black/black
      set color_highlight=magenta/black
    else
      set menu_color_normal=cyan/blue
      set menu_color_highlight=white/blue
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_hurd ###
    ### END /etc/grub.d/10_hurd ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    set root=(hd0,3)
    search --fs-uuid --set 50f84cfb-5b31-4e8c-88a4-75393e04ed94
    menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
    	linux	/boot/vmlinuz-2.6.26-1-686 root=/dev/sda3 ro  
    	initrd	/boot/initrd.img-2.6.26-1-686
    }
    menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
    	linux	/boot/vmlinuz-2.6.26-1-686 root=/dev/sda3 ro single 
    	initrd	/boot/initrd.img-2.6.26-1-686
    }
    ### END /etc/grub.d/10_linux ###
    menuentry "BackTrack 3" {
            kernel /boot/vmlinuz root=/dev/sda4 ro
    }
    
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_otheros ###
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    menuentry "Microsoft Windows XP Home Edition" {
    	set root=(hd0,1)
    	chainloader +1
    }
    ### END /etc/grub.d/30_otheros ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file is an example on how to add custom entries
    ### END /etc/grub.d/40_custom ###
    thanks a lot for the help!

  2. #2
    Member
    Join Date
    Sep 2008
    Posts
    306

    Default

    give that a try:

    {
    menuentry "Backtrack3"
    root (hd0,4)
    kernel /BT3/vmlinuz root=/dev/sda4
    }
    Another grub.cfg postet in another thread:

    Quote Originally Posted by drwalter View Post
    title Backtrack 3 KDE
    rootnoverify (hd0,2)
    kernel /boot/vmlinuz vga=791 root=/dev/sda3 ro autoexec=xconf;kdm
    boot


    title Backtrack 3
    rootnoverify (hd0,2)
    kernel /boot/vmlinuz vga=791 root=/dev/sda3 ro
    boot

    REMEMBER: hd0,2 would be for partition 3 NOT 2. Change accordingly!
    <terminal86>

Posting Permissions

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