LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Boot Ubuntu From NetBSD Boot-Loader (http://www.linuxquestions.org/questions/ubuntu-63/boot-ubuntu-from-netbsd-boot-loader-936325/)

Zssfssz 03-25-2012 09:02 AM

Boot Ubuntu From NetBSD Boot-Loader
 
I Want To Have NetBSD Installed On My Copmuter But GRUB Doesn't Seem Apt To Boot NetBSD (No Pun Intended). NetBSD's BootLoader Has The Ablility To Boot To Windows.

How Could I Ether Force-Feed GRUB To Boot To NetBSD Or Use NetBSD's Bootloader To Boot To Ubuntu?

Skaperen 03-25-2012 12:16 PM

Windows is generally booted by chain loading. That is, the "OS" is Windows' own bootloader inside the partition. I believe GRUB can work fine inside a partition, so the same trick should work. I can't tell you how to configure GRUB for that, though.

Vitalie Ciubotaru 05-02-2012 01:13 AM

Same problem here. I installed NetBSD 5.1.2 alongside Ubuntu 11.04 Natty. Grub2 (the version shipped with Natty) does not see the contents of the NetBSD slice/partition, and thus is unable to boot netbsd kernel (interestingly enough, it CAN boot NetBSD if run within QEMU!). Downgrading to the old grub (grub1) does not solve the problem -- it says it's unable to boot anything beyond certain cylinder.

carl.moxey 05-23-2012 12:54 PM

Grub with windows, linux, and netBSD
 
Quote:

Originally Posted by Vitalie Ciubotaru (Post 4668210)
Same problem here. I installed NetBSD 5.1.2 alongside Ubuntu 11.04 Natty. Grub2 (the version shipped with Natty) does not see the contents of the NetBSD slice/partition, and thus is unable to boot netbsd kernel (interestingly enough, it CAN boot NetBSD if run within QEMU!). Downgrading to the old grub (grub1) does not solve the problem -- it says it's unable to boot anything beyond certain cylinder.

Here's my grub.conf:

# grub.conf
#
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu

title NetBSD 6.0 beta
rootnoverify (hd0,3)
chainloader +1

title Scientific Linux (2.6.32-220.13.1.el6.x86_64)
root (hd0,4)
kernel /vmlinuz-2.6.32-220.13.1.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M quiet rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
initrd /initramfs-2.6.32-220.13.1.el6.x86_64.img

title Scientific Linux (2.6.32-220.el6.x86_64)
root (hd0,4)
kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 rhgb crashkernel=128M quiet rd_LVM_LV=VolGroup/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
initrd /initramfs-2.6.32-220.el6.x86_64.img

title Win 7
rootnoverify (hd0,2)
chainloader +1


All times are GMT -5. The time now is 12:32 AM.