Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
I've been using GRUB as my boot loader for a while andits great, but since this computer has no floppydisk drive, I had to install it on my hard drive's MBR. Recently though, I found a tutorial on how to use Windows's boot loader to load grub and then a linux system. However, I cannot restore NTLDR. If I had used Lilo instead of GRUB, I could have easily just gone into a root console and typed in
Code:
lilo -u /dev/hda/
However, that's out of the question. Seeing as my computer came with Windows XP Media Center Edition from the factory, I don't have the Windows XP Install disk for it, and cant use the Recovery Console. I also cannot afford to buy a program to restore it.
I had a floppy disk utility that could restore the bootloader, but since they've started making computers without floppydisks, that option is ruled out. My question is this: Is there any way to resotre NTLDR without using the Gateway Restore disk and losing everything? (I've already tried backing up the whole disk, but my antivirus interfered, and I have to do it all over with Norton Off)
I think i found the tool you were talking about, but how can I make sure? Is there any way for me to see what bootloader I'm using. I need to be sure its NTLDER.
Not sure how to see if NTLDR is up or not. My gut instinct is that if you boot right into windows and don't see "lilo" or "grub" or something else when you're watching the screen, then you did it correctly... Sorry I can't be of more help.
Any particular reason why you don't just keep using grub? Grub dual boots just fine and you seem to be happy with it...
I think i found the tool you were talking about, but how can I make sure? Is there any way for me to see what bootloader I'm using. I need to be sure its NTLDER.
You probably have it figured out by now, but just in case...
NTLDR is a program that NT-based OSes use to boot themselves, or possibly an alternative OS. NTLDR is an ordinary file on the NT/XP partition, which linux installers do _not_ touch. NTLDR is still there.
What linux installers do is over-write the program part of the "standard" Master Boot Record (standard back to the DOS era) to intercept the loading process before it goes any further and ultimately gets to Windows or DOS.
The MBR exists outside of any file system. The MBR is even outside any partition. Besides the loader in the MBR, all partitions have a spot for a boot record, which also is outside any file system.
Before NTLDR even gets into the act two (three?) loaders have done their thing. First the BIOS loads the MBR into memory. The loader within the MBR is executed and loads a second loader located on the first partition it finds marked "active". This loader is more elaborate than the little one in the MBR. In the case of Windows NT/XP it has to be able to read a file system, and to look up a file called NTLDR (and a couple of other files.)
All you need to get yourself back to the "standard" loading system is to put a "standard" MBR back on the HD instead of one from linux. GRUB hasn't touched NTLDR or the loader on the "active" partition which loads NTLDR.
Ah that explains it. Anyways, I've figured it all out. One last thing that isnt in the guide I posted was to go to System Properties, go into the Advanced Tab, down into the "Startup and Recovery" section, click settings and make sure that "Time to display list of operating systems: 30" is checked off. It wasn't on mine, and after checking it off, I could boot NTLDR before GRUB which is what I wanted.
Quote:
Any particular reason why you don't just keep using grub? Grub dual boots just fine and you seem to be happy with it...
Well, with grub if you uninstall linux, or if the partitions get deleted, it wont load. This way, though, unless I choose "Linux" from the Windows bootloader, I can still load up Windows and delete the c:\linux.bin="Linux" in my boot.ini.
Thanks for all the help, I'll post if I have any other problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.