Results 1 to 6 of 6

Thread: Dual Boot Install

  1. #1
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    2

    Default Dual Boot Install

    Good day!

    I'm playing around with the Back Track 5 distro - and I went to install it on my test pc. I already have a copy of ubuntu running on this machine, and I followed all the instructions on screen for running a dual boot machine with ubuntu and back track sharing my 500gb drive. The partitioning said it was going to split the drive in half which was fine with me. When it said it was finished, I rebooted, and after post it never makes it to the grub screen for selecting what os to load, it just reboots. Over and over n over. . . . hrm . .. .

    Well I'm not too worried about it because it's just a play machine. But I'm learning linux and I'm not really sure where to look at this point. I know I can still boot on the back track CD - but I'm not exactly sure what too look for after that. I can access the drive from the boot cd, so I was thinking I needed to find the grub and see what happened with that.

    I love it! Lol!

  2. #2
    Senior Member
    Join Date
    Jul 2011
    Posts
    236

    Default Re: Dual Boot Install

    If you are just learning linux..... Why are you playing with BackTrack????

    But I will help you..... Load the boot cd.....I'm going to "Assume /dev/sda is yer HD...and that /dev/sda1 is yer original ubuntu installation....with /dev/sda2 being BT....>These are general assumptions


    When you get a terminal up do:
    mkdir mt
    mount /dev/sda1 mt
    cp mt/boot/grub/grub.cfg ~


    Then paste that grub.cfg file in response to me....and we'll see what is going on

    In the meantime...>Ask yerself......Why are u playing with backtrack???? Why are you trying to learn basic *nix troubleshooting with an O/S such as this?

  3. #3
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    1

    Default Re: Dual Boot Install

    First, Im not learning linux on backtrack

    I am, however, having trouble installing in onto my box. ive been running BT from the live-usb for a while and i love it. Trouble is, i cant save anything once im done. For some reason the installation hangs after the region selection. ive tried to install ubuntu and that works just fine, installed without a hitch.

    any advice?

    oh and i accidentally wiped out my windows7 OS (not too heartbroken about that).

  4. #4
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    2

    Default Dual Boot Install

    Well I say just learning, I'm an old dos person and I've been playing with different OS's since like 1985. So I have played on and off with Linux, and knew enough to be DANGERous with any linux distro. I've setup some linux boxes to run our software applications and some samba shares for testing. I'm reading a lot about network security and intrusion prevention. Been dealing with a lot of PCI compliance testing, which is a huge SCAM in my opinion but that's another story. I really want to go into forensics even if it will always just be a hobby, and I love to play and learn all the time so . here I am. I'm a 2003 mcse so I got SOME skills lol. . .. . . even if only in my head . . . . Anyway. . . .

    Now what I have done since I first posted (I got bored, and the race was rained out, and still no college football!) and wanted to solve the problem. This machine I'm playing with is one that everyone in the family will use when they want to do something quickly. We all have laptops, but this desktop is mine to play with but I keep it available for everyone. The kids had been complaining they couldn't run some windows apps and I got tired of trying to get them to work on Wine, it kept crashing, literally everything. So I just put windows xp back on it and brought it back up to speed with patches, then put my acronis on it and imaged the drive in case I had something like this happen again.

    So where I am now. I didn't want to share the XP drive with the Back Track, which is what it tries to do automatically. So I told it I would do the partitioning manually. I created a /, /boot, /home and a swap partition on a separate sata drive in my box, and from all indications the install went fine. I realize now that I probably didn't need to do all that, it was just something I read somewhere and was playing around with. The install (under the Advanced radio button) said that it was going to install a boot loader which I assumed would be grub? . . . . anyway. this time once I rebooted, the xp auto loaded, so I can only assume that the boot loader was either installed in the wrong place or wasn't installed. I can see everything on all my drives within the CD launched version of BT5. So the stuff is there. . . .

    Can't seem to find a packaged boot loader installer. Ok long story sorry to bore -

    not having any luck with the command lines you gave me but I found my grub.cfg in the /boot/grub container -

    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
      load_env
    fi
    set default="0"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    
    function recordfail {
      set recordfail=1
      if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    }
    if [ ${recordfail} = 1 ]; then
      set timeout=-1
    else
      set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    
    ### BEGIN /etc/grub.d/05_debian_theme ###/dev/sdd1
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.38' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,1)'/dev/sdd1
    	search --no-floppy --fs-uuid --set 1c8323a7-c6e3-4e8a-b409-96a09257d185
    	linux	/boot/vmlinuz-2.6.38 root=UUID=1c8323a7-c6e3-4e8a-b409-96a09257d185 ro   text splash nomodeset vga=791
    	initrd	/boot/initrd.img-2.6.38
    }
    menuentry 'Ubuntu, with Linux 2.6.38 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 1c8323a7-c6e3-4e8a-b409-96a09257d185
    	echo	'Loading Linux 2.6.38 ...'
    	linux	/boot/vmlinuz-2.6.38 root=UUID=1c8323a7-c6e3-4e8a-b409-96a09257d185 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.38
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 1c8323a7-c6e3-4e8a-b409-96a09257d185
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 1c8323a7-c6e3-4e8a-b409-96a09257d185
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    if [ ${timeout} != -1 ]; then
      if keystatus; then
        if keystatus --shift; then
          set timeout=-1
        else
          set timeout=0
        fi
      else
        if sleep --interruptible 3 ; then
          set timeout=0
        fi
      fi
    fi
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    I also ran an fdisk -l

    /dev/sda is my xp partition/drive
    /dev/sdb - i'm pretty sure that is the mirrored drive to my xp drive
    /dev/sdc - is the 160 gb drive I want the BT5 to reside on
    /dev/sdd - is the drive I am keeping my acronis images on

    I could be mistaken but it kind of looks like to me the boot loader was put onto the /dev/sdd drive.

    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b390c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       60799   488367936    7  HPFS/NTFS
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000b390c
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       60799   488367936    7  HPFS/NTFS
    
    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xb0000000
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1        1216     9764864   83  Linux
    /dev/sdc2            1216        1703     3906560   82  Linux swap / Solaris
    /dev/sdc3            1703       19458   142616577    5  Extended
    /dev/sdc5            1703        4134    19529728   83  Linux
    /dev/sdc6            4134       19458   123085824   83  Linux
    
    Disk /dev/sdd: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x425359de
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdd1   *           1       60801   488384001    7  HPFS/NTFS

  5. #5
    Senior Member
    Join Date
    Jul 2011
    Posts
    236

    Default Re: Dual Boot Install

    cvau89,

    I've responded via email. I don't want to clog the post with our responses.... if we are successful with the experiment, we shall post our results, sound like a plan?


    V/r,
    Snafu
    Pffbt..
    Couldn't think of one....

  6. #6
    Just burned his ISO
    Join Date
    Jul 2011
    Posts
    7

    Default Re: Dual Boot Install

    You do not need any where close to a 250g partition for backtrack.

Similar Threads

  1. Need help with dual boot install
    By JaimyvS in forum Beginners Forum
    Replies: 5
    Last Post: 04-04-2010, 12:55 AM
  2. install.sh after dual boot
    By progenocide in forum Beginners Forum
    Replies: 1
    Last Post: 02-26-2010, 09:41 AM
  3. BackTrack 4 Dual boot Install
    By purehate in forum OLD Official BT videos
    Replies: 3
    Last Post: 10-14-2009, 08:49 PM
  4. Dual boot HDD install via LAN on an XP machine?
    By Goldhedge in forum OLD BackTrack 4 (pre) Final
    Replies: 0
    Last Post: 10-06-2009, 04:44 AM
  5. BackTrack 4 Dual boot Install
    By muts in forum OLD BackTrack News
    Replies: 0
    Last Post: 05-31-2009, 01:53 AM

Posting Permissions

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