Re: Add FreeBSD to Grub Menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: lists@xxxxxxxxxxxxxxxxx
> Sent: Sun, 30 Sep 2012 18:42:49 -0600
> To: test@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Add FreeBSD to Grub Menu
> 
> 
> On Sep 30, 2012, at 6:29 PM, Antonio Olivares wrote:
>>>> 
>>>> exec tail -n +3 $0
>>>> # This file provides an easy way to add custom menu entries.  Simply
>>>> type the
>>>> # menu entries you want to add after this comment.  Be careful not to
>>>> change
>>>> # the 'exec tail' line above.
>>>> menuentry "FreeBSD" {
>>>>   insmod part_msdos
>>>>   set root='(hd0,msdos3)'
>>>>   chainloader +1
>>> 
>>> msdos3 is a Linux partition. Your fdisk results indicate FreeBSD is on
>>> hd0,msdos1.
>>> 
>>> 
>>> Chris Murphy
>>> --
>> 
>> Thank you Chris for noticing.  I copied it from the Fedora 17 aspire
>> netbook :(
>> Tried changing it to msdos1 and it does not show up in grub menu :(
>> What shall I try next?
> 
> Make sure you have an 'insmod' for the file system, i.e. UFS or ZFS. I
> think chainloader is wrong. From the GRUB2 manual I see this as the
> FreeBSD example, and honestly if that doesn't work I'd go subscribe to
> and post on help-grub@xxxxxxx. I'm not sure how many FreeBSD + GRUB2
> experts you'll find on here.
> 
> You aren't making these edits directly to grub.cfg are you? But the
> scripts in /etc/grub.d and then running grub2-mkconfig after each change
> right?
> 
> 
>      menuentry "FreeBSD" {
>                insmod zfs
>                search --set=root --label freepool --hint hd0,msdos7
>                kfreebsd /freebsd@/boot/kernel/kernel
>                kfreebsd_module_elf /freebsd@/boot/kernel/opensolaris.ko
>                kfreebsd_module_elf /freebsd@/boot/kernel/zfs.ko
>                kfreebsd_module /freebsd@/boot/zfs/zpool.cache
> type=/boot/zfs/zpool.cache
>                set kFreeBSD.vfs.root.mountfrom=zfs:freepool/freebsd
>                set kFreeBSD.hw.psm.synaptics_support=1
> --

Dear sir,

If I use grub with command line and insert the following commands, I can boot freebsd :

insmod part_msdos
set root='(hd0,msdos1)'
chainloader +1
boot

and it works(using the above commands).  Somehow the menu entry is not added and the newer kernels are not added either :(
I don't have zfs on my machine so I would not use those examples.  Under Fedora 17 I have a working grub with FreeBSD, but the results are not the same.  

Regards,


Antonio

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium


-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux