Can't install grub2 with presence of ufs2 partitions [Solved]

I'm trying FreeBSD in lieu of OpenBSD.  OpenBSD works fine on MBR, but FreeBSD is picky and generally wants GPT.  Was able to get FreeBSD working as long as it's protective MBR is used.  Then when I want back into Arch, I have to put syslinux gptmbr.bin back into the MBR, but FreeBSD doesn't like the dd method.  FreeBSD protects the MBR from being overwritten.  This is GPT/BIOS not GPT/UEFI.  The GPT conversion went without a hitch just fine.  I can't even emulate Arch inside FreeBSD because of the MBR bootcode.  I can however emulate FreeBSD inside Arch and even mount read-only the ufs2 partition with the following sequence:
mount -t ufs -o ufstype=ufs2 -o ro /dev/sdaxx /mnt
When I do grub-install /dev/sda from Arch I get the following message:
Installing for i386-pc platform.
grub-install: error: hostdisk//dev/sda appears to contain a ufs2 filesystem which isn't known to reserve space for DOS-style boot. Installing GRUB there could result in FILESYSTEM DESTRUCTION if valuable data is overwritten by grub-setup (--skip-fs-probe disables this check, use at your own risk).
Then when I do grub-install /dev/sda --skip-fs-probe I get:
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
Booting from freebsd-boot reboots the computer and trying to boot from freebsd-ufs just sits there.  I also think it sort of hard on the MBR to rewrite it each time I need to switch back and forth.  I am currently using syslinux which is fine for linux (linux didn't even notice the difference between MBR and GPT), but nothing I put in syslinux.cfg will boot FreeBSD.  FreeBSD doesn't like my wifi card (b43), but OpenBSD uses it until performance degrades to nothing. 
Adding a line to my grub.cfg for FreeBSD would be like this:
menuentry "FreeBSD" {
set root="(hd0,msdos1,bsd1)"
kfreebsd /boot/loader
I don't have that line in there yet, but I doubt it would take it.
Even setting aside a BIOS boot partition (ef02) or extlinux doesn't even get noticed by grub.
Last edited by nomorewindows (2014-01-21 18:31:45)

I dd'd FreeBSD's protective MBR, and saved into a file.  I ran qemu -kernel memdisk -initrd freebsd.mbr /dev/sda and it booted.  So then how do I get it into syslinux?  I already had a chainload from OpenBSD, so I modified it slightly to use the FreeBSD's MBR from the file.
LABEL FreeBSD
MENU LABEL FreeBSD
COM32 chain.c32
APPEND file=../freebsd.mbr
Marking this as a new workaround to GPT/BIOS/FreeBSD with syslinux.

Similar Messages

  • Can't install ubuntu with wubi on Bootcamp partition

    Hi,
    with Wubi you can install ubuntu linux inside a Windows partition without any kind of disk partitioning.
    Here https://discussions.apple.com/message/15115515#15115515 you can see that someone installed successfully ubuntu through wubi on bootcamp partition. I tried too but when I choose in what partition want to install ubuntu, have only the D: drive (Macintosh HD) option. Wubi can only be installed in C: (bootcamp), in fact when I tried to install on D: I got obiviously some error.
    Windows version is 7 Professional 64 bit, bootcamp version 3.3
    Thank you in advance!
    Roberto

    The Ubuntu community https://help.ubuntu.com/community/Intel_iMac is very good/informative on this.
    Stefan

  • I download autocad 2010 with crack, how can i install it with crack coz i can't find where to paste the crack file? not like windows just go to drive c, progarms and click the installed folder and you can copy and paste the crack file.

    i download autocad 2010 with crack, how can i install it with crack coz i can't find where to paste the crack file? not like windows just go to drive c, progarms and click the installed folder and you can copy and paste the crack file.
    please help me..
    thanks

    No one here will help you.
    You should definitely ask your question in this forum:
    http://forums.autodesk.com/t5/AutoCAD-2010/bd-p/360

  • Trying to install Abode CS4 design standard Upgrade version. How can I install this with out having to install all my previous versions?  Thanks Mario

    Trying to install Abode CS4 design standard Upgrade version.
    How can I install this with out having to install all my previous versions?
    Thanks
    Mario

    You simply install it and input the required serials, including one of a previous product when asked for it.
    Download CS4 products
    Mylenium

  • How can i install shockwave with auto updates disabled?

    how can i install shockwave with auto updates disabled?
    i need to push out shockwave to all our machines and i need to have autoupdates disabled? whats the trick?

    I ran with native io enabled and now i need to see how things happen with native io disabled.I am trying to understand the various aspects of the server.
    Can you help me? How to set the default queue and application specific queues , and oofcourse socket readers in the case native performance packs are not used?
    Please, I will be very grateful.

  • Can't install WinXP32bits with Pci-e

    Hi, i have a MSI K8N Neo3-F(601-7135-010) mainboarth, with an AMD Sempron 64(754) 3000+, VGA ASUS 6600GT 128Mb Pci-e
    and all other normal things. This is the new things and I can't install WinXp with the Pci-e. I say this 'cause i've tried with an AGP VGA card and have no problem with the installation of WinXp. I've searched for a solution but nothing....
    I hope you can help....
    Tks.

    Quote from: joelsubtil on 29-May-06, 01:21:03
    I've checked and Pciex is selected...
    I've tried with a linux OS version and does the some thing, but the error that appears is relationed with the display controller.
    I'm starting to think that that is really the problem.
    why cant install? what you get? mobo dont have known problems with any PCI-E for now. probably your problem is coused by your PSU. AGP VGA which you are tried guess need less power that your ASSUS. can you give as more details about your system including PSU details? and more details about "cant install XP" what happed any msg ? just lockup? reboot?shutdown directly? using 10 of the same mobos with Galaxy 6600GE(GDDR-3) PCI-E modded to GT version. dont have any probs. possible reason is weak PSU at 1st look for now. your PC spec will be requred.

  • I can't install acrobat with my license key

    I can't install acrobat with my license key, but use it to install photoshop and illustrator is ok.
    what should i do next?
    how do i contact with technical team?

    What system are you on?
    iOS 10.8.3
    What version orf Acrobat?
    7.0.0.324
    Are there otehr versions of Adobe products already on teh system?
    Photoshop
    Illustrator
    Adobe Reader
    Flash
    After Effect
    Bridge
    Are there any specific error messages?
    No, it just said my license is wrong, but in other adobe products is OK.
    This license is supplied by my college, each student has their own unique license key.
    But only me has this problem.
    You need to provide more details.

  • If i buy parallels can i install it with boot camp?

    So yeah If i buy parallels can i install it with boot camp?

    bootcamp is a bootloader
    a setup tool for osx
    and a zip file with tested windows drivers and programs for the apple hardware
    one use the setup tool to make some of the apple hd windows filesystem
    one install windows on the space and the bootloader let you hold down option key to boot into what you want to use today
    parallels is a virtual machine as in running windows under osx in a window if one wish
    parallels can as the only virtual machine that I know of access a bootcamp patition directly where other virtual machines just keep the other hd as a file
    when parallels use the windows partition it will like other virtual machines not be able to access the video card for 3d games though that is only for real bootcamp
    users who don't need to play fancy 3d games on windows will have an easier time using a virtual machine like parallels or virtualbox(free) or wmware
    they require much much much less tech knowlege to install and dont have driver issues like bootcamp can
    both a virtual machine and bootcamp require you to bring your own windows and valid windows key

  • Can I Install Tiger with an exterinal USB DVD Drive??

    Hi,
    I've accuired a couple iMacs that are currently running Mac OS 9, but are fast enough to run Tiger. The problem is they only have built in CD drives. Rather than going out to find several internal iMac DVD drives, could I buy one exterinal USB DVD drive to install Tiger?
    Thanks!

    What happens if the firmware isn't updated?
    The display may stop working, even for OS 9. It is not easy to fix.
    I just installed 10.2 on one of them and it seems to be working. Should I uninstall it and upgrade the firmware and start over?
    Check the "Boot ROM version" with System profiler. If the firmware is updated it will be 4.1.9
    It is not necessary to remove OSX to install the updates if OS 9 is still on the hard drive. If not, and the OS 9 drivers are there, OS 9 can be installed without affecting OSX.
    The update won't install if it is not needed.

  • I can't install GRUB2 in one x86_64 machine [Solved]

    Hi to everyone:
    This is my partitions schema:
    [root@archerpc ~]# fdisk -l
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    224 heads, 19 sectors/track, 229504 cylinders
    Units = cylinders of 4256 * 512 = 2179072 bytes
    Disk identifier: 0x4a7d4a7c
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 52933 112640000 7 HPFS/NTFS
    /dev/sda2 52933 53394 979965 82 Linux swap / Solaris
    /dev/sda3 53394 76340 48829567+ 83 Linux
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0dd64896
    Device Boot Start End Blocks Id System
    /dev/sdb1 1 60801 488384001 83 Linux
    This is the /boot/grub/grub.cfg file:
    # Config file for GRUB2 - The GNU GRand Unified Bootloader
    # /boot/grub/grub.cfg
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,2)
    # /dev/sda3 (hd0,3)
    # Timeout for menu
    set timeout=5
    # Set default boot entry as Entry 0
    set default=0
    # (0) Arch Linux
    menuentry "Arch Linux" {
    set root=(hd0,3)
    linux /boot/vmlinuz26 root=/dev/sda3 ro
    initrd /boot/kernel26.img
    ## (1) Windows
    #menuentry "Windows" {
    #set root=(hd0,3)
    #chainloader +1
    And when I try install the grub ... the console shows only this :
    [root@archerpc ~]# grub-install /dev/sda
    Someone else with the same problem ... anyone knows how to fix it?
    Last edited by Ravenman (2009-11-14 14:51:31)

    Hi to everyone:
    The solution is simple: I did turn off the floppy drive from the BIOS and I could install GRUB2 in my machine.
    Thanks to Ronald van Haren for his help and patience. Until the next.

  • Help on installing Lightroom 5 on two computers... I have used it on a PC, but now I have bought a MacBook Pro, can I install it with the same license? If not, can I delete it on the PC and use it on Mac instead??

    Hi all,
    I just read, that you can't install lightroom 5 on the same license on two different platforms because of different services provided.
    Is it possible to delete the PC-version and continue solely with the MacVersion!?
    kind regards, and thanks in advance
    Andreas

    Unless things have changed your Lightroom purchase can be used on two PC's, 2 Macs, or one of each.  You just need to download the Mac version and install it on the Mac.  You should not have to do anything with the PC installation.
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Can I Install PSE10 with existing PSE9

    Can I install PSE10 when I already have PSE9 installed on computer. PSE9 gives a lot of tool trouble and I hope PSE10 is better. I will keep and use the best one. Thanks.
    My Computer:   Win 7, 64 bit, 6mb ram

    Sure.  To quote from Barbara Brundage's excellent PSE 10 the missing manual:  "If you have a previous version of Elements on your computer, you don't need to remove it before installing Elements 10.  All versions of Elements run completely separately, so you can keep older versions if you want."
    I installed PSE 10 along with PSE 8, and both function OK together (just not at the same time, however).

  • Can MDM installed along with CCM 2.0

    Hi,
    We have SRM Demo server, where currently we installed CCM. Can we install MDM along with CCM or is it mandatory to uninstall CCM before we install MDM. Please advise on this.
    Regards
    G GL

    Hi,
    You can play with several & different catalogs in SRM, so you can have CCM in your SRM system and also access to an SRM-MDM catalog.
    I hope this helps
    Best regards

  • How many laptops can I install on with only one lightroom 6 license? (not cc version)

    I read from somewhere that one creative cloud  account can be used on two different devices, but what about the lightroom 6 version?
    If I pay $149 for lightroom 6, how many laptops can I install on? I now have one windows laptop and one mac.
    Thanks for helping.

    I selected yours as the correct answer because of the webpage you provided, but I cannot understand that what "only use it on one computer at a time".
    If the software is for offline use, how does it know if I'm running it on another computer?

  • How many machines can I install on with one Mountain Lion download?

    I want to upgrade to Mountain Lion, but I have both an iMac and a MacBook Pro.  Do I have to buy two Mountain Lion downloads - one for each, or can I somehow download twice after paying once?
    Judy

    Actually, having made the same claim a couple of days ago and being proven completely wrong, I have a certain responsibility to correct you by mentioning that there is no limit to how many machines ML can be installed on, as long as you own or control those machines.
    See section 2B(i): http://images.apple.com/legal/sla/docs/OSX108.pdf

Maybe you are looking for

  • Need to join two queries A/R statemet and Activity report

    I have two  separate queries that need to be one. I have an A/R statement where I want to add notes next to each invoice. Currently these are two separate reports. How can I link the activity Report to the A/R Statement. Below are the two separate re

  • Why does my signal drop every time I try to use an application.

    I've got a UFO style 802.11g, which I unfortunately kept up to date with the updates. For well over a year now I've had my gear set up like this, airport in the den, my wife's older Imac in the den with it, the printer in the den as well and my Imac

  • Bapi for Create Interest Rate Instrument Trans. TM_51

    Hi guys, I need to make a copy of an interest rate instrument, so far i can obtain the information with the bapis FTR_IRATE_DB_SELECT and BAPI_FTR_IRATE_GETDETAIL. Bu t i haven't found any bapi that can create a new interest rate instrument with all

  • Error while using Custom File Module..

    Hi Experts, I am trying to conver Excel file to xml file using XI , but i am getting this error in communication channel monitoring, error : com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at co

  • Labview trying to find runtime engine when opening up VB6

    This is bizarre. I'm not even trying to open a labview program, and I get this error. when I go to open up VB6 from Visual Studio (Visual Studio 6, Enterprise Edition), I get a pop-up saying that the Labview runtime engine 7.1.1 is going to be config