Re: Add FreeBSD to Grub Menu

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

 




> -----Original Message-----
> From: lists@xxxxxxxxxxxxxxxxx
> Sent: Wed, 3 Oct 2012 16:39:44 -0600
> To: test@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Add FreeBSD to Grub Menu
> 
> 
> On Oct 3, 2012, at 4:02 PM, Antonio Olivares wrote:
> 
>> Some program or another is not doing its job :(
> 
> Well you have 8 partitions with various operating systems on it so it's
> easy for confusion to occur.
>
You are getting this machine confused with the other one :)
The other one runs Fedora 17 with XP and FreeBSD and it(grub) worked well with multiple kernels and XP and FreeBSD accessible from the grub entries :)

This one has just FreeBSD and Fedora 18 :

[olivares@localhost ~]$ su -
Password: 
[root@localhost ~]# fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00039b37

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63   125829143    62914540+  a5  FreeBSD
/dev/sda2       125831168   126855167      512000   83  Linux
/dev/sda3       126855168   193640447    33392640   83  Linux
/dev/sda4       193640448   234440703    20400128    5  Extended
/dev/sda5       193644544   226248703    16302080   83  Linux
/dev/sda6       226250752   234440703     4094976   82  Linux swap / Solaris

> 
> Considering your Fedora 18 install has a grub.cfg with all current
> kernels, the question then is what GRUB is actually being used as a
> bootloader and where is it pointing? The grub bootloader has a prefix
> baked into it, so that is the likely source of the problem. I would try
> running:
> 
> grub2-install /dev/sda
> 
> And then report back.
> 
> 
> Chris Murphy
> --

[root@localhost ~]# grub2-
grub2-bios-setup       grub2-mkfont           grub2-mkstandalone
grub2-editenv          grub2-mkimage          grub2-ofpathname
grub2-fstest           grub2-mklayout         grub2-probe
grub2-install          grub2-mknetdir         grub2-reboot
grub2-kbdcomp          grub2-mkpasswd-pbkdf2  grub2-script-check
grub2-menulst2cfg      grub2-mkrelpath        grub2-set-default
grub2-mkconfig         grub2-mkrescue         grub2-sparc64-setup
[root@localhost ~]# grub2-install /dev/sda
Installation finished. No error reported.
[root@localhost ~]# 


I ran that command and now I have the newer kernel which only appears not the older ones.  How many kernels should appear here?  

[olivares@localhost ~]$ uname -r
3.6.0-2.fc18.i686

Now I see FreeBSD as a grub entry.  Thank you very much sir for your insight and your help. I could not have done it without you :)  Now wireless is back and things are getting back to normal :)

Best 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