Results 1 to 9 of 9

Thread: GRUB borked - using F12 to boot

  1. #1
    Join Date
    Aug 2007
    Location
    So. Cal
    Beans
    94
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    GRUB borked - using F12 to boot

    I'm having trouble with my GRUB,

    I have Ubuntu 9.04 with 3 internal HDs. 160GB w/ Ubuntu 9.04, 80GB blank, and 10GB w/ Haiku RC1. Let me explain what I did and what is happening:

    I had computer working fine with the 160GB & 80GB HDs. I added the 10GB HD for Haiku. After I added the 10GB HD, I got a "Verifying DMI pool data" error and after reading found that it meant the new HD was not recognized. So I adjusted BIOS to get it recognized again. I booted off Ubuntu live and all three HD were recognized. I then booted Haiku CD and installed it on the 10GB.

    Note, I had not yet tried to adjust GRUB yet to make it dual-boot. I just tried to reboot to my Ubuntu HD to make sure things worked, but when it gets to GRUB on boot it only shows
    Code:
    GRUB  GRUB
    I have to reboot and press F12 and get the boot menu that lets me choose HD from first list and then lets me choose the 160GB HD from the list of my 3 HDs. Once I get that, computer boots normal to Ubuntu 9.04

    This is what I get from grub menu.lst:
    Code:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default         0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    I could not figure out what other information to post, if someone can let me know, hopefully I can provide more information to fix my GRUB problem. TIA
    Mac user - Linux noob - Haiku tester
    Pentium E6300 2.8GHz / 2GB RAM / 160-80GB HDs / 512MB GeForce 8400 GS / iMic Audio
    Mac OS 10.7.5 / Ubuntu Studio 12.04

  2. #2
    Join Date
    Feb 2009
    Beans
    Hidden!

    Re: GRUB borked - using F12 to boot

    So I adjusted BIOS to get it recognized again. I booted off Ubuntu live and all three HD were recognized. I then booted Haiku CD and installed it on the 10GB.
    Where did you install the bootloader of haiku? in the MBR of the hd set to boot first in BIOS, which I assume is the 160gb? Or, in the MBR (or partition) of the 10gb?

    Have you tried to re-install grub-legacy and then chainload haikuRC to it?
    "The key to everything is patience. You get the chicken by hatching the egg, not by smashing it" .... A. Glasow

  3. #3
    Join Date
    Dec 2009
    Beans
    527

    Re: GRUB borked - using F12 to boot

    I booted off Ubuntu live and all three HD were recognized. I then booted Haiku CD and installed it on the 10GB.
    Between Ubuntu live, and then Haiku CD, did you boot Ubuntu from hard disk, and format the 10G?

    Is Ubuntu GRUB loader still the default bootloader? If so, boot up Ubuntu, and post fdisk -l contents from command line terminal...

  4. #4
    Join Date
    Aug 2007
    Location
    So. Cal
    Beans
    94
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: GRUB borked - using F12 to boot

    raymondh-- I had not yet installed the boot loader for Haiku. The intructions tell me to add it to my Grub. And yes, the 160GB is supposed to be first (main OS).

    When I booted with F12, after I chose my 160GB HD in the boot menu it will show
    Code:
    Grub stage 1.5
    and then do a normal boot to the Ubuntu log-in. I have not yet done anything so as not to make things worse.

    Moozila-- I booted the Ubuntu live disc to give the 10GB HD a MSDOS partion table and then format to ext3 because it did not install when I left it as empty.

    I then rebooted to Haiku live disc and used the installer to format 10GB HD as BFS (Be file system) and install Haiku. Instructions say that HD is bootable, but needs to be added to Grub or another boot loader.

    Here is fdisk -l contents:

    Code:
    jaleman@bebox:~$ sudo fdisk -l
    
    Disk /dev/sda: 10.2 GB, 10242957312 bytes
    255 heads, 63 sectors/track, 1245 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0006bce6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1245    10000431   83  Linux
    
    Disk /dev/sdb: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    
    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000ed385
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       18716   150336238+  83  Linux
    /dev/sdc2           18717       19457     5952082+   5  Extended
    /dev/sdc5           18717       19457     5952051   82  Linux swap / Solaris
    One more thing, if its too much trouble I am ok with Haiku being wiped. I do have it running ok on Virutal Box.
    Mac user - Linux noob - Haiku tester
    Pentium E6300 2.8GHz / 2GB RAM / 160-80GB HDs / 512MB GeForce 8400 GS / iMic Audio
    Mac OS 10.7.5 / Ubuntu Studio 12.04

  5. #5
    Join Date
    Feb 2009
    Beans
    Hidden!

    Re: GRUB borked - using F12 to boot

    Quote Originally Posted by natgab View Post
    raymondh-- I had not yet installed the boot loader for Haiku. The intructions tell me to add it to my Grub. And yes, the 160GB is supposed to be first (main OS).

    When I booted with F12, after I chose my 160GB HD in the boot menu it will show
    Code:
    Grub stage 1.5
    and then do a normal boot to the Ubuntu log-in. I have not yet done anything so as not to make things worse.

    Moozila-- I booted the Ubuntu live disc to give the 10GB HD a MSDOS partion table and then format to ext3 because it did not install when I left it as empty.

    I then rebooted to Haiku live disc and used the installer to format 10GB HD as BFS (Be file system) and install Haiku. Instructions say that HD is bootable, but needs to be added to Grub or another boot loader.

    Here is fdisk -l contents:

    Code:
    jaleman@bebox:~$ sudo fdisk -l
    
    Disk /dev/sda: 10.2 GB, 10242957312 bytes
    255 heads, 63 sectors/track, 1245 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0006bce6
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1               1        1245    10000431   83  Linux
    
    Disk /dev/sdb: 81.9 GB, 81964302336 bytes
    255 heads, 63 sectors/track, 9964 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000
    
       Device Boot      Start         End      Blocks   Id  System
    
    Disk /dev/sdc: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x000ed385
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1               1       18716   150336238+  83  Linux
    /dev/sdc2           18717       19457     5952082+   5  Extended
    /dev/sdc5           18717       19457     5952051   82  Linux swap / Solaris
    One more thing, if its too much trouble I am ok with Haiku being wiped. I do have it running ok on Virutal Box.
    After tinkering around in BIOS to have sdc 'recognized' ... have you tried to set sdc as first to boot in BIOS and then re-install grub legacy? If so, did you encounter the same "not recognized" error for sda?

    For chainloading (am curious as well for the BFS filesystem).. here's a reference from Herman.

    Regards,

    Raymond
    "The key to everything is patience. You get the chicken by hatching the egg, not by smashing it" .... A. Glasow

  6. #6
    Join Date
    Aug 2007
    Location
    So. Cal
    Beans
    94
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    [SOLVED} Re: GRUB borked - using F12 to boot

    Quote Originally Posted by raymondh View Post
    After tinkering around in BIOS to have sdc 'recognized' ... have you tried to set sdc as first to boot in BIOS and then re-install grub legacy? If so, did you encounter the same "not recognized" error for sda?

    For chainloading (am curious as well for the BFS filesystem).. here's a reference from Herman.

    Regards,

    Raymond
    --Raymond,

    I tried again editing the BIOS, and this time it seems to have accepted my 160GB Ubuntu Studio 9.04 as startup again.

    I previously had in Hard Disk boot priority:10GB first, 80GB second and 160GB third with add-in cards last
    But if everything is working right, shouldn't the system just work its way down untill it reaches a bootable system?

    Anyway, I went and changed to: 160GB first, 80GB second and 10GB third with add-in cards last and it rebooted normal again. I also rebooted again and checked my Grub list. Currently it just show several version of ubuntu 9.04, regular, safemode, realtime kernel, memtest.

    Thanks for the tip on the grub page. I will reread it and ask over at the Haiku forums to see who is dual-booting with Linux. Obviously if I get it working I will write up a tutorial for both forums.
    Mac user - Linux noob - Haiku tester
    Pentium E6300 2.8GHz / 2GB RAM / 160-80GB HDs / 512MB GeForce 8400 GS / iMic Audio
    Mac OS 10.7.5 / Ubuntu Studio 12.04

  7. #7
    Join Date
    Feb 2009
    Beans
    Hidden!

    Re: [SOLVED} Re: GRUB borked - using F12 to boot

    Quote Originally Posted by natgab View Post
    --Raymond,

    I tried again editing the BIOS, and this time it seems to have accepted my 160GB Ubuntu Studio 9.04 as startup again.

    I previously had in Hard Disk boot priority:10GB first, 80GB second and 160GB third with add-in cards last
    But if everything is working right, shouldn't the system just work its way down untill it reaches a bootable system?


    TRUE, if you only have one OS


    Anyway, I went and changed to: 160GB first, 80GB second and 10GB third with add-in cards last and it rebooted normal again. I also rebooted again and checked my Grub list. Currently it just show several version of ubuntu 9.04, regular, safemode, realtime kernel, memtest.

    Thanks for the tip on the grub page. I will reread it and ask over at the Haiku forums to see who is dual-booting with Linux. Obviously if I get it working I will write up a tutorial for both forums.
    Glad you have it working. Remember that the MBR of the HD that is set to boot first in BIOS will always be 'dominant' (/boot not withstanding). That said, if GRUB is installed in that MBR, it will be in control and pass on the booting to the appropriate areas.

    As an example, I am 3-booting, one of them being OSX. Grub is installed in the MBR of the HD. OSX' bootloader (darwin) is installed in the OSX partition.... and said partition is chainloaded in grub. So, upon start-up, GRUB is in command. When I choose OSX, it then segues to darwin and thus loads OSX.

    Happy ubuntu-ing.
    Last edited by raymondh; January 3rd, 2010 at 08:23 PM.
    "The key to everything is patience. You get the chicken by hatching the egg, not by smashing it" .... A. Glasow

  8. #8
    Join Date
    Aug 2007
    Location
    So. Cal
    Beans
    94
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: [SOLVED} Re: GRUB borked - using F12 to boot

    Quote Originally Posted by raymondh View Post
    Glad you have it working. Remember that the MBR of the HD that is set to boot first in BIOS will always be 'dominant' (/boot not withstanding). That said, if GRUB is installed in that MBR, it will be in control and pass on the booting to the appropriate areas.

    As an example, I am 3-booting, one of them being OSX. Grub is installed in the MBR of the HD. OSX' bootloader (darwin) is installed in the OSX partition.... and said partition is chainloaded in grub. So, upon start-up, GRUB is in command. When I choose OSX, it then segues to darwin and thus loads OSX.

    Happy ubuntu-ing.
    ---Yeah, I kinda figured it out when I started reading on the grub page. At least the part of one bootloader (grub) passing off to the other bootloader. I will read up and double check how to properly install Be on the other HD before tinkering again!

    P.S. Loved the link on the grub page to the guy loading 100 OS on his computer.
    Mac user - Linux noob - Haiku tester
    Pentium E6300 2.8GHz / 2GB RAM / 160-80GB HDs / 512MB GeForce 8400 GS / iMic Audio
    Mac OS 10.7.5 / Ubuntu Studio 12.04

  9. #9
    Join Date
    Aug 2007
    Location
    So. Cal
    Beans
    94
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: GRUB borked - using F12 to boot

    --Raymondh,

    I got the computer to dualboot Ubuntu Studio 9.04 and Haiku. Thanks to the grub info you posted and some rereading of the Haiku install instructions I got the set-up working fine.

    Here is the link:

    http://ubuntuforums.org/showthread.php?t=179902&page=28
    Mac user - Linux noob - Haiku tester
    Pentium E6300 2.8GHz / 2GB RAM / 160-80GB HDs / 512MB GeForce 8400 GS / iMic Audio
    Mac OS 10.7.5 / Ubuntu Studio 12.04

Tags for this Thread

Bookmarks

Posting Permissions

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