LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-25-2012, 09:02 AM   #1
Zssfssz
Member
 
Registered: Sep 2011
Location: Las Vegas!
Distribution: Ubuntu n' Flavors, ReactOS, MINIX3, FreeDOS, Arch
Posts: 339

Rep: Reputation: Disabled
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?
 
Old 03-25-2012, 12:16 PM   #2
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
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.
 
Old 05-02-2012, 01:13 AM   #3
Vitalie Ciubotaru
Member
 
Registered: Dec 2005
Location: Osaka, Japan
Distribution: Ubuntu Trinity
Posts: 153

Rep: Reputation: 30
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.
 
Old 05-23-2012, 12:54 PM   #4
carl.moxey
LQ Newbie
 
Registered: Sep 2009
Distribution: Scientific Linux
Posts: 1

Rep: Reputation: 0
Grub with windows, linux, and netBSD

Quote:
Originally Posted by Vitalie Ciubotaru View Post
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

Last edited by carl.moxey; 05-23-2012 at 12:55 PM.
 
  


Reply

Tags
bootloader, grub, netbsd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to remove ubuntu boot loader and use windows boot loader RUshabh55 Linux - Newbie 9 11-29-2009 07:01 PM
Boot loader gone Ubuntu 9.10 chippy121 Ubuntu 4 11-27-2009 10:43 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM
Ubuntu boot loader BACTRATE Ubuntu 9 04-27-2008 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration