Results 1 to 4 of 4

Thread: Dual boot w Ubuntu problem

  1. #1
    Just burned his ISO
    Join Date
    Dec 2006
    Posts
    3

    Default Dual boot w Ubuntu problem

    Just decided that i wanted to have a proper BT install rather than waiting forn the liveCD to load, install went well but thought that the bootloader would be as smart as the GRUB loader that came with Ubuntu and would atoconf - no such luck...
    Now system boots up straight into BT through LILO, and I'm not sure how to restore GRUB or setup LILO, tried using the guides to help by following the instructions for XP dual boot - LILo.conf:
    boot = /dev/sda
    prompt
    timeout = 20
    bitmap=/boot/splash.bmp
    change-rules
    reset
    vga = 0x317
    default=Ubuntu
    image = /boot/vmlinuz
    root = /dev/sda3
    initrd = /boot/splash.initrd
    label = Backtrack
    read-only
    other=/dev/sda1
    label=Ubuntu
    table=/dev/sda

    But error message on lilo -v:

    Warning: LBA32 addressing assumed
    Reading boot sector from /dev/sda
    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 Backtrack

    Boot other: /dev/sda1, on /dev/sda, loader CHAIN
    Fatal: First sector of /dev/sda1 doesn't have a valid boot signature

    Now scared to reboot in case I have bricked MBR any suggestions?

  2. #2
    Senior Member shamanvirtuel's Avatar
    Join Date
    Mar 2010
    Location
    Somewhere in the "Ex" human right country
    Posts
    2,988

    Default

    next time usb..... more reliable than hard drive real installs
    Watch your back, your packetz will belong to me soon... xD

    BackTrack :
    Giving Machine Guns to Monkeys since 2006

  3. #3
    Just burned his ISO
    Join Date
    Dec 2006
    Posts
    3

    Default

    hehe, thanks...

  4. #4
    Just burned his ISO
    Join Date
    Dec 2006
    Posts
    3

    Default

    Problem solved.

    In backtrack or other linux


    Code:
    $ cvs -z3 -d:psnerver:anonymous@cvs.savannah.gnu.org:/sources/grub co grub
    $ cd /root/grub

    $ ./configure

    $ make install grub



    Then as Ubuntu forum user Catlett suggests:


    Code:

    sudo grub

    This will get you a "grub>" prompt (i.e. the grub shell). At grub>. enter these commands

    Code:

    find /boot/grub/stage1

    This will return a location. If you have more than one, select the installation that you want to provide the grub files.
    Next, THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub>. when you enter the next 3 commands)

    Code:

    root (hd?,?)

    Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)

    Next enter the command to install grub to the mbr

    Code:

    setup (hd0)

    Finally exit the grub shell
    Code:

    quit

    That is it. Grub will be installed to the mbr.
    When you reboot, you will have the grub menu at startup.

Posting Permissions

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