Re: Add FreeBSD to Grub Menu

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

 




> -----Original Message-----
> From: mmarzantowicz@xxxxxxxxxxx
> Sent: Tue, 02 Oct 2012 13:50:31 +0200
> To: test@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Add FreeBSD to Grub Menu
> 
> On 02.10.2012 13:41, Antonio Olivares wrote:
>> 
>>> -----Original Message-----
>>> From: lists@xxxxxxxxxxxxxxxxx
>>> Sent: Mon, 1 Oct 2012 12:55:30 -0600
>>> To: test@xxxxxxxxxxxxxxxxxxxxxxx
>>> Subject: Re: Add FreeBSD to Grub Menu
>>> 
>>> 
>>> On Oct 1, 2012, at 6:12 AM, Antonio Olivares wrote:
>>> 
>>>> Somehow the menu entry is not added and the newer kernels are not
>>>> added
>>>> either :(
>>> That tells me you have not run
>>> grub2-mkconfig -o /boot/grub2/grub.cfg
>>> 
>>> Or you have a syntax error in the /etc/grub.d script you've added your
>>> FreeBSD entry to.
>>> 
>>> Chris Murphy
>>> 
>>> --
>> I have run the command above and it is not working. The newer kernels
>> are not added and the FreeBSD entry does not appear.  Something is wrong
>> and can't seem to find out what it is?
>> 
>> Regards,
>> 
>> 
>> Antonio
>> 
>> ____________________________________________________________
>> GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at
>> http://www.inbox.com/smileys
>> Works with AIM®, MSN® Messenger, Yahoo!® Messenger, ICQ®, Google Talk™
>> and most webmails
>> 
>> 
> 
> What is the diagnostic output of: grub2-mkconfig -o /boot/grub2/grub.cfg
> ?
> 
> 
> Mateusz Marzantowicz
> --

[root@localhost ~]# cd /etc/grub.d/
[root@localhost grub.d]# ls
00_header  20_linux_xen     30_os-prober  41_custom
10_linux   20_ppc_terminfo  40_custom     README
[root@localhost grub.d]# cat 40_custom 
#!/bin/sh
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 9.0" {
	insmod part_msdos
	set root='(hd0,msdos1)'
	chainloader +1
}

[root@localhost grub.d]# ./30_os-prober 
  No volume groups found
[root@localhost grub.d]# grub2-mkconfig -o /boot/grub2/grub.cfg 
Generating grub.cfg ...
Found theme: /boot/grub2/themes/system/theme.txt
Found linux image: /boot/vmlinuz-3.6.0-0.rc7.git1.4.fc18.i686
Found initrd image: /boot/initramfs-3.6.0-0.rc7.git1.4.fc18.i686.img
Found linux image: /boot/vmlinuz-3.6.0-0.rc6.git0.2.fc18.i686
Found initrd image: /boot/initramfs-3.6.0-0.rc6.git0.2.fc18.i686.img
Found linux image: /boot/vmlinuz-3.6.0-0.rc4.git2.1.fc18.i686
Found initrd image: /boot/initramfs-3.6.0-0.rc4.git2.1.fc18.i686.img
  No volume groups found
done
[root@localhost grub.d]# 

Yet still only boot to 

[root@localhost grub.d]# uname -a
Linux localhost.localdomain 3.6.0-0.rc2.git2.1.fc18.i686 #1 SMP Wed Aug 22 12:22:10 UTC 2012 i686 i686 i386 GNU/Linux


Regards,


Antonio

____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth


-- 
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