Find the answer to your Linux question:
Results 1 to 3 of 3
I am attempting to get grub to boot DesktopBSD and I am not having any success. I put BSD on the slave drive, I was hoping for the option to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242

    dual booting


    I am attempting to get grub to boot DesktopBSD and I am not having any success.
    I put BSD on the slave drive, I was hoping for the option to install the BSD loader to the root partition, but sadly, I don't get that option.
    I googled for "grub freebsd", but the results don't produce understandable info.
    If someone could explain the naming scheme for BSD partitions.
    I have DesktopBSD on /dev/hdb1.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242

    update

    I did manage a partial fix, using the BIOS to select which hdd to boot to, but this is a PITA.
    I found this guide for booting BSD with grub.
    http://tips.enderunix.org/view.php?id=70&lang=en
    I was hoping that I could get grub to install, then it would be much simpler to chainload it. But, this didn't work either.
    As suggested in the guide, I looked in /boot/grub/device.map to make sure that /dev/rad1 is there instead of /dev/ad1.
    I do not have /dev/rad1, I have /dev/ad1. And I get this error
    Code:
    localhost# grub-install /dev/ad1
    
    
        GNU GRUB  version 0.97  (640K lower / 3072K upper memory)
    
     [ Minimal BASH-like line editing is supported.  For the first word, TAB
       lists possible command completions.  Anywhere else TAB lists the possible
       completions of a device/filename. ]
    grub> root (hd1,0,a)
     Filesystem type is ufs2, partition type 0xa5
    grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd1)
     Checking if "/boot/grub/stage1" exists... yes
     Checking if "/boot/grub/stage2" exists... yes
     Checking if "/boot/grub/ufs2_stage1_5" exists... yes
     Running "embed /boot/grub/ufs2_stage1_5 (hd1)"... failed (this is not fatal)
     Running "embed /boot/grub/ufs2_stage1_5 (hd1,0,a)"... failed (this is not fatal)
     Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd1) /boot/grub/stage2 p /boot/grub/menu.lst "... failed
    
    Error 29: Disk write error
    grub> quit
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Problem solved.
    I attempted to install grub to /dev/hdb1.
    I think during that attempt I borked my DesktopBSD boot loader.
    So I went and reinstalled it.
    Now this entry in my Suse grub works fine

    Code:
    title BSD
    root (hd1,a)
    chainloader +1
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  4. $spacer_open
    $spacer_close

Posting Permissions

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