Re: How to dual-boot FreeBSD 9 with Linux?
- Original Message - From: Thomas Mueller mueller6...@bellsouth.net To: freebsd-questions@FreeBSD.org Cc: Sent: Saturday, October 29, 2011 4:47 AM Subject: Re: How to dual-boot FreeBSD 9 with Linux? Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system +type. Any help in this regard is very much appreciated. Many thanks in advance. Unga Not yet, but I intend to, once I get Linux built and installed, possibly starting with a cross-compile from FreeBSD 9. On my older computer, i386 (32-bit), I dual-boot FreeBSD 8.2 and Linux (Slackware) using LILO, also FreeDOS on another hard disk, can even boot grub4dos and Plop (http://www.plop.at/) boot manager from LILO. Can you use rootnoverify with grub1 (you must mean grub 0.97)? Yes, it is 0.97. You could also try grub2, which is in the ports under sysutils. Is your hard disk partitioned MBR or GPT? Its MBR. My hard disk is partitioned GPT, I still can't boot the hard disk directly, but using the System Rescue CD (http://sysresccd.org/), I go to the Super Grub Disk in the floppy images, hit c to get to command prompt, and set root=(hd0,3) kfreebsd /boot/loader boot You would use the actual FreeBSD partition which will probably be different from (hd0,3). Tom Tom, thanks for the reply. I managed to get both OpenSUSE 11.4 and FreeBSD 9 dual-boot on i386 desktop computer. Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to dual-boot FreeBSD 9 with Linux?
Hi all Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system type. Any help in this regard is very much appreciated. Many thanks in advance. Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to dual-boot FreeBSD 9 with Linux?
Unga unga...@yahoo.com writes: Hi all Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system type. Any help in this regard is very much appreciated. It isn't very difficult and there are at least two ways to do it. Grub1 actually does support ffs and ufs2 file systems, but the linux distributions don't seem to include the drivers. If you can get the source, that should have all of them. I think that I just got the grub package from the FreeBSD file system and copied the additional drivers directly into my linux grub directory, but I am not sure now. The other way is to use the 'chainloader' command. You just specify the disk and partition (slice) with the root command, and then add the commands 'chainloader +1' and 'boot'. The chainloader command just means to boot whatever is at the first sector of the previously specified disk and slice. I think the first sector of a ufs2 file system just jumps to the loader. The menu items from mine are just: title FreeBSD /boot/loader root(hd1,2,a) kernel /boot/loader boot title FreeBSD chainloader root(hd1,2) chainloader +1 boot In my case, those specifies that they use the third slice on the second disk. The first menu item requires that you already have the 'ufs2_stage1_5' file in your grub directory. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to dual-boot FreeBSD 9 with Linux?
Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system +type. Any help in this regard is very much appreciated. Many thanks in advance. Unga Not yet, but I intend to, once I get Linux built and installed, possibly starting with a cross-compile from FreeBSD 9. On my older computer, i386 (32-bit), I dual-boot FreeBSD 8.2 and Linux (Slackware) using LILO, also FreeDOS on another hard disk, can even boot grub4dos and Plop (http://www.plop.at/) boot manager from LILO. Can you use rootnoverify with grub1 (you must mean grub 0.97)? You could also try grub2, which is in the ports under sysutils. Is your hard disk partitioned MBR or GPT? My hard disk is partitioned GPT, I still can't boot the hard disk directly, but using the System Rescue CD (http://sysresccd.org/), I go to the Super Grub Disk in the floppy images, hit c to get to command prompt, and set root=(hd0,3) kfreebsd /boot/loader boot You would use the actual FreeBSD partition which will probably be different from (hd0,3). Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to dual-boot FreeBSD 9 with Linux? [ SOLVED]
- Original Message - From: Carl Johnson ca...@peak.org To: freebsd-questions@freebsd.org Cc: Sent: Saturday, October 29, 2011 4:12 AM Subject: Re: How to dual-boot FreeBSD 9 with Linux? Unga unga...@yahoo.com writes: Hi all Is any one by now successfully dual-booting FreeBSD 9 with Linux? I have tried with OpenSuse 11.4 with FreeBSD 9. OpenSuse installs Grub1 to mbr. Grub1 doesn't seem to support FreeBSD 9. It cannot recognise the file system type. Any help in this regard is very much appreciated. It isn't very difficult and there are at least two ways to do it. Grub1 actually does support ffs and ufs2 file systems, but the linux distributions don't seem to include the drivers. If you can get the source, that should have all of them. I think that I just got the grub package from the FreeBSD file system and copied the additional drivers directly into my linux grub directory, but I am not sure now. The other way is to use the 'chainloader' command. You just specify the disk and partition (slice) with the root command, and then add the commands 'chainloader +1' and 'boot'. The chainloader command just means to boot whatever is at the first sector of the previously specified disk and slice. I think the first sector of a ufs2 file system just jumps to the loader. The menu items from mine are just: title FreeBSD /boot/loader root (hd1,2,a) kernel /boot/loader boot title FreeBSD chainloader root (hd1,2) chainloader +1 boot In my case, those specifies that they use the third slice on the second disk. The first menu item requires that you already have the 'ufs2_stage1_5' file in your grub directory. Hi Carl Thank you very much for the reply. Your second method (ie. chainloader) worked, but the grub still say file system type is unknown. The ufs2_stage1_5 is available in /boot/grub/. Since now I can have a working dual boot with Linux, I conclude this is solved. Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to dual boot
On 26 Dec Jerry McAllister wrote: Just put the FreeBSD install CD back in and install the FreeBSD MBR. It will give you a choice as to which to boot. It works just fine. It's only quirk is that, if the MS slice is an NTFS type of filesystem it will identify it as ??? in the menu rather than MS-DOS as it identifies the FAT type file systems. That weirdness is over in 6.x NTFS partitions are under Fx DOS now and I must say I like this much better then ??? -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ The Power to Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
On 26 Dec Jerry McAllister wrote: Just put the FreeBSD install CD back in and install the FreeBSD MBR. It will give you a choice as to which to boot. It works just fine. It's only quirk is that, if the MS slice is an NTFS type of filesystem it will identify it as ??? in the menu rather than MS-DOS as it identifies the FAT type file systems. That weirdness is over in 6.x NTFS partitions are under Fx DOS now and I must say I like this much better then ??? Ah, good. I haven't had time to install the 6.0 that I downloaded yet. jerry -- dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE ++ Running FreeBSD 6.0 +++ The Power to Serve ___ 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: how to dual boot
Marty Landman åé: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? Since you failed to follow instructions and loaded MS after other things, it wiped out your FreeBSD MBR.MS is unfriendly that way. The MS MBR is also either too stupid or too selfish to boot any other system. Just put the FreeBSD install CD back in and install the FreeBSD MBR. It will give you a choice as to which to boot. It works just fine. It's only quirk is that, if the MS slice is an NTFS type of filesystem it will identify it as ??? in the menu rather than MS-DOS as it identifies the FAT type file systems. But, just don't worry about that. It works. If you just have to have a more pretty identifying label, you can install something like Grub or one of the other expanded booters. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
Marty Landman 写道: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? Using Symantec BootMagic 8.0, you can boot FreeBSD and WinXp. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fw: how to dual boot
grub, standart freebsd boot menager... and a lot of otheres ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
On Saturday, December 17, 2005 11:00:25 PM Jerry McAllister [EMAIL PROTECTED] Subject: Re: how to dual boot Wrote these words of wisdom: At 07:39 PM 12/16/2005, Jerry McAllister wrote: You need to read the documentation better. Or at all. :) Was hoping it would just magically guide me through it. Not a critical box of mine of course. It tells you that you should install Microsloth first and then FreeBSD. Did that, lost MS so reinstalled it. But, FreeBSD is more sophisticated and also more friendly to the rest of the world and, first of all, asks if you want an MBR installed in the sector 0 and then if you go ahead and write FreeBSD's MBR, it will give you a choice of bootable slices to boot, including MS if present. Ok, I'll read the docs and reinstall FBSD. That's no problem, I hope. Here is the problem. This is my kids' computer and they insist on installing XP. So we keep doing 30 day trials. On the bright side they've all learned to install the OS. Sounds like I'll have problems though keeping a FreeBSD install on there if Windows has to be reinstalled every 30 days. Oh well, such is life in the fast lane. Have fun. jerry Yuck. Marty * REPLY SEPARATOR * On 10/11/2005 5:29:42 PM, Gerard Replied: Why do you have to reinstall Microsoft every thirty day? I am not familiar with this trial scenario you mentioned. Do you have some pirated copy of the software and are attempting to defeat the required registration of it? I am just curious, that is all. -- Gerard Seibert [EMAIL PROTECTED] Buffet is a French term, It means get up and get it yourself. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
On Friday 16 December 2005 21:31, Marty Landman wrote: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? Get the GAG bootloader, it's free, really easy to use and you can install it from ports or from many linux live CDs. What's really nice about it, is that it's all menu driven, and the complete setup menu is accessible from the boot screen. So a year from now you can tweak the boot delay or add a new OS without the risk of screwing up. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
At 07:39 PM 12/16/2005, Jerry McAllister wrote: You need to read the documentation better. Or at all. :) Was hoping it would just magically guide me through it. Not a critical box of mine of course. It tells you that you should install Microsloth first and then FreeBSD. Did that, lost MS so reinstalled it. But, FreeBSD is more sophisticated and also more friendly to the rest of the world and, first of all, asks if you want an MBR installed in the sector 0 and then if you go ahead and write FreeBSD's MBR, it will give you a choice of bootable slices to boot, including MS if present. Ok, I'll read the docs and reinstall FBSD. That's no problem, I hope. Here is the problem. This is my kids' computer and they insist on installing XP. So we keep doing 30 day trials. On the bright side they've all learned to install the OS. Sounds like I'll have problems though keeping a FreeBSD install on there if Windows has to be reinstalled every 30 days. Oh well, such is life in the fast lane. Have fun. jerry Yuck. Marty ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to dual boot
I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
On Fri, 2005-12-16 at 16:31 -0500, Marty Landman wrote: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? If you can get to freebsd use the freebsd bootloader and renable it via fdisk -B -b /boot/boot0 device, or you could install grub and use it. see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html and http://www.pl.freebsd.org/doc/en_US.ISO8859-1/articles/multi-os/article.html Cheers _GOOD_LUCK_ -- Harley -BEGIN GEEK CODE BLOCK- G: GCS-- d- a? C B- E+++ W+++ N++ w--- X+++ b++ G e* r x+ z+ --END GEEK CODE BLOCK-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
On Fri, 16 Dec 2005 16:31:11 -0500 Marty Landman [EMAIL PROTECTED] wrote: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? ___ You could try the following: 0. Understand that life is risk management; and that I offer no guarantees/warranties regarding the following advice. Continue at your own risk. 1. Boot from the installation CD. 2. When you get to the sysinstall Main Menu, select Index. 3. Select the Partition module. 4. DO NOT delete any partitions. 5. Set the FreeBSD and NTFS partitions as bootable. 6. Write your changes. 7. When given the option, install the FreeBSD boot loader (which Windows erased during installation). 8. Back out of the sysinstall menus and quit. 9. Reboot, remove the CD and see what happens. Good 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: how to dual boot
On Friday 16 December 2005 01:31 pm, Marty Landman wrote: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? I use the ntldr to boot my dual boots. You just have to copy boot1 onto your c-drive and then add it to your boot.ini. You can do that from the system applet. I renamed boot1 to bootsect.bsd and my boot.ini is as follows: [boot loader] timeout=4 default=multi(0)disk(0)rdisk(0)partition(4)\WINXP [operating systems] multi(0)disk(0)rdisk(0)partition(4)\WINXP=Microsoft Windows XP Professional /f c:\bootsect.bsd=FreeBSD The line should be XP Professional but all I added was the FreeBSD. Ntldr lets you choose which one is primary and then, with a pop-down menu, easily change it to something else. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? You need to read the documentation better. It tells you that you should install Microsloth first and then FreeBSD. That is because MS doesn't play nicely and assumes it is the only thing in the world and overwrites your MBR without asking and their MBR will only boot MS (slightly different in recent MS, but essentially the same is true). But, FreeBSD is more sophisticated and also more friendly to the rest of the world and, first of all, asks if you want an MBR installed in the sector 0 and then if you go ahead and write FreeBSD's MBR, it will give you a choice of bootable slices to boot, including MS if present. The only odd thing is if the FreeBSD MBR detects a bootable slice with a filesystem type it does not know such as NTFS, it identifies it in the menu as '???' rather than with a name. It will still boot just fine.It does recognize FATxx filesystems, FreeBSD, of course and some others. But, it doesn't have room to store names for lots of others because it is a true MBR and only uses the one sector allocated rather than using some of the space that is typically (but not officially) not used in the first cylindar. Since you have already let MS wipe out the FreeBSD MBR, you can just put the install CD back in and tell it to write the FreeBSD MBR or even just reinstall FreeBSD from scratch, though that shouldn't actually be necessary. jerry ___ 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: how to dual boot
The only odd thing is if the FreeBSD MBR detects a bootable slice with a filesystem type it does not know such as NTFS, it identifies it in the menu as '???' rather than with a name. I'm triple-booting FreeBSD, NetBSD and that penguin thingy. NetBSD's fdisk(8) allows setting the menu labels to whatever string you want. (limited to ~8 chars due to limited space in the MBR) NetBSD's fdisk also automatically figures out how much space you have left as you add partitions (er, slices in FreeBSD-speak). On the other hand, if you want/need overlapping partitions/slices for some reason, FreeBSD's fdisk will do it and NetBSD's will not. (according to the man pages, I didn't try it) For even more user-programablilty, grub has some nice features. But doesn't fit in the MBR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to dual boot
Jerry McAllister wrote: I'm trying to get a dual boot system set up with FBSD 5.3 and Win XP sp1. First I installed FBSD using 15GB of the HD, then installed XP on the remaining 5GB. However now it boots up XP automatically. I can get back to the FBSD installer by booting from the 5.3 CD but what do I do to provide a choice of which to boot right on the HD? Well, you could try grub, but if you want a fact way of doing, it will cost. OS Selector from Acronis, or Boot Manager from PartitionMagic. OS Selector What you have to do is create a partition, about 100mb or 50mb and it must be FAT16/32, so if your windows partitions is fats, then you don't have to create the partition, but way it doesn't have to be first partition, just visible to OS Selector. Once you install it will read what OS'es you have install. It not a bad program because I have remove freebsd, for dragonfly and PC-BSD, and didn't have to anything just select the partition it was install on. Boot Manager is I remember install on the master boot record and has to be install from the windows partions. I don't like it because I have kill a computer or two with it. Grub has come a long way and there mail list and docs. But if you are newbie you might want to go the route of OS Selector. Just remember that when you install freebsd you not to select a boot manager. Now before I get flame, I have use the freebsd boot manager BUT only with freebsd. Payne ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]