Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 12-04-2004, 09:52 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


Dual-boot issue

im running mandrake 10.1 community as my most used os on my desktop but occasionally i need to use WinXp and the rest on my family uses it. basically the problem is the bootloader (im using lilo) says that HAL.DLL is missing or corrupted (same thing happened when i tried grub) when i try to boot into windows it says it should be in <windows root>\system32 but there is no such directory (the root is dev/hda2) its supposed to be looking in <windows root>\windows\system32. is there any way to fix this without having to do reinstalls (i lost the WinXp disc.)? already tried modifying lilo.conf im out of ideas that i understand here's lilo.conf incase that is indeed the problem :

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=nomount acpi=ht resume=/dev/hda6"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda6 devfs=nomount"
read-only
other=/dev/hda2
label="windows"
table=/dev/hda

Last edited by Mannix; 12-04-2004 at 09:55 PM.
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 12-05-2004, 10:50 AM   #2 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

Did you repartition your drive so that a Linux partition went in front of the Windows partition? I've done some searching around and have seen this problem, but I haven't found any real fixes for it.

Can you post your boot.ini (from WinXP) and how your partitions are layed out?
__________________

Last edited by Skie; 12-05-2004 at 10:58 AM.
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 11:21 AM   #3 (permalink)
dai
Manager, Hardware Forums
 
Join Date: Jul 2004
Location: west australia
Posts: 56,557
OS: win 7 32x 64x rtm


boot into the recovery console in xp and type
fixmbr
and press enter
dai is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 12:28 PM   #4 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

Quote:
Originally Posted by dai
boot into the recovery console in xp and type
fixmbr
and press enter
I didn't suggest this yet simply because I've seen other people have additional problems after doing this. If what I'm thinking is true, then he needs to edit his boot.ini first. If the boot.ini is looking at the wrong partition, then he'll be unable to boot at all once he gets rid of LILO/GRUB.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 12:31 PM   #5 (permalink)
dai
Manager, Hardware Forums
 
Join Date: Jul 2004
Location: west australia
Posts: 56,557
OS: win 7 32x 64x rtm


i got from a sticky on the knoppix forum
dai is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 12:34 PM   #6 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

Quote:
Originally Posted by dai
i got from a sticky on the knoppix forum
In most cases, this would work. But if the partition that Windows is on has changed (i.e. it used to be the first partition, but is now the second partition), then only Linux would know about this. Windows will still be looking at the first partition which I think is now a linux partition.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 12:43 PM   #7 (permalink)
dai
Manager, Hardware Forums
 
Join Date: Jul 2004
Location: west australia
Posts: 56,557
OS: win 7 32x 64x rtm


i see what you mean
this is the link
http://www.knoppix.net/forum/viewtop...a5a9e379f9e120
dai is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:19 PM   #8 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


where is boot.ini?
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:25 PM   #9 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

It's at C:\boot.ini
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:28 PM   #10 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


here it is:

[boot loader]
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS

[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows Whistler Personal" /fastdetect /NoExecute=OptIn
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:33 PM   #11 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

Can you also tell me how your partitions are laid out?
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:40 PM   #12 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


ok then

the one shown first is hda5 i think its ext3 file system- 2.3 gigs
next is hda 6 linux swap- not sure
next it hda7 not sure the fs - 1.5 gigs
then hda2 the windows partition which is ntfs 51 gigs
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:44 PM   #13 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

I think we're still missing something. Can you look at /etc/fstab and paste the contents of that here?
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 03:50 PM   #14 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


/dev/hda5 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda7 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda2 /mnt/windows ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 05:30 PM   #15 (permalink)
Manager, Alternative Comp
 
Skie's Avatar
 
Join Date: Mar 2003
Location: Chicago burbs
Posts: 2,194
OS: Gentoo Linux, CentOS, OS X

My System

I'm wondering what happened to hda1.

My suggestion would be to see if you can borrow someone's WinXP CD and run the recovery console to repair your Windows install. It appears as if your boot.ini is pointing to the right partition, so I don't think that'll be an issue.

Try these steps and see if it helps:

Attrib -H -R -S C:\Boot.ini
REN C:\Boot.ini C:\Boot.bad
BootCfg /Rebuild

fixboot

fixmbr

If you haven't done so yet, make sure you have a Linux boot disk so that you can still boot to Linux after the above steps. You can then try reloading LILO and see if that'll work for you this time.
__________________
Skie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-05-2004, 05:40 PM   #16 (permalink)
Registered User
 
Join Date: Dec 2004
Posts: 6
OS: WinXp + Mandrake 10.1 comm.


yeah i was thinking about just restoring the windows bootloader with my friends cd and putting lilo on a floppy as to avoid this problem
Mannix is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:23 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85