LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-23-2004, 05:21 PM   #1
sinczar
LQ Newbie
 
Registered: Oct 2003
Location: Michigan, USA
Distribution: PCLinuxOS, Debian, Slackware
Posts: 14

Rep: Reputation: 0
Unhappy MS W2k long gone but MBR still looking for NTLDR


Its been two years since I deleted Windows 2000 on a dual boot, dual drive setup with Mandrake. Ive only run Mandrake since, but yesterday I deleted a small NTFS partition, on drive hda, and oops there went NTLDR. How do I edit/ delete the MBR to reflect the absence of any MS windows operating system, without damaging the partition table, then install lilo.
Thanks,
Rich D.
 
Old 09-23-2004, 05:30 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi, and welcome to LQ!

You could try booting linux via rescue/boot
CD ... how that's done kind of depends on your
distro, though.

Once linux is up and running, edit your lilo.conf
appropriately and run lilo.


Cheers,
Tink
 
Old 09-24-2004, 04:59 AM   #3
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
It searches for NTLDR because it's the MBR that Win2k made. Edit lilo.conf so that lilo will be installed in the MBR (which will overwrite the previous one).
 
Old 09-24-2004, 05:04 AM   #4
Glas
Member
 
Registered: Aug 2004
Location: Atlanta, GA
Distribution: Slackware, PC-BSD v0.6, FreeBSD v5.3
Posts: 82

Rep: Reputation: 15
You can always use a Win98 bootdisk and do an fdisk/mbr but that will reset your mbr back to a DOS standard mbr. I am not sure of any linux commands that can do it but then again I am a linux newbie.
 
Old 09-24-2004, 08:42 AM   #5
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
install lilo in MBR will do better
 
Old 09-24-2004, 12:51 PM   #6
sinczar
LQ Newbie
 
Registered: Oct 2003
Location: Michigan, USA
Distribution: PCLinuxOS, Debian, Slackware
Posts: 14

Original Poster
Rep: Reputation: 0
been there, d.t.

Ive booted into rescue mode and looked at lilo.conf but dont see anything "MS like". Does anyone know the syntax that I need to remove. When I run the mandrake partition utility under the system configuration module both discs say MS-DOS boot only, not LILO so there must be something there.

Thanks all,

Rich D.
 
Old 09-24-2004, 04:36 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Of course we do, you just never asked

boot = /dev/hda



Cheers.
Tink
 
Old 09-25-2004, 12:04 AM   #8
wpyh
Member
 
Registered: Jun 2004
Location: Beijing
Distribution: Slackware 9.1 but FUBAR with packages I compile myself, and OpenBSD (not exactly a distro) on QEMU
Posts: 153

Rep: Reputation: 35
Actually you should remove anything resembling boot=/dev/xxxx and replacing it with boot=/dev/hda
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
printf unsigned long long int? blackzone Programming 9 03-04-2008 12:41 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
How I screwed my mbr...FC2 & W2k, windows unable to boot even after reinstallation! shamael Linux - Newbie 3 05-24-2004 10:26 PM
SAMBA bet RH 9 & W2K with Netgear Router - can't see W2K share cevjr Linux - Software 0 07-30-2003 11:44 AM
Installed W2k, then RH 7.3 but grub now can't see W2K ericcarlson Linux - General 5 07-17-2002 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration