LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-14-2004, 02:30 AM   #16
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65

Oh yeah, about your question, I've not tried Lilo(well, yeah, with Slack), but I will take a look at it now. Thanks for the hint
 
Old 04-14-2004, 03:01 AM   #17
Marble
Member
 
Registered: Feb 2003
Distribution: FreeBSD 5.2
Posts: 113

Rep: Reputation: 15
I don't know the source of your problem, but that missing NTLDR is a windows issue.
 
Old 04-14-2004, 04:27 AM   #18
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
yup. It seems that FreeBSD, for some reason, is overwriting the windows boot loader (NTLDR). I've found an article in swedish explaining how to boot FreeBSD with Windows XP boot loader NTLDR. That would be really great, since I can choose "none" to FreeBSD's boot loader and let XP/2k to do the job. This, if works with Linux as well, is a great thing in case you need to remove your distribution, say, to try a new one, and is afraid of messing up the boot record as I just did...

I've not tried it myself, since I've removed Win2k. If anyone is interested on the article I can make a rough translation of it.

Thanks again for the replies guys!

Cheers!
 
Old 04-15-2004, 03:04 PM   #19
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Just to let you guys up-to-date, I am dual booting FreeBSD 5.2.1 and Slackware 9.0 without a problem. I've installed first Slack on the first slice and lilo on MBR, then FreeBSD. I even let FreeBSD installs it's boot loader and I can choose either Linux or FreeBSD during boot time... To my astonishment, choosing Linux, calls Lilo, so FreeBSD was not really overwriting the MBR. It really was something weird with Windows 2000 boot loader and FreeBSD... Though, I never had problems with Win2k and Slack, so then again, it was weird
 
Old 04-25-2004, 07:48 AM   #20
itismike
Member
 
Registered: Aug 2002
Location: East Coast, USA
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
I had similar trouble dual-booting win2K and mandrake 10. It was suggested in the boot loader forum here that the boot.ini in the windows root directory needs to be edited. Why I don't really understand...I can't imagine that Linux or GAG would try to edit the file themselves...
-Mike
 
Old 05-01-2004, 04:33 PM   #21
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Thanks itismike!!!

I've not been trying FBSD for a while, been a little busy, so I was not checking this forum Good to know that it was not only me having that issue. Thanks for sharing . This is quite weird and interesting actually . I will try to look at the boot.ini when I install win2k again. Strange...
 
Old 05-02-2004, 01:56 AM   #22
itismike
Member
 
Registered: Aug 2002
Location: East Coast, USA
Distribution: Ubuntu
Posts: 75

Rep: Reputation: 15
Your very welcome, Megaman. I sure have learned my lesson. It'll be a cold day in hell before I dual-boot a single hard drive. From now on I'm using a boot floppy to send the boot loader to the other (Linux) partition or maybe I'll try to learn the syntax for Windows boot loader. Grub, LILO and GAG are not welcome on my boot sector!
 
Old 05-02-2004, 02:52 AM   #23
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
NTLDR disappearing can be a service pack fault or a virus or something else. a floppy boot disk + a cdrom allows you to copy NTLDR from the cd to the win disk with the expand function if i remember. When i was dual booting freebsd and win i had this problem only once and it was after service pack installation...
 
Old 05-04-2004, 12:39 PM   #24
Manadien
Member
 
Registered: Mar 2003
Distribution: FreeBSD 5.5, OpenBSD 3.3, Ubuntu breezy
Posts: 81

Rep: Reputation: 15
Quote:
Originally posted by Megaman X
LOL, no, still no go. I've then installed Win2k, then FreeBSD. This time, win2k is set as NTFS. When I got into the prompt screen to boot:

F1 = ??
F2 = DOS
F3 = FreeBSD
When you had Win2k did you have it split into two drives (C: and D)? If you did you would need to select F1 to boot into windows. Hitting F2 would have been passing the boot process to your D: drive which would have not had the boot files (boot.ini, ntldr.exe, etc). Also if the D: drive was formatted as FAT32 that is why it shows up as DOS, NTFS paritions usually give you the ?? like in the F1.

Last edited by Manadien; 05-04-2004 at 12:41 PM.
 
