How do I add a menu entry to grub2 for FreeBSD
I have Ubuntu 11.10 and FreeBSD on the same GPT disk, sdb. I have Windows 7 on sda. Update-grub pickup the windows system.
Update-grub does not pick up the FreeBSD system.
How do I add an entry via /etc/grub.
$ sudo parted /dev/sdb print
Model: ATA WDC WD5000AAKX-6 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 17.4kB 100GB 100GB ext4
2 100GB 132GB 32.0GB linux-swap(v1)
3 132GB 132GB 65.5kB
4 132GB 495GB 363GB freebsd-ufs
5 495GB 499GB 4295MB
$ sudo mount -t ufs -o ufstype=ufs2 -r /dev/sdb4 /mnt
tomdean@P9X79:~$ ls /mnt
bin COPYRIGHT etc libexec mnt rescue sbin tmp var
boot dev lib media proc root sys usr
tomdean@P9X79:~$ ls /mnt/boot
beastie.4th check-password.4th gptzfsboot menu-commands.4th userboot.so
boot color.4th kernel menu.rc version.4th
boot0 defaults loader modules zfs
boot0sio delay.4th loader.4th pmbr zfsboot
boot1 device.hints loader.help pxeboot zfsloader
boot2 firmware loader.rc screen.4th
brand.4th frames.4th mbr shortcuts.4th
cdboot gptboot menu.4th support.4th
tomdean
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu grub2 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- tomdean
- Solved:
- Last query:
- Last reply: