荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: zzt (破网,烂网), 信区: Linux
标  题: Boot FreeBSD from NT loader! calvin
发信站: BBS 荔园晨风站 (Thu Nov 12 22:35:20 1998), 站内信件 (WWW POST)

发信人: cxm (天外来客), 信区: FreeBSD
标  题: Boot FreeBSD from NT loader!
发信站: 华南网木棉站 (Tue Jun 16 11:09:20 1998), 转信

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:


        [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"


This procedure assumes that DOS, NT, FreeBSD, or whatever have been installed
into their respective fdisk partitions on the same disk. In my case DOS & NT
are in the first fdisk partition and FreeBSD is in the second. I also
installed FreeBSD to boot from its native partition, not the disk MBR.

Mount a DOS-formatted floppy (if you've converted to NTFS) or the FAT
partition, under, say, /mnt.


        dd if=/dev/rsd0a of=/mnt/bootsect.bsd bs=512 count=1


Reboot into DOS or NT. NTFS users copy the bootsect.bsd and/or the bootsect.
lnx file from the floppy to C:\. Modify the attributes (permissions) on boot.
ini with:

        attrib -s -r c:\boot.ini


Edit to add the appropriate entries from the example boot.ini above, and
restore the attributes:

        attrib -r -s c:\boot.ini


If FreeBSD is booting from the MBR, restore it with the DOS ``fdisk''
command after you reconfigure them to boot from their native partitions.


--
日日深杯满酒,朝朝小圃花开。自歌自舞自开怀,且喜无拘无碍。
青史几番春梦,红尘多少奇才?不须计较与安排,领取而今见在。

※ 修改:.calvin 于 Jun 16 11:50:27 修改本文.[FROM: 202.38.212.86]
※ 来源:.华南网木棉站 bbs.gznet.edu.cn.[FROM: 202.192.159.118]
--
※ 转寄:.华南网木棉站 bbs.gznet.edu.cn.[FROM: linux.szu.edu.cn]


--
☆ 来源:.BBS 荔园晨风站 bbs.szu.edu.cn.[FROM: 192.168.0.101]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店