Jump to content

LILO problem


liquidzoo
 Share

Recommended Posts

I don't think that code is needed for win2k, more for 98/millinium. Reason is that win2k has a file called boot.ini. That text file contains the location of the win2k installation. It's actually the win2k boot loader. I used to have several versions of win2k running and don't recall needing that code. I stand corrected if I'm wrong though ;)

Link to comment
Share on other sites

no, you're rt. My boot.ini is in win98....

 

hda1=win98

hda2=w2k

 

point is.....the boot.ini has to be ion the master/1st-primary.....that's all that is required....that I know of. The wk2 bootloader is ntldr (NT-Loader)....it reads the boot.ini.

 

wk2/xp doesn't need to be mapped unless it's somewhere other than hda1 and there's is no win on hda1 to hold a C:\boot.ini. I use to have linux on hda and win on hdb....I needed the map switch to fool win.

Link to comment
Share on other sites

bvc, I see, you right! Will wonders never cease? :jester:

 

You need to check that boot.ini file. Post it here if you need too..

 

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

Link to comment
Share on other sites

ok, here it is...

 

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINNT

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

 

ARGH its exactly the same as cannon's. What are my options short of reformatting?

:help::wall:

Link to comment
Share on other sites

mine

[boot loader]

timeout=5

default=multi(0)disk(0)rdisk(0)partition(2)\WINNT

[operating systems]

multi(0)disk(0)rdisk(0)partition(2)\WINNT="Win2Pro" /fastdetect

C:\="Win98"

C:\bootsect.lnx="Suse9Pro"

 

 

 

 

What are my options short of reformatting?
Have you started diskdrake? It's in the Mandrake Control Center>Mount Points. I ask because if something is wacked out to the point that....-->
Well, I tried the win 98 fdisk /mbr...got a "no operating system found" error.....then attempted to run the recovery console for win2k and it wouldn't even let me...just said "no operating system found" again.
<--...then maybe the partitions are overlapping or something, and if they are, diskdrake will tell you that it can not do anything because the partition table is too corrupt for it. At that point it's time to startup parted in mandrake and see if it says that partitions are overlapping. If parted does say that then let it attempt to fix it. If something else and it claims to be able to fix it then let it try. About to reinstall anyway, rt?

 

Also, how's your psu? Any weird behavior lately? My 3.5 year old psu in my old sys died last night. Sure it sounded fine and I could get to the bios but there were no hd's listed in the bios. I got the same "no operating system found". I put in a spare psu and all is well. I know your linux boots.....but pc's are strange, bios have bugs, and win is all of the above and more.

 

 

It could be many things and not linux's 'fault', but I'll admit that there's a reason I no longer install a linux bootloader to my mbr, but to / of the distro and use BootMagic or currently http://www.mandrakeusers.org/index.php?showtopic=11887 then use grub from suse9pro to boot al the other linux's. Yeah, I'm sure I've had more problems than most dualbooters because of the constant testing of distros and just plain playing around, but bootloaders should not cause so many problems. People say BTMagic adds complications to the boot process.....whatever.....they're files for goodness sake, and if it were to add 200mb of code to the boot process, who cares, if it works!

 

I even bought a second hd to ease complications and ended up reinstalling everything. I could go on and on but you get the idea.

 

Sometimes, not only is formating/reinstalling the only choice but sometimes it's the easiest.

 

Let us know!

Link to comment
Share on other sites

damn, I don't want to reformat. Can't I just...hmm...

How about reformatting the second drive and reinstalling windows...and using the map commands from before in lilo for that?

And then I could move the files I wanted off the lost partition, and delete it...and resize my linux partition?

Will this work?

:deal:

Link to comment
Share on other sites

AH HA!!!!! I think I've had a breakthrough! I wasn't able to try out qtparted as urpmi was messed up....fixed that finally....ran qtparted....and:

 

[root@localhost jt]# qtparted
Warning: Unable to align partition properly.  This probably means that another partitioning tool generated an incorrect partition table, because it didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring may cause (fixable) problems with some boot loaders.
No Implementation: Support for opening ntfs file systems is not implemented yet.
Error: Filesystem was not cleanly unmounted!  You should e2fsck.  Modifying an unclean filesystem could cause severe corruption.

 

Now I can't run e2fsck on the NTFS partition. What do I use for that? And I can't unmount my linux partition that I'm using to fix that....knoppix?

 

 

"may cause fixable problems with bootloaders :D " woohoo! now how do we fix fix fix?

Link to comment
Share on other sites

ok, fdisk -l gives me this output:

 

Disk /dev/hda: 120.0 GB, 120034123776 bytes
16 heads, 63 sectors/track, 232581 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1      116041    58484601    7  HPFS/NTFS
/dev/hda2          116042      232581    58736160    5  Extended
/dev/hda5          116042      231525    58203904+  83  Linux
/dev/hda6          231526      232581      532192+  82  Linux swap

 

hda2 and hda5 overlap? is this the problem? and if so, how do I change this (I know you can, just not HOW)

Link to comment
Share on other sites

ok, fdisk -l gives me this output:

 

Disk /dev/hda: 120.0 GB, 120034123776 bytes<!--QuoteEBegin-->16 heads, 63 sectors/track, 232581 cylinders<!--QuoteEBegin-->Units = cylinders of 1008 * 512 = 516096 bytes<!--QuoteEBegin--><!--QuoteEBegin-->   Device Boot      Start         End      Blocks   Id  System<!--QuoteEBegin-->/dev/hda1   *           1      116041    58484601    7  HPFS/NTFS<!--QuoteEBegin-->/dev/hda2          116042      232581    58736160    5  Extended<!--QuoteEBegin-->/dev/hda5          116042      231525    58203904+  83  Linux<!--QuoteEBegin-->/dev/hda6          231526      232581      532192+  82  Linux swap<!--QuoteEBegin-->

 

hda2 and hda5 overlap? is this the problem? and if so, how do I change this (I know you can, just not HOW)

no that's not the problem....the extended is suppose to.

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1         893     7172991   83  Linux
/dev/hdb2             894       14946   112880722+   f  W95 Ext'd (LBA)
/dev/hdb5             894         957      514048+  82  Linux swap
/dev/hdb6             958        1850     7172991   83  Linux
/dev/hdb7            1851        2743     7172991   83  Linux
/dev/hdb8            2744        3636     7172991   83  Linux
/dev/hdb9            3637        4529     7172991   83  Linux
/dev/hdb10           4530        5422     7172991   83  Linux
/dev/hdb11           5423        7285    14964516   1b  Hidden W95 FAT32
/dev/hdb12           7286        9158    15044841   1b  Hidden W95 FAT32
/dev/hdb13          14373       14627     2048256   1b  Hidden W95 FAT32
/dev/hdb14          14628       14946     2562336   1b  Hidden W95 FAT32

If it were a problem and qtparted was truly parted it would have told you they were overlapping.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...