Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 50

Thread: Bt4 dual boot tutorial

  1. #31
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    ok first off fstab should look more like this. Remember to change ext3 to whatever file system you used for the boot partition. I'm assuming that sda2 is a /boot partition.


    /dev/sda2 /boot ext3 noatime 1 2
    /dev/sda3 none swap sw 0 0
    /dev/sda4 / reiserfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0


    Next lilo.conf should look a little more like this

    lba32
    boot = /dev/sda
    prompt
    timeout = 100
    change-rules
    vga = 0x317
    image = /boot/vmlinuz
    label = BT4
    root = /dev/sda4
    initrd = /boot/splash.initrd
    append = quiet
    read-only
    other = /dev/sda1
    label = Win7
    table = /dev/sda

    Chroot in and change that stuff and then run lilo -v again.

  2. #32
    Junior Member digitalfriction's Avatar
    Join Date
    Mar 2010
    Posts
    84

    Default

    pureh@te, you are quite simply a genius, that has worked perfectly.

    I am guessing that my main error was not including the boot and swap partitions in fstab, would this be correct?

    Thankyou very much for your help.

  3. #33
    Junior Member
    Join Date
    Nov 2008
    Posts
    32

    Default

    Any thoughts on the usb being recognized as sda and muddying up the lilo.conf preparation?

  4. #34
    Just burned his ISO
    Join Date
    Feb 2009
    Posts
    24

    Default

    I would just like to state that this was a great tutorial.... Thank you!

  5. #35
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    4

    Default

    hey thanks for the tutorial, however,I have a problem,im installing BT on another hdd, the first partition of it is my windows file storage partition, the other 3 im using for BT. My problem is, I followed all the steps,but BT said Warning this is not disk 1 when i was at the end. In other words, it wrote a mbr to my hdb. so when i try to boot from my other hdd (hdb) it says disk error insert system disk. but i can still log into windows normally if i boot from hda. so what lines do i need to change in order to boot correctly while having both os on different hdds. (i did change every hda in your tutorial to hdb) thanks in advance.

  6. #36
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    1

    Default

    hdd ınstall

    'Kernel panic - not syncing: No init found. Try passing init= option to kernel.'

    lba32
    boot = /dev/mdb
    root = /dev/mdb6
    # bitmap=/boot/sarge.bmp
    # bmp-colors=1,,0,2,,0
    # bmp-table=120p,173p,1,15,17
    # bmp-timer=254p,432p,1,0,0
    # install=bmp
    # delay=20
    prompt
    timeout=50
    # map=/boot/map
    vga=0x317
    image=/boot/vmlinuz
    label=BT4
    read-only
    initrd=/boot/splash.initrd
    append=quiet

    other=/dev/mdb1
    label=Windows7
    table=/dev/mdb1

  7. #37
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    20

    Smile

    Hello everybody as my first post i would like to congratulate anybody that had anything to do with this project. Best Distro out there followed only by Nubuntu.
    Anyway I barely and by following this and a couple of other guides out there installed and successfully double booted Windows Vista and Backtrack4b on my machine. Now here is where it got complicated. I had 2 partitions for my Vista files one contains the backed up system files and the other my running vista.
    So as you can see i was unable to install the 3 partitions allowed
    So i went in and with a double cooperation between cfdisk and qtparted i created a Reisfers partition /dev/sda3 17gb and i created a linux swap device at the end /dev/sda4 2.00gb
    then i went and only established the following
    mke2fs /dev/sda3
    and followed the copying all the files to /dev/sda3
    eg
    mkdir /mnt/bt
    mount /dev/sda3 /mnt/bt
    blah blah
    edited lilo executed it
    and everything has been going right im able to load backtrack 4 but im not sure that my swap partition is working with my reisfers linux.
    is there anyway to check this? maybe im just imagining things and maybe im just very paranoid about it knowing the perfectionist i am haha
    im also a complete noob for linux slax/backtrack environment so plz dont understand if my first post is stupid for i assure you im eager to learn
    thank you in advance
    I aint crazy just a lil mistaken

  8. #38
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    2

    Default

    I am quite new to Linux in general. I have figured out how to dual boot but i am wanting to know what each line does instead of just "cheating" by reading someone elses install instructions. Can anyone suggest where i can quickly look up what a command does and its breakdown of syntax?

    Also, i had to look up a video on installation so i guess im just that new but these are the additions i did and the ones i removed. Some of the lines seem close to the ones i replaced them with.

    cp --preserve -R /{bin,dev,home,pentest,root,usr,boot,etc,lib,opt,sb in,var} /mnt/bt/
    mkdir /mnt/bt/{mnt,tmp,proc,sys}
    # chmod 1777 /mnt/bt/tmp/
    mount --bind /dev/ /mnt/bt/dev/ # added

    mount -t proc proc /mnt/bt/proc/
    # mount -o bind /dev /mnt/bt/dev/
    cp /boot/vmlinuz /mnt/bt/boot/ # added

    chroot /mnt/bt/ /bin/bash

    The original wouldnt work but those lines did.

    Thanks.

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

    Default

    Quote Originally Posted by ang1dust View Post
    I am quite new to Linux in general. I have figured out how to dual boot but i am wanting to know what each line does instead of just "cheating" by reading someone elses install instructions. Can anyone suggest where i can quickly look up what a command does and its breakdown of syntax?
    What command are you wanting to learn about since there are hundreds of them?
    The easiest way is to read the man page/s
    # man insertcommandyouwanttolearnhere.
    example
    #man lspci
    Or use the internet, after all there is more to it than pr0n.

    The original wouldnt work but those lines did.
    Thanks.
    This is because of your first statement above.
    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.

  10. #40
    Just burned his ISO
    Join Date
    Mar 2009
    Posts
    2

    Default

    Reply with something useful. Obviously i look on the internet and yes i want to learn more about the commands. I loved dos when i was young and wish i had this in my hands. I am requesting if there is one, a "quick reference" guide or anything similar as a manual. Im no where near a noob to computers, only linux.

    Thanks.

Page 4 of 5 FirstFirst ... 2345 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
  •