Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I finally got my Slackware 10 working, and I wanted to configure a dualboot XP/Slackware 10 - I've installed a LILO boot and used a tutorial to setting it up. I followed the steps as said, but when i had to copy linux.bin to a disk, it/I accidentally erased all files on the bootdisk who was ejected! Anyways, I restarted the thing and tried to boot up from windows xp, who gave me the error message NTLDR was missing - I tried to fix this error by copying it from the CD-Rom drive using the commands "copy E:\i386\ntldr c:" and then "copy ntdetect c:" (yeah this is DOS, and E:\ is my CD-Rom drive with the XP CD-Rom inserted). Anyways it gave me an error - it said it couldn't copy the file :S.
Can anyone help me by resetting the NTLDR and/or how to create/download a bootdisk of Slackware 10.0 to boot up from Linux again?
I had the same thing happen when using a Gentoo install, though I know the error was my fault.
I mistyped an 'a' instead of a 'd' in fdisk and made a partition bootable insted of deleting it, this fried XP for me.
There was no way to recover for me becasue the hardware check on the winXP CD would apparently crash before I could request a recovery console, hopefully you'll have better luck.
You should be ably to use fixboot from a recovery console on the XP install disk to recover the ntldr file and for safety I'd use fixMBR after that. Then reinstall grub or lilo whichever you were using.
Last edited by WhiteChedda; 08-23-2004 at 08:07 AM.
ok, I just applied the repair instructions arno gave me (thanks). This repair instructions told me the same as i did in my first post (copy the two files), who didn't work. After trying and trying i finally could copy those files. After i also ran the program 'fixboot', it said my windows root probably was damaged unrepairable :S. Then, when I looked again at my C: drive (who now was accessible) my files were gone! But I didn't use any format commands, even not in Linux. I've really had it with microsoft! I think it's just not able to read my C: partition anymore, so I probably have to re-install windows. Fortunately, it's still able to load the hardware (and doesn't crash while checking, unlike your XP, WhiteChedda). I'll try fixMBR now, and if it doesn't work I'll format all what's left of my XP drive and maybe try it again, or will just proceed with only linux on my PC.
Thanks of your help, I only still need an url or something for bootdisks to a boot up Linux again - or are the bootdisks provided on the second slackware cd (those used to boot up Slackware installation) the same as being used to boot up Slackware when already installed?
I now formatted my whole C drive, and tried to boot up Linux using the first CD (sorry, that's what I meant, my computer confuses me - thanks for your reply egag) but my PC won't boot from it. I'll try to make a boot disk now using this computer (who still works) and Rawrite, but I'd also like to know how I can configure my other PC booting from the Linux Slackware CD. Is it possible it can't boot up from the slackware cd because it's only familiar with windows extensions? That would be odd, because my boot and rootdisks of Linux did work while using them during the installation, and I also configured my PC in the bios to start up from cd's (and it works, because it works fine with that XP bootdisc).
I think he ran FIXMBR and cannot boot to linux anymore, because XP installed its bootloader, I'm not 100% sure though
This might indeed be wrong now; I re-installed windows xp (and ran fixmbr before and formatted C:\ ), and my windows xp is now up and running again, and the NTLDR is not missing any more. I created a new rescuedisk (booting using the Linux CD doesn't work) - this was the way I used to boot into linux. Ok, the thing starts up and tries to read the floppy, but doesn't load anything but just keeps roaring like I'm flushing a toilet or so.
I wan't to re-install Grub (or Lilo) now; anyone here knows how I can do that? I'd like to install grub now instead of lilo (I had Lilo, but when I tried to set up dualboot it went all wrong, and I think the tutorial I have about setting up dualboot using grub would be better).
Anyone has a link to a tutorial about setting up grub or knows where I can find grub?
First you need to divide your disk into more the one disks(partitionīs)
Depending on your linux distribution you need
swap device the size mostly as large as your internal memory
boot device when your are installing gentoo, size 25 Mb
root device size as large as you like
This is a simple howto split/resize partitions with qtparted a linux clone of partition magic
First make sure all the disks/partitions are in good working order
for windows use chkdsk c: /F
defragment your disks
Use the linux rescue cd to boot and the run_qtparted