Old 05-16-2004, 10:04 PM   #25
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
From the FreeBSD FAQ: http://www.freebsd.org/doc/en_US.ISO...#NT-BOOTLOADER


9.10. How can I use the NT loader to boot FreeBSD?

The general idea is that you copy the first sector of your native root FreeBSD partition into a file in the DOS/NT partition. Assuming you name that file something like c:\bootsect.bsd (inspired by c:\bootsect.dos), you can then edit the c:\boot.ini file to come up with something like this:
Code:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows NT"
C:\BOOTSECT.BSD="FreeBSD"
C:\="DOS"
If FreeBSD is installed on the same disk as the NT boot partition simply copy /boot/boot1 to C:\BOOTSECT.BSD. However, if FreeBSD is installed on a different disk /boot/boot1 will not work, /boot/boot0 is needed.

/boot/boot0 needs to be installed using sysinstall by selecting the FreeBSD boot manager on the screen which asks if you wish to use a boot manager. This is because /boot/boot0 has the partition table area filled with NULL characters but sysinstall copies the partition table before copying /boot/boot0 to the MBR.

Warning: Do not simply copy /boot/boot0 instead of /boot/boot1; you will overwrite your partition table and render your computer un-bootable!

When the FreeBSD boot manager runs it records the last OS booted by setting the active flag on the partition table entry for that OS and then writes the whole 512-bytes of itself back to the MBR so if you just copy /boot/boot0 to C:\BOOTSECT.BSD then it writes an empty partition table, with the active flag set on one entry, to the MBR.
 
Old 05-16-2004, 10:06 PM   #26
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
From the above it would seem infinitely simpler to use the NT bootloader than FreeBSD's.
 
Old 05-18-2004, 11:07 PM   #27
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
Hmm. Out of curiosity I tried shrinking my NTFS W2K partition on a disk to one half, installing FreeBSD 5.2.1-release on the other half, and letting the boot loader decide what to do. It worked first go with no further configuration required.


Now I have a second installation of FreeBSD

Last edited by rehab junkie; 05-18-2004 at 11:08 PM.
 
Old 12-17-2004, 12:46 PM   #28
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
I recommend using GAG v.4 for multiboot. Always warks for me
 
Old 12-17-2004, 04:58 PM   #29
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
Hey megamanx. I can't help u, sorry. But i will be watching this thread closely. Because i am going to install in my real pc in few months. Dual boot with windows xp and freebsd 5.3 in my SATA hardrive(250gb). So if u find a solution dont forget to post it here, so it will be useful for other noobs like me. Thanks a lot!

Out of curiousity, R u swedish? Because u said that u will translate swedish webpage if anyone need. Sorry i couldn't resist it.

Cheers.

Last edited by cyto; 12-17-2004 at 04:59 PM.
 
Old 12-17-2004, 05:30 PM   #30
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Original Poster
Rep: Reputation: 65
Hi there cyto!

Great to see you sticking with FreeBSD. Well, actually, I never tried dual booting FreeBSD with Win2K again after this (or dual booting FreeBSD with any other OS for that matter). I simply decided to dedicate a machine to FreeBSD exclusively instead(old machine, but still works fine). This thread was possibly the last time I've tried FreeBSD before I gave up. Now I'm back into it again.

I'd love to try dual booting FreeBSD with WinXP to see if the results are different. I might get some time around Xmas or so... hopefully .

What I'd recommend you is to backup all your data before installing FreeBSD/WinXP. I don't keep anything important in one of my machines which I use only for testing *nix. It's like a hobby of mine, besides playing games. LOL.

And I really am from Sweden as you guessed, ghehe. I'd ratter fix my profile someday .
 
  


Reply



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
grub dual boot redhat 8/win2k problem bsriveria Red Hat 1 02-10-2005 08:18 AM
Win2K and Red Hat- Dual Boot problem confusednoob Linux - Newbie 4 01-21-2004 12:40 PM
Problem with Dual boot, Debian and Win2k on 2 seperate harddrives. eviltama Linux - Newbie 1 01-20-2004 12:50 AM
redhat 7.3 and win2k dual boot problem lyw4 Linux - Newbie 0 05-23-2003 04:13 PM
Mandrake 8/Win2K Dual Boot Install Problem GraemeG Linux - Software 8 08-13-2001 08:12 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:32 PM.

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