LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-01-2004, 08:34 PM   #16
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60

Boot the Knoppix CD. After you get the gui, press control-alt-F2

Then try commanding:

lilo -u

You may have to specify the device, I'm not sure (grub man, myself), you should be able to see info lilo and man lilo from either the virtual terminal or the X session (alt-F5) for reading.

You can delete the partitions using the info on the MS site posted above now.

When you re-boot, you should get Win2k and get to the console (the closest that you can get to DOS in W2k).

Windows 2000 Professional performs much better on an NTFS rather than a FAT32 filesystem, btw. I have had no file corrutption at all on it (yet) and consistnently get errors with FAT32.
 
Old 05-02-2004, 07:58 PM   #17
bfbf504
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Well I boot into Knoppix. I enter "lilo -u" at the term screen and I get this message:

Unrecognized token "! Please edit /etc/lilo.conf before running lilo!" at or above line 20 in file '/etc/lilo.conf'

Well I don't really know what this is telling me but I go use
"less /etc/lilo.conf" to read the file and I see that this line:

"! Please edit /etc/lilo.conf before running lilo!"

is printed at the top with a comment saying

# Remove this line when you are done configuring. -KK

Anyway I don't really know what's going on here but as for the rest of the file it looks like a config file. And I don't know what to do here or how to edit this file.
 
Old 05-02-2004, 08:17 PM   #18
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I don't know what you have after using partition magic. What parititions are left?

# How are the hard drives partitioned
fdisk -l

Can you mount the / partition of your origional partition or a file called (/your/mount/point/<possibly something else>/etc/lilo.conf anywhere on your drive? Will the command work now?

# Managing drives
LNAG - Accessing my drives
Rute - Device Mounting

If not, write up another Partition Magic (partition magician's apprentice?) nightmare tale and do a full re-install.

Pre-partition and plan first.

Preparing to install Linux:
# Choosing a Linux Distribution:
A Beginner's Guide to Choosing a Linux Distribution
Reasons to Choose or Not Choose Linux
LWN distro list
elinux Linux Distributions
# Freeware tools for partitioning/resizing hard drive partitions:
Any Linux Live CD usually have fdisk, cfdisk and other tools available
Ranish Partition Manager
# Understanding Linux Filesystem layout:
Directory Navigation Help File
Filesystems, Directories, and Devices Help File
Proper Filesystem Layout

Last edited by fancypiper; 05-02-2004 at 08:18 PM.
 
Old 05-03-2004, 01:46 PM   #19
robertn
Member
 
Registered: Mar 2004
Location: mid-atlantic
Distribution: mandrake 9.1 rc2
Posts: 43

Rep: Reputation: 15
Boot from a Win98 boot disk:

from the command prompt:

C:\ fdisk /mbr

this will wipe the master book record (and lilo if it happens to be there);

reboot and DOS will rewrite automatically the boot sector (without lilo).

the fdisk command would have to be on your 98 boot disk; you can copy it there from the /Oldmsdos directory that is available 1) on a Windows 98 install disk--not automatically loaded but made available. 2) copy it from any machine still running DOS 6.2 or thereabouts.

/mbr is an undocumented switch of the DOS fdisk command and you will not find it using "help fdisk" or fdisk /?

You can reformat using your tool of choice from here.

robertn

Last edited by robertn; 05-03-2004 at 01:47 PM.
 
Old 05-10-2004, 09:26 AM   #20
bfbf504
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
FIXED IT!!!

Here's the detail.

I borrowed a a Win2000 professional CD, booted the PC and followed the instructions (at Microsoft) to get to the Restore Console (protected by the Admin password).

I could not get the fdisk commands to work that were listed above, in fact it did not recognize the fdisk command at all. I entered HELP and found a list of commands.

2 commands stuck out 1) fixmbr 2)fixboot. Did a little reading online about the difference between these to and how to run them and went with fixmbr.

just took a second to run, entered EXIT to exit and reboot, BAM! Back to normal.

Moral of the story, before you uninstall Linux, make sure you read how to properly do it. If not get prepared to learn more that you ever wanted about the MBR, boot loader, and partitions.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Linux's fdisk to erase or fix a MBR? Comatose51 Linux - Software 29 03-24-2014 05:31 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
How to fix MBR? snakeo2 Linux - Newbie 1 03-20-2005 04:59 PM
FC2 MBR Fix issues -- strange sfdisk output Alterscape Fedora - Installation 0 07-16-2004 11:04 AM
Fix corrupted MBR on dualboot Machine Jingle Linux - Software 12 07-10-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:37 PM.

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