Results 1 to 4 of 4

Thread: Installed windows and grub was messed up

  1. #1
    Member registered user
    Join Date
    Nov 2004
    Location
    Queretaro Mexico
    Posts
    36

    Installed windows and grub was messed up

    I installed Windows XP on a fat 32 partition, but before I could finish the instalation, once the computer rebooted to finish installing windows, I just couldn't boot anything anymore. I had Linux installed before without any trouble, but I decided to install windows on the extra partition I had. The message I receive when I start my computer says:

    Can't find NTLDR, please restart (or something like that)

    How do I fix this???? I think something happened to grub, but I don;t know what exactly. Thanks

  2. #2
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    None of the following should be considered absolutely correct:

    Grub normally installs to the MBR (Master boot record), a portion of the first sector of the first hard disk, although you have the option when installing Lilo (and I expect grub as well) to install it to the Linux partition. Windows has a windows centric additude and always installs a Widows boot loader to the MBR when it is installed, so grub on the MBR was wiped out.

    I expect that you can reinstall grub. I've never done it, but I would start with "man grub" from the Live CD. Or you can install grub or lilo to the Linux partition (the approach I've taken when installing Debian) and install SBM or XOSL to the MBR. SBM is small and should be easy to reinstall to the MBR whenever needed. XOSL is well aware of the issue and part of the XOSL setup is to make a "recovery" floppy. Then whenever you install any software that wants to wipe out your MBR you just go ahead and let it, but you recover from the XOSL recovery floppy right after the install (not sure what you would do if you were on a newer system with no floppy drive. It would be easy enough to copy the MBR manually but I don't have any tool to do it automatically that I know of.)

  3. #3
    Member registered user
    Join Date
    Nov 2004
    Location
    Queretaro Mexico
    Posts
    36
    ok, since grub was erased, how do I install LILO or grub, I don't really care which loader I use. And what is SBM and how do I install it. Thanx

  4. #4
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by emmbec
    ok, since grub was erased, how do I install LILO or grub, I don't really care which loader I use. And what is SBM and how do I install it. Thanx
    I have only installed lilo and only to the Linux directory. I would think you should start by reading the man pages, man lilo and/or man grub in a command shell (boot the live CD to get back into Knoppix).

    SBM is Smart Boot Manager, a small boot manager that can fit in the MBR or be run from a floppy disk and will let you boot multiple OSs from one or more hard drives, as well as let you boot from CD or floppy, all without having to change settings in the BIOS. It will also let you boot a CD on an old BIOS that does not support it. Click on the name for the link.

    XOSL is a boot manager that I really like. It stands for eXtended Operating System Loader. It is a bit bigger, does not fit on a single floppy, when installed to the MBR it needs either some extra space in the Windows partition or in it's own patition (I really recommend giving it its own partition, no matter what the author says). The benefits of XOSL over SBM is that it is more powerful with more features (including built-in partition software (Ranish)) and a much cleaner graphical GUI that makes it much easier to use. I have used both. My choice is XOSL but either should work (as should grub, although it doesn't do stuff like CD booting AFAIK).

Similar Threads

  1. Poorman's install, when Kubuntu and Grub are installed
    By ryzvonusef in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 02-01-2009, 05:06 PM
  2. How do I boot iso file from already installed grub?
    By maestrobwh1 in forum Hardware & Booting
    Replies: 2
    Last Post: 09-07-2007, 12:06 AM
  3. Knoppix Succesfully installed but grub installed in root
    By param85047 in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 11-03-2006, 03:31 PM
  4. i think i messed up windows...
    By rossndahood in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 04-06-2005, 09:41 PM
  5. Messed up windows, need Knoppix to recover.
    By OziD in forum General Support
    Replies: 3
    Last Post: 08-16-2003, 07:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$109.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT

$188.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$237.49



SAMSUNG SSD 870 EVO 1TB 500GB 250GB 2.5 inch SATA III 3 Solid State Drive US picture

SAMSUNG SSD 870 EVO 1TB 500GB 250GB 2.5 inch SATA III 3 Solid State Drive US

$92.14



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$13.99



Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive picture

Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive

$14.99



SSDSC2BB600G4 INTEL DC S3500 Series 600GB 6G SATA 2.5

SSDSC2BB600G4 INTEL DC S3500 Series 600GB 6G SATA 2.5" SSD

$25.00



Intel SSDSC2BB240G4P DC S3500 Series 240GB 2.5

Intel SSDSC2BB240G4P DC S3500 Series 240GB 2.5" SATA 6Gb/s SSD Hard Drive

$13.99



4 TB SSD SATA III Drive 2.5

4 TB SSD SATA III Drive 2.5" Solid State Drive SATAIII 6Gb/s UP to 540MB/s

$149.00



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99