LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-06-2003, 12:52 PM   #1
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Rep: Reputation: 15
lilo won't boot XP


I am using windows XP and mandrake 8.1 on a dual boot system with lilo. I upgraded win98 to XP with mandrake alread installed. Everything was going fine. I tried switching my linux hard drive to a differnet computer and was unable to boot winXP. After several attempts I booted winXP, found out I had bad memory in my new system and placed the linux hard drive back. i reinstalled lilo though the rescue function and can get the lilo boot manager screen. When I select linux it boots no problems. When I select windows it prints on a black screen "Loading Windows" and hangs. I can boot windows with a startup disk and fdisk /mbr, but then I can't use linux. i tried several times to make a boot floppy but get the message initrd.image not found.i used several commands to create the boot floppy includdeing "DD" "mkboot..." and "Boot disk" from control center in Mandrake.

Jarin Scott
 
Old 05-06-2003, 01:07 PM   #2
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
http://www.linuxquestions.org/questi...threadid=58106

There are a couple of suggestions on what you could do
 
Old 05-06-2003, 02:18 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
So can you tell us a bit about your drive setup, and can you post up your /etc/lilo.conf and the results of typing:
fdisk -l (FDISK -L lowercase)
as root.

Cool
 
Old 05-07-2003, 08:14 AM   #4
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Original Poster
Rep: Reputation: 15
I have two hard drives. The frist has one partions which is windows xp and is HDD1.
The second Hard Drive has the linux root on hdb1 with the home drive on hdb2.
I also have two fat32 partions with no OS used for back-up and sharing between linux and windows.

Here's what fdisk -l gave me.

Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 2434 cylinder
s
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id S
ystem
/dev/ide/host0/bus0/target0/lun0/part1 * 1 2434 19551073+ c W
in95 FAT32 (LBA)

Disk /dev/ide/host0/bus0/target1/lun0/disc: 255 heads, 63 sectors, 4863 cylinder
s
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id S
ystem
/dev/ide/host0/bus0/target1/lun0/part1 * 1 446 3582463+ 83 L
inux
/dev/ide/host0/bus0/target1/lun0/part2 447 4863 35479552+ f W
in95 Ext'd (LBA)
/dev/ide/host0/bus0/target1/lun0/part5 447 477 248976 82 L
inux swap
/dev/ide/host0/bus0/target1/lun0/part6 2118 3807 13574893+ b W
in95 FAT32
/dev/ide/host0/bus0/target1/lun0/part7 3808 4863 8482288+ b W
in95 FAT32
/dev/ide/host0/bus0/target1/lun0/part8 478 2117 13173268+ 83 L
inux

Partition table entries are not in disk order


Here's lilo.conf

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label=linux
root=/dev/hdb1
append=" hdd=ide-scsi devfs=mount quiet"
vga=788
read-only
image=/boot/vmlinuz
label=linux-nonfb
root=/dev/hdb1
append=" hdd=ide-scsi devfs=mount"
read-only
image=/boot/vmlinuz
label=failsafe
root=/dev/hdb1
append=" hdd=ide-scsi devfs=mount failsafe"
read-only
other=/dev/hda1
label=windows
table=/dev/hda
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label=floppy
unsafe

Thanks for the help

Jarin Scott
 
Old 05-07-2003, 10:07 AM   #5
av62
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
can you control :
Windows is on hda1 (and not on hdd1 as you said in your message)

I don't know what are the lines in lilo.conf:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
try to comment then (with a #)

I don't see other problem
 
Old 05-07-2003, 01:17 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Those lines:
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80

are for mapping a win drive to believe it's on hda if you decide to place it on hdb for some reason. So maybe at some point in drive transitions it became necessary to have those lines; however since XP is now on hda you no longer need them and commenting them out should work.

hdd1: I see the confusion. In linux hda and hdd are 2 different drive locations. hdd1 to you means your first hdd, where to a linux user this means the Secondary Slave drive.



HTH

Cool
 
Old 05-09-2003, 04:22 PM   #7
jarin scott
Member
 
Registered: May 2003
Distribution: LFS 6.0
Posts: 67

Original Poster
Rep: Reputation: 15
Sorry for the mistake windows is and always was on hda. I got windows to boot by getting rid of those map lines. everything about lilo is fine now. Thanks for the help.

Jarin Scott
 
  


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
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 09:55 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
I install Slackware on small HDD with LILO, can't boot LILO? kleptophobiac Slackware 4 08-10-2003 04:50 PM
lilo and openmosix was just installed and was added to lilo boot menu but.. kublador Linux - Software 0 06-18-2003 01:59 AM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:40 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