The Cellar  

Go Back   The Cellar > Main > Technology
FAQ Community Calendar Today's Posts Search

Technology Computing, programming, science, electronics, telecommunications, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-14-2004, 01:56 PM   #10
tw
Read? I only know how to write.
 
Join Date: Jan 2001
Posts: 11,933
Quote:
Originally Posted by BrianR
Now, the next little glitch, how oh how do I get my multiboot back? I'm afraid to change anything else lest this happen again. Anyone have any ideas?
NT's Boot.ini should look something like this to multiboot both an NT and a Linux partition:
[Operating Systems]
multi(0)disk(0)rdisk(0)partition
(1)\winnt="Windows NT
Workstation 4.0"
multi(0)disk(0)rdisk(0)partition
(1)\winnt="Windows NT
Workstation 4.0 [VGA mode]"
/basevideo /sos
C:\bootsect.lnx="Linux"

This says Windows NT 4.0 can be booted from Disk controller zero, Hard drive zero on that first controller, and from the first partition on that disk. The switches (words that begin with / ) provide additional information on how that bootup procedes. Meaning of switches in boot.ini can be learned in http://www.sysinternals.com

Normally, Linux loads by overwriting a boot sector with information unique to that drive and computer. Your previous installation may have copied that boot sector into the file bootsect.lnx using a program such as:
/usr/sbin/rdev/boot/vmlinuz .

Now you must copy that file bootsect.lnx to the root directory of the NT partition so that Boot.ini can find and execute the unique bootstrap loader for your disk and computer.

bootsect.lnx should not be larger than 512 bytes.

There are other methods to multiboot an NT machine. This is just the one I am more familiar with. Of course this procedure assumes both the NT partitions and Linux partitions were intact and that the bootstrap loader did already exist in the Linux partition (or can be found in the NT partition). That Linux file in the NT partition would be saved with the attributes of system and read only meaning that special considerations are necessary to see the file. For example, the Windows Explorer must be optioned to see hidden and system files. Or using Windows command prompt, the command might be:
dir c:\*.lnx /ah or
dir c:\bootsect.* /ah or
dir c:\bootsect.* /ah /s
tw is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 01:25 PM.


Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.