FreeBSD 8.2 Add second hard drive multi-boot

2012-06-21 Thread leeoliveshackelford
Good morning, FreeBSD enthusiasts.  On my Hewlett-Packard xw4400 workstation, I 
had one hard drive.  I partitioned it with two slices, the first one for 
FreeBSD 8.2 with its native file system, and the second one for a future 
re-installation of Windows XP, to be formatted with NTFS file system.  FreeBSD 
8.2 was then installed.  The Windows XP re-installation has not yet taken 
place.  Recently, I installed a second hard drive on the machine that was 
already formatted with two slices, both NTFS.  Already installed on the first 
of these slices is the Windows XP operating system with a special application 
program.  Already installed on the second slice is data.  It is my 
understanding that the FreeBSD loader is supposed to be able to load any 
operating system.  Upon power-up, the FreeBSD loader presents the following 
screen:  

F1 Win
F2 FreeBSD
F5 Drive 1
F6 PXE

If I depress F1, I receive the response BOOTMGR is missing.  Press 
Ctrl+Alt+Del to restart.  If I depress F2, FreeBSD loads normally.  If I 
depress F5, I receive the response Missing operatin system.  How can I get 
the FreeBSD loader to load the Windows XP operating system from the second hard 
drive?  The G.P.T. disklabel is not used by either of these operating systems, 
so I do not believe that that is the problem.  Although the FreeBSD operating 
system seems to see the second hard drive, it does not mount it upon startup.  
It does not appear in the fstab file.  I attempted to mount it manually using 
the mount command, without success, just to see if any of the data files could 
be read.  I ran fsidk -B on the zeroeth sector of the second hard drive, but 
that did not seem to help.  I know that this type of issue comes up repeatedly 
in the mailing lists, some of which I have read, but I am flummoxed.  Any and 
all suggestions would be appreciated.  Your truly, Lee Shackelfo
 r!
d

___
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: FreeBSD 8.2 Add second hard drive multi-boot

2012-06-21 Thread Jerry McAllister
On Thu, Jun 21, 2012 at 09:59:19AM -0700, leeoliveshackelf...@surewest.net 
wrote:

You need to put the FreeBSD boot manager on both disks.
Use bootcfg.

jerry 

 Good morning, FreeBSD enthusiasts.  On my Hewlett-Packard xw4400 workstation, 
 I had one hard drive.  I partitioned it with two slices, the first one for 
 FreeBSD 8.2 with its native file system, and the second one for a future 
 re-installation of Windows XP, to be formatted with NTFS file system.  
 FreeBSD 8.2 was then installed.  The Windows XP re-installation has not yet 
 taken place.  Recently, I installed a second hard drive on the machine that 
 was already formatted with two slices, both NTFS.  Already installed on the 
 first of these slices is the Windows XP operating system with a special 
 application program.  Already installed on the second slice is data.  It is 
 my understanding that the FreeBSD loader is supposed to be able to load any 
 operating system.  Upon power-up, the FreeBSD loader presents the following 
 screen:  
 
 F1 Win
 F2 FreeBSD
 F5 Drive 1
 F6 PXE
 
 If I depress F1, I receive the response BOOTMGR is missing.  Press 
 Ctrl+Alt+Del to restart.  If I depress F2, FreeBSD loads normally.  If I 
 depress F5, I receive the response Missing operatin system.  How can I get 
 the FreeBSD loader to load the Windows XP operating system from the second 
 hard drive?  The G.P.T. disklabel is not used by either of these operating 
 systems, so I do not believe that that is the problem.  Although the FreeBSD 
 operating system seems to see the second hard drive, it does not mount it 
 upon startup.  It does not appear in the fstab file.  I attempted to mount it 
 manually using the mount command, without success, just to see if any of the 
 data files could be read.  I ran fsidk -B on the zeroeth sector of the second 
 hard drive, but that did not seem to help.  I know that this type of issue 
 comes up repeatedly in the mailing lists, some of which I have read, but I am 
 flummoxed.  Any and all suggestions would be appreciated.  Your truly, Lee 
 Shackelfo
  r!
 d
 
 ___
 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
___
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: FreeBSD 8.2 Add second hard drive multi-boot

2012-06-21 Thread Polytropon
On Thu, 21 Jun 2012 09:59:19 -0700 (PDT), leeoliveshackelf...@surewest.net 
wrote:
 Although the FreeBSD operating system seems to see the second
 hard drive, it does not mount it upon startup. 

FreeBSD won't mount anything until explicitely told so. Check
the output of dmesg (e. g. dmesg | grep ^ad or dmesg | grep ^da)
for the drive designation and issue the command yourself. If
everything works, you can add an entry to /etc/fstab to make
it mount on startup, e. g.

# device target   type   options d   p
#    --      -   -   -
/dev/ad1s1   /xp/system   ntfs   ro,noauto   0   0
/dev/ad1s2   /xp/data ntfs   ro,noauto   0   0

It might be worth applying other options like -M (mask) to have
the missing attributes and misinterpretation as executables
of NTFS file systems corrects. See the manual for details.



 It does not appear in the fstab file. 

This file is not generated automatically. It's an entirely
user serviceable part of the OS.



 I attempted to mount it manually using the mount command, without
 success, just to see if any of the data files could be read. 

Can you show the mount command? I think it will be something
like

# mount_ntfs -o ro /dev/ad1s1 /mnt

If you need write access, ntfs3g / FUSE would be a good tool.
Also see the port ntfsprogs which contains useful tools for
dealing with NTFS.



 I ran fsidk -B on the zeroeth sector of the second hard drive, but
 that did not seem to help. 

You need to apply boot0cfg to install the initial boot blocks.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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