Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: BackTrack 2 Dual Boot with XP

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Posts
    29

    Default BackTrack 2 Dual Boot with XP

    Hi

    I have created 4 partitions on my Laptop HD as follows:

    1. Windows - 45GB
    2. BackTrack2 - 4GB
    3. Linux Swap - 1GB
    4. FAT32 - 5GB

    Problem is that whenever I boot up the PC, Backtrack 2 loads up and not WIN XP.....how do I create a boot loader so I can choose which OS i want it to start?!?!

    Please help.

    Thanks
    PT08

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

    Default

    Quote Originally Posted by pentest2008 View Post
    Hi

    I have created 4 partitions on my Laptop HD as follows:

    1. Windows - 45GB
    2. BackTrack2 - 4GB
    3. Linux Swap - 1GB
    4. FAT32 - 5GB

    Problem is that whenever I boot up the PC, Backtrack 2 loads up and not WIN XP.....how do I create a boot loader so I can choose which OS i want it to start?!?!

    Please help.

    Thanks
    PT08
    I am having trouble setting up a wireless network using BackTrack 2.
    What happened about your other problem from your first post?

    You need to search on the forums here and google
    use this as a search term "lilo.conf" or "Dual Boot"
    it has been posted here numerous times already.
    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.

  3. #3
    Junior Member
    Join Date
    Jan 2008
    Posts
    29

    Default

    my first problem I though I could solve by installing BackTrack 2 to the HD and now I can't get back to windows lol.

    I will search for them terms and post back.

  4. #4
    Junior Member
    Join Date
    Jan 2008
    Posts
    29

    Default

    still cannot seem to get it to dual-boot!!! AARGH.

    /dev/sda1 in GParted is flagged as boot

    /dev/sda2 is my second partition which contains the following:

    /dev/sda3 - BackTrack 2 (ext3)
    /dev/sda4 - Linux-Swap
    /dev/sda5 - FAT32

    Do I let it boot into BackTrack 2 and then create a lilo.conf ???

  5. #5
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Yes. watch the dual boot video on the wiki and pick it up at the lilo part.

  6. #6
    QuietStorm
    Guest

    Default

    Seems like you have not edited lilo file, or edited it wrong, and maybe you did it correctly, but not even started it with "lilo -v" ...

  7. #7
    Junior Member
    Join Date
    Jan 2008
    Posts
    29

    Default

    ok my lilo.conf is like this:

    lba32 # Allow booting past 1024th cylinder with a recent BIOS
    boot = /dev/hda
    prompt
    timeout = 1200
    bitmap=/boot/splash.bmp
    change-rules
    reset
    vga = 0x317

    #Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/hda6
    initrd = /boot/splash.initrd
    label = bt
    read-only
    # Linux bootable partition config ends

    other=/dev/sda1
    label=Windows
    table=/dev/sda

    when I execute lilo.conf, I get the following:

    Reading boot sector from /dev/hda
    Warning: Kernel & BIOS return differing head/sector geometries for device 0x80
    Kernel: 65535 cylinders, 16 heads, 63 sectors
    BIOS: 1022 cylinders, 240 heads, 63 sectors
    Using BITMAP secondary loader

    Calling map_insert_data
    Mapping bitmap file /boot/splash.bmp
    Calling map_insert_file

    Boot image: /boot/vmlinuz
    Mapping RAM disk /boot/splash.initrd
    Added bt *

    Boot other: /dev/sda1, on dev/sda, loader CHAIN
    Fatal: open /dev/sda1: No such file or directory


    Please advise what I need to do.

    Thanks
    PT08

  8. #8
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    3

    Default

    Try putting "#Windows bootable partition config begins" before your windows partition info and "# Windows bootable partition config ends" after it. That is how mine way set up when I had BT2 installed on my laptop. Also make sure you use the correct type of hard disk consistantly in your lilo.conf file, hda or sda which ever is applicable in your case.

  9. #9
    Developer balding_parrot's Avatar
    Join Date
    May 2007
    Posts
    3,399

    Default

    Quote Originally Posted by Jsaleen View Post
    Try putting "#Windows bootable partition config begins" before your windows partition info and "# Windows bootable partition config ends" after it. That is how mine way set up when I had BT2 installed on my laptop.
    That will make no difference at all, as they are only comments intended to make easier reading for the user when editing and have no bearing on the actual file written by lilo.

    Quote Originally Posted by pentest2008 View Post
    ok my lilo.conf is like this:

    lba32 # Allow booting past 1024th cylinder with a recent BIOS
    boot = /dev/hda
    prompt
    timeout = 1200
    bitmap=/boot/splash.bmp
    change-rules
    reset
    vga = 0x317

    #Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/hda6
    initrd = /boot/splash.initrd
    label = bt
    read-only
    # Linux bootable partition config ends

    other=/dev/sda1
    label=Windows
    table=/dev/sda

    when I execute lilo.conf, I get the following:

    Reading boot sector from /dev/hda
    Warning: Kernel & BIOS return differing head/sector geometries for device 0x80
    Kernel: 65535 cylinders, 16 heads, 63 sectors
    BIOS: 1022 cylinders, 240 heads, 63 sectors
    Using BITMAP secondary loader

    Calling map_insert_data
    Mapping bitmap file /boot/splash.bmp
    Calling map_insert_file

    Boot image: /boot/vmlinuz
    Mapping RAM disk /boot/splash.initrd
    Added bt *

    Boot other: /dev/sda1, on dev/sda, loader CHAIN
    Fatal: open /dev/sda1: No such file or directory


    Please advise what I need to do.

    Thanks
    PT08
    You have a mixture of hda and sda references in there, it appears that from what you are getting in the error message that your sda should be hda instead.

  10. #10
    Junior Member
    Join Date
    Jan 2008
    Posts
    29

    Default

    OK, my lilo.conf now looks like this:

    ba32 # Allow booting past 1024th cylinder with a recent BIOS
    boot = /dev/hda
    prompt
    timeout = 1200
    bitmap=/boot/splash.bmp
    change-rules
    reset
    vga = 0x317

    #Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/hda6
    initrd = /boot/splash.initrd
    label = bt
    read-only
    # Linux bootable partition config ends

    # Windows bootable partition config begins
    other=/dev/hda1
    label=Windows
    table=/dev/hda
    # Windows bootable partition config ends


    I don't think it is recognising the Windows partition - not sure if it is mounted, how do I do that? I want to keep all WIN XP data though.

Page 1 of 2 12 LastLast

Posting Permissions

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