LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices

Reply
 
LinkBack Search this Thread
Old 08-23-2004, 07:30 AM   #1
pazkaw
Member
 
Registered: Aug 2004
Location: Netherlands
Distribution: Slackware 10.2, Debian Etch
Posts: 43

Rep: Reputation: 15
NTLDR missing while configuring dualboot


Hi

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?

Thanx in advance
 
Old 08-23-2004, 07:37 AM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Here you can find the repair instruction

http://support.microsoft.com/default...en-us;318728#6
 
Old 08-23-2004, 08:05 AM   #3
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
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.
 
Old 08-23-2004, 08:39 AM   #4
pazkaw
Member
 
Registered: Aug 2004
Location: Netherlands
Distribution: Slackware 10.2, Debian Etch
Posts: 43

Original Poster
Rep: Reputation: 15
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?
 
Old 08-23-2004, 08:58 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
you can always boot Slackware with cd-1.
just boot from cd and at the boot-prompt type : mount root=....etc as you are instructed on the screen.

egag

erroredit

Last edited by egag; 08-23-2004 at 09:23 AM.
 
Old 08-23-2004, 09:11 AM   #6
pazkaw
Member
 
Registered: Aug 2004
Location: Netherlands
Distribution: Slackware 10.2, Debian Etch
Posts: 43

Original Poster
Rep: Reputation: 15
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).
 
Old 08-23-2004, 09:26 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
when it boots you xp-cd it also should boot your Slack-cd. If you just burned the iso-s ....should be oke?
strange thing

egag
 
Old 08-23-2004, 12:14 PM   #8
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Quote:
Originally posted by egag
when it boots you xp-cd it also should boot your Slack-cd. If you just burned the iso-s ....should be oke?
strange thing

egag
I think he ran FIXMBR and cannot boot to linux anymore, because XP installed its bootloader, I'm not 100% sure though.

If this is the case, he shoudl just need to reinstall either GRUB or LILO.
 
Old 08-23-2004, 01:08 PM   #9
pazkaw
Member
 
Registered: Aug 2004
Location: Netherlands
Distribution: Slackware 10.2, Debian Etch
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
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?
 
Old 08-23-2004, 05:05 PM   #10
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
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

http://www.sysresccd.org/

download it , burn cd and reboot system

with run_qtparted you can resize your ntfs or fat32 file system

If you need more then 4 partitions then create an extended partition first, this extended partition can be used to create as many partitions as you need.

Now you can start installing a linux distribution during the installation you will get the change to install grub.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NTLDR is missing after reboot robertko Suse/Novell 37 11-10-2005 11:52 AM
NTLDR Missing rob0t Linux - Hardware 10 10-08-2004 04:01 PM
More NTLDR is missing - Sorry :) forge107 Linux - Newbie 6 06-07-2004 05:15 PM
NTLDR is missing snake Linux - Newbie 48 04-10-2003 02:57 AM
ntldr is missing beowulf Linux - General 2 03-14-2003 05:39 AM


All times are GMT -5. The time now is 12:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration