Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, well this is a weird problem, I installed first w2k using ntfs, and then I load redhat 7.3 using lilo, so when I tryed to boot in to windows lilo does not boot in to it, so does any body knows how tofix it, thanks
What happens when you try to boot into it? What do you DO to try to boot into it? NTFS is not a bootloader, it's a filesystem type. LILO IS a boot loader, not a filesystem type. So you are speaking of 2 different things altogether. LILO will boot W2k though, if it's not, you may want to "reinstall". It may be easier for you than editing your lilo.conf file.
If you want to try the editing way, here ya go:
Open /etc/lilo.conf with your favorite text editor.
add the lines (if they aren't already there)(and do not add the '#' signs, those are just to show you what to add)
#
boot=/dev/hdx1 (where X is hard drive a or b)
label=Windows2k
read-only
#
Then open a terminal and type "/sbin/lilo;reboot" without the quotes. This will run lilo and the reboot.
sorry for the lack of detalles . but here is the info
I have w2000 using ntfs and redhat 7.3 , I had 2 hard disk, one is for os's and other is for backup. so my first device is holding the os ( w2000 and linux) so when I boot I see the shadown man ( the red hat logo ) and 2 options Linux and dos so I chosse dos I get a error mesages something like this , error loading dos at 0x000 , I try to fix from kde concontron center, form lilo but does not work, ( ther wird thing is that if I use w2000 using fat 32 it works) so my questin is how can I be able to boot in to windows using ntfs file system
It simply might be that lilo (for some reason) is not aware oif your ntfs/win2k setup. Follow what MasterC said to get lilo set up correctley. NTFS can be booted no problem. Lilo simply "points" to where boot up information/commands can be found. So when u point it to /dev/hdx (where X is either an a or a b) t simply points to the drive/paritition that contains windows, and will have windows take over with the boot.
Anyways, follow what MasterC suggested and let us know if it works or not
After making these changes, run the command /sbin/lilo. You must run this command after editing the lilo.conf or the changes you made won't take effect.
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800
Rep:
I believe to dual boot with Win2000, you will need to use Win2K bootloader. Here is how Slackware show to dual boot WinNT/2000/XP:
This is the second most common dual booting situation. Windows NT presents several more problems than dual booting between Windows 9x and Linux. The one we are most concerned with is if the Master Boot Record is overwritten with LILO, NT will not boot successfully. Therefore, we must use the OS Loader that comes with Windows NT. The steps below show how you should setup a Windows NT and Linux dual boot system.
Install Windows NT
Install Linux, making sure LILO is installed to the superblock of the Linux partition
Get the first 512 bytes of the Linux root partition and store it on the Windows NT partition
Edit C:\BOOT.INI under Windows NT to add a Linux option
Installing Windows NT should be fairly straightforward, as should installing Linux. From there, it gets a little more tricky. Grabbing the first 512 bytes of the Linux partition is easier than it sounds. You will need to be in Linux to accomplish this. Assuming your Linux partition is /dev/hda2, issue this command:
That's it. Now you need to copy bootsect.lnx to the Windows NT partition. Here's where we run into another problem. Linux does not have stable write support for the NTFS filesystem. If you installed Windows NT and formatted your drive as NTFS, you will need to copy this file to a FAT floppy and then read from it under Windows NT. If you formatted the Windows NT drive as FAT, you can simply mount it under Linux and copy the file over. Either way, you will want to get /tmp/bootsect.lnx from the Linux drive to C:\BOOTSECT.LNX on the Windows NT drive.
The last step is adding a menu option to the Windows NT boot menu. Under Windows NT open a command prompt.
C:\WINNT>cd \
C:\>attrib -r -a -s -h boot.ini
C:\>edit boot.ini
Add this line to the end of the file:
C:\bootsect.lnx="Slackware Linux"
Save the changes and exit the editor. When you reboot Windows NT, you will have a Linux option on the menu. Choosing it will boot into Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.