Grub+fstab+BSD+Ubuntu (can't get it to work together.)
*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Grub+fstab+BSD+Ubuntu (can't get it to work together.)
I just installed DesktopBSD on my SATA drive. I have two partitions on that and Desktop BSD is on the second partition. I am trying to manually add it to the menu.lst in grub but I can't get DesktopBSD to boot. I know I a missing something. This is what I have so far (I am not sure how Grub sees a SATA drive.)
(I have two IDE drives, hd0 & hd1 plus the SATA drive.)
title DesktopBSD
root (hd2,1)
kernel /boot/loader
boot
Now in fstab I have no idea what to add for this to automount sda2. It keeps telling me I don't have permissions and gparted is saying it can't read the filesystem, etc. sda1 mounts fine.
title DesktopBSD
root (hd2,1)
kernel /boot/loader
boot
Have you tried chainloader +1? My understanding is that the chainloader call turns control over to the bootloader located on the partition you're trying to boot, which in some cases works better than using grub to boot.
Also, when you try to boot DesktopBSD, what is the error that GRUB outputs?
Have you tried chainloader +1? My understanding is that the chainloader call turns control over to the bootloader located on the partition you're trying to boot, which in some cases works better than using grub to boot.
Also, when you try to boot DesktopBSD, what is the error that GRUB outputs?
I think the last error I saw said error 17 but I would have to check. Let me give chainloader a try and see if that works. Thanks.
Apparently your GRUB install can't recognize the DesktopBSD filesystem...and hence can't read the boot information from it.
Yes. It is saying error 17. I tried chainloader +1 but that didn't work. I am wondering how Grub labels a SATA drive. My two IDE drives are hd0 and hd1 (only hd0 has anything to boot, all of hd1, for now, is home. The SATA drive has two partitions, 0 and 1. Does Grub see this as hd2, 1 then or is it maybe seeing it as something else? (The first partition on the SATA drive is storage.)
Originally Posted by http://www.linuxselfhelp.com/gnu/grub/html_chapter/grub_13.html
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
It's seeing the partition properly, it just can't read it. The problem is that with FreeBSD (and derivatives) you need to also tell GRUB what slice to use on the partition. Try this:
# For booting DesktopBSD
title DesktopBSD
root (hd2,1,a) # third drive, second partition, first slice
kernel /boot/loader
It's seeing the partition properly, it just can't read it. The problem is that with FreeBSD (and derivatives) you need to also tell GRUB what slice to use on the partition. Try this:
# For booting DesktopBSD
title DesktopBSD
root (hd2,1,a) # third drive, second partition, first slice
kernel /boot/loader
That was it, problem solved. Thank you. I am not that familiar with BSD. I have tried PC-BSD in the past, but only for a short time.
All works fine now. I have to remember in the future that BSD uses slices. Thanks again.
Now I need to figure out how to add this to Fstab in Ubuntu so it automounts.
Hrmmm...automounting is a whole different story =)
Now then, may I ask you a question?
I see in your "Distribution" list that you run XP in VirtualBox on Ubuntu. I have a friend I'm going to set up a Linux machine for, and one requirement is that he has to have a virtual XP install. I've been playing around with VirtualBox since I don't know if Qemu will be "user-friendly" enough for him (I use Qemu, personally, but VirtualBox is nice, I must admit). I use a relatively stripped down Gentoo install for my Virtualization needs...very little overhead (running Fluxbox so I can dedicate tons of memory to the guest OS). I'm not 100% settled on it, but Ubuntu is definitely looking like the distro of choice (or perhaps Mint) for my friend's computer, which will have quite a bit more overhead than what I personally am used to.
My question is this: What hardware does it take to get reasonable performance out of a VirtualBox XP install on Ubuntu? I don't need specifics, just a general idea. (My friend has an AMD Sempron with 256MB RAM...I've already advised him to upgrade to more RAM for virtualization purposes).
Hrmmm...automounting is a whole different story =)
Now then, may I ask you a question?
I see in your "Distribution" list that you run XP in VirtualBox on Ubuntu. I have a friend I'm going to set up a Linux machine for, and one requirement is that he has to have a virtual XP install. I've been playing around with VirtualBox since I don't know if Qemu will be "user-friendly" enough for him (I use Qemu, personally, but VirtualBox is nice, I must admit). I use a relatively stripped down Gentoo install for my Virtualization needs...very little overhead (running Fluxbox so I can dedicate tons of memory to the guest OS). I'm not 100% settled on it, but Ubuntu is definitely looking like the distro of choice (or perhaps Mint) for my friend's computer, which will have quite a bit more overhead than what I personally am used to.
My question is this: What hardware does it take to get reasonable performance out of a VirtualBox XP install on Ubuntu? I don't need specifics, just a general idea. (My friend has an AMD Sempron with 256MB RAM...I've already advised him to upgrade to more RAM for virtualization purposes).
I uninstalled it when I switched from Ubuntu CE to Ubuntu. I am actually getting ready to install it again, plus installing XP on another partition. I will write down all that I did and post it here today.
Here are my hardware specs,
Compaq Presario S6000CL
Hardware added/changed,
Nvidia GeForce 6200,
1024 MB memory (Sadly Maxed.)
Two IDE Drives, 80GB each
One SATA drive, 160GB
Unhooked Floppy Drive (never use it anymore.)
Microsoft Wireless Internet Keyboard and Mouse (Mouse is hooked up through USB.)
I am currently using integrated audo (AC97) and Ethernet. I am using the original power supply that is very strained right now, I need a new one soon, lol.
I will install XP, an upgrade disk. The I have to put win98 in to verify it.
I will let you know how long it takes and how it goes soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.