Re: FreeBSD, Ubuntu and Win XP on one system
Jason W. Morgan [Mon, Aug 11, 2008 at 12:49:15PM -0400]: GRUB menu. It's not difficult, but it does add an extra step. Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. Just for the records: The way to prevent this is very simple. Just add custom entries to menu.lst outside of the section marked by the following lines: ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ### END DEBIAN AUTOMAGIC KERNELS LIST (never mind the mentionning of Debian, this has been copied from a Ubuntu machine) br, Dominik -- Dominik Meister My public GnuPG key is available at http://www.meisternet.ch/gpg.txt pgpM1JVNvaOhw.pgp Description: PGP signature
Re: FreeBSD, Ubuntu and Win XP on one system
On 2008.08.11 18:05:10, Jack Raats wrote: I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack Hello Jack, I had this same setup for quite some time. You will want to start with XP, since it seems to require being the first slice on the disk. Just make sure you don't let the XP install use the whole disk. You can then choose either FreeBSD or Ubuntu to be the second slice, it's really a matter of preference. Personally, I installed FreeBSD second, then added Ubuntu to the end as an afterthought. Note: when using this install sequence, Ubuntu will install GRUB as a boot loader, which will recognize XP just fine, but will ignore FreeBSD (at least it did pre-Hardy Heron). You will have to edit the GRUB config manually to make your FreeBSD install available in the GRUB menu. It's not difficult, but it does add an extra step. Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. HTH, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On Monday 11 August 2008, Jason W. Morgan wrote: it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. I'd be inclined to install GRUB on FreeBSD from ports and remove it from the Ubuntu system. FreeBSD won't mess with your GRUB config files. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
hors configure your kernel-img file correctly : [EMAIL PROTECTED] grep hook /etc/kernel-img.conf postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub just comment out these. On Thu, Aug 14, 2008 at 6:24 PM, Mike Clarke [EMAIL PROTECTED] wrote: On Monday 11 August 2008, Jason W. Morgan wrote: it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. I'd be inclined to install GRUB on FreeBSD from ports and remove it from the Ubuntu system. FreeBSD won't mess with your GRUB config files. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On 2008.08.14 19:05:22, nicodache wrote: hors configure your kernel-img file correctly : [EMAIL PROTECTED] grep hook /etc/kernel-img.conf postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub just comment out these. Good to know, if I ever use Ubuntu again. Thanks, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
Jason W Morgan wrote: Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. Yes, in general, in Debian or Ubuntu config files there are markers which delimitate what the system is allowed to mess with and the rest. For example, for grub, i have (but the same idea appears in xorg config file, etc. - in general it is a very good idea, which could be profitably used by FreeBSD): # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST title Ubuntu root(hd0,5) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=3eda2f02-17f1-4993-b52e- dfe21bb480d5 ro locale=fr_FR vga=791 initrd /boot/initrd.img-2.6.20-16-generic savedefault boot title FreeBSD root(hd0,3) savedefault makeactive chainloader +1 title Windows XP Media Center Edition root(hd0,1) savedefault makeactive chainloader +1 # This is a divider, added to separate the menu items above from the # Debian # ones. ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs Here things will be upgraded automatically . title Ubuntu, memtest86+ root(hd0,5) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST Here things are safe. Note that, as remarked by several people, contrary to the grub version in ports, the grub version coming with Ubuntu doesn't read the UFS2 filesystem, so one needs to load FreeBSD by chain booting instead of directly loading /boot/loader. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD, Ubuntu and Win XP on one system
I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On Mon, Aug 11, 2008 at 11:05 AM, Jack Raats [EMAIL PROTECTED] wrote: I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack I would recommend installing WinXP first, then Ubuntu. The selection of a boot manager is a personal choice. I think Ubuntu uses the GRUB boot manager, which many people like. Install FreeBSD last, being careful not to overwrite the MBR of the hard drive. Once FreeBSD has been installed, boot up Ubuntu and modify the GRUB menu configuration file (/boot/grub/menu.lst). I found a sample of a FreeBSD entry here: http://ubuntuforums.org/showthread.php?t=455951 Best of luck, Andrew Gould ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
I recommend installing FreeBSD first, then Windows and then Ubuntu. For reasons that I don't know, WinXP SP3 will become unable to start if you installs FreeBSD after it (It will freeze on the welcome screen). - I don't know if this problem just happened with me or with others people too, but it happened more than one time. Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box, so you will have to add some lines to /boot/grub/menu.lst # For booting FreeBSD title FreeBSD 5.2 root (hd0,a) chainloader +1 where (hd0,a) reflects the position of the FreeBSD primary partition. On Mon, Aug 11, 2008 at 1:05 PM, Jack Raats [EMAIL PROTECTED] wrote: I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
Le Mon, 11 Aug 2008 18:05:10 +0200, Jack Raats [EMAIL PROTECTED] a écrit : I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? By default, (the last time i tried Ubuntu) Ubuntu removes the bootmanager to put Grub. But with the alternate CD of Ubuntu you can choose to install Grub (or Lilo) on the Linux partition. For the bootmanager I use GAG, GAG is cool and very simple. I'm not sure is there is still an alternate CD for Ubuntu. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On Monday 11 August 2008, Bruno Schmitt wrote: Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box, so you will have to add some lines to /boot/grub/menu.lst # For booting FreeBSD title FreeBSD 5.2 root (hd0,a) chainloader +1 where (hd0,a) reflects the position of the FreeBSD primary partition. Grub does recognise FreeBSD partitions so you can use either the chainloader command or point grub directly to /boot/loader, though I can't speak for the Ubuntu version. Here's the menu file for my box with FreeBSD 6.3, FreeBSD 7.0 and Windoze: default 0 timeout 3 hiddenmenu color white/blue yellow/blue title FreeBSD 6.3 root (hd0,0,a) kernel /boot/loader title FreeBSD 7.0 root (hd0,1,a) kernel /boot/loader title MS Windows root(hd0,3) makeactive chainloader +1 title Floppy root (fd0) chainloader +1 -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
Sorry for not making myself clear... When I said Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box I was referring to the GRUB installed by Ubuntu installation which won't come with FreeBSD partition configured. On Mon, Aug 11, 2008 at 6:48 PM, Mike Clarke [EMAIL PROTECTED]wrote: On Monday 11 August 2008, Bruno Schmitt wrote: Ubuntu uses GRUB boot manager and as far as I remember it won't recognize FreeBSD partition out of the box, so you will have to add some lines to /boot/grub/menu.lst # For booting FreeBSD title FreeBSD 5.2 root (hd0,a) chainloader +1 where (hd0,a) reflects the position of the FreeBSD primary partition. Grub does recognise FreeBSD partitions so you can use either the chainloader command or point grub directly to /boot/loader, though I can't speak for the Ubuntu version. Here's the menu file for my box with FreeBSD 6.3, FreeBSD 7.0 and Windoze: default 0 timeout 3 hiddenmenu color white/blue yellow/blue title FreeBSD 6.3 root (hd0,0,a) kernel /boot/loader title FreeBSD 7.0 root (hd0,1,a) kernel /boot/loader title MS Windows root(hd0,3) makeactive chainloader +1 title Floppy root (fd0) chainloader +1 -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
I recommend installing FreeBSD first, then Windows and then Ubuntu ... Unless something has changed since the last time I was messing with this sort of thing, one hazard of installing a Linux last is that there may by then be no space left for the /boot partition, which has to be below cylinder 1024 to be accessible by BIOS. One might want to allocate what will become /boot as early in the process as possible. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]