LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-08-2006, 04:24 PM   #1
gskillas
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Rep: Reputation: 0
Unhappy XP Installation / Dual Boot with SuSE 9.1 LILO


Hello everybody

starting with a functioning system (SuSE 9.1/ Win98) with 2 IDE Platten and one IDE DVD drive:

/dev/hda1 /boot
/dev/hda2 /
/dev/hda3 /windows/D
/dev/hdb /dvd
/dev/hdd1 /windows/C
/dev/hdd2 swap

which uses LILO to boot both OSes (LILO config at the end) I tried to install XP over 98 as follows:
- copied XP CD onto /windows/C/winxpcd.
- booted Win98, in DOS Mode
- executed c:\windows\smartdrv.exe
- executed c:\winxpcd\i386\winnt.exe

The installer went happily along, copying files to C:, creating the fllowing files:

Feb 8 11:45 $ldr$
Feb 8 20:42 $win_nt$.~bt
Feb 8 20:42 $win_nt$.~ls
Feb 8 20:42 boot.ini
Feb 8 11:43 bootfont.bin
Feb 8 20:42 bootsect.dos
Feb 8 11:45 ntdetect.com
Feb 8 11:45 ntldr
Feb 8 11:46 txtsetup.sif
Feb 8 11:47 winxpcd

Then the system has to be rebooted to continue the installation.
However when selecting "windows" in the LILO menue the computer shows "Loading windows" and then it freezes. How can I teach LILO
to boot into XP?

What

-----/etc/lilo.conf-------------
append = "pci=biosirq enableapic vga=0x0317 hdb=ide-scsi max_scsi_luns=1"
boot = /dev/hda
compact
lba32
vga = normal
menu-scheme = Wg:kw:Wg:Wg
read-only
prompt
timeout = 80

image = /boot/vmlinuz
root = /dev/hda2
label = linux
initrd = /boot/initrd
append = " "

image = /boot/memtest.bin
label = memtest86

other = /dev/hdd1
label = windows
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
table = /dev/hdd
 
Old 02-08-2006, 05:20 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Then the system has to be rebooted to continue the installation.
However when selecting "windows" in the LILO menue the computer shows "Loading windows" and then it freezes. How can I teach LILO
to boot into XP?

Hang on... is this "booting windows" the start of the windows boot sequence or is it lilo acknowledging that the windows line was selected?

If you see winXP start to boot than hang, then this is a windows problem.

If you never leave LILO, then it is a LILO problem.

Proceding as if it is lilo:
Now - on LILO, I'm not used to SuSE, but I am used to seeing the windows bootloader chainloaded... however, I am thinking that the quoted lilo.conf worked OK for win98(?)
 
Old 02-09-2006, 08:29 AM   #3
gskillas
LQ Newbie
 
Registered: Feb 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Further details

>Hang on... is this "booting windows" the start of the >windows boot sequence or is it lilo acknowledging that >the windows line was selected?

It is the standard message LILO shows "Loading XXXXX"
where XXXXX is the menu entry name.

>
> If you see winXP start to boot than hang, then this

Well I do not know. It freezes exactly at the interface

>is a windows problem.

> If you never leave LILO, then it is a LILO problem.

See above.

> Proceding as if it is lilo:
> Now - on LILO, I'm not used to SuSE, but I am used to > seeing the windows bootloader chainloaded... however, > I am thinking that the quoted lilo.conf worked OK for > win98(?)

Yes.

Now, I thought GRUB might solve my problem. I backed up hdd to a working 98 config, configured GRUB (see menu.lst below) and as long as W98 was used everything worked like a charm. Installing XP the same way as described and rebooting resulted in exactly the same behaviour. So right now I am thinking that it is more likely to be a XP problem. Quite puzzled at the moment.
I even installed an XP MBR on /dev/hdd and a boot sector on /dev/hdd1 which did not help (booting from XP CD and going into the repair console).

------------/boot/grub/menu.lst--------------------
# Modified by YaST2. Last modification on Thu Feb 9 00:28:31 2006
timeout 4
default 0
###Don't change this comment - YaST2 identifier: Original name: linux###
title linux
kernel (hd0,0)/vmlinuz root=/dev/hda2
initrd (hd0,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: linux2###
title linux2
kernel (hd0,0)/vmlinuz root=/dev/hda2 2
initrd (hd0,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: linux1###
title linux1
kernel (hd0,0)/vmlinuz root=/dev/hda2 1
initrd (hd0,0)/initrd

###Don't change this comment - YaST2 identifier: Original name: memtest86###
title memtest86
kernel (hd0,0)/memtest.bin

###Don't change this comment - YaST2 identifier: Original name: windows###
title windows
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
makeactive

###Don't change this comment - YaST2 identifier: Original name: windows(floppy)###
title windows(floppy)
root (fd0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
boot
 
Old 02-09-2006, 10:58 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Have you had a look at this:
http://www.linuxquestions.org/questi...d.php?t=411458

about message 12 there is a suggestion to do with menue.lst ...
Quote:
title Windows
unhide (hd0,0)
chainloader +1
makeactive

"hd0,0" means that your Windows partition is the first partition on ur first hard drive;
"makeactive" means Windows will be the default boot option (it will be selected when the boot menu appears)
"chainloader +1".. I'm not sure! But it has to do with the boot loaders
... this is what I'm used to. You probably just need to unhide the XP partition (Win98 partitions are not normally hidden).
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xp/SUSE 9.3 dual boot installation problem Benprofane Linux - Newbie 4 01-29-2006 04:52 AM
Install Lilo in MBR during instalation of SuSE 9.3 (with dual boot Windows XP) cangussu.br Linux - Newbie 2 05-05-2005 10:46 PM
dual boot with windows xp (two hd) and install Lilo (Suse 9.3) cangussu.br SUSE / openSUSE 0 05-05-2005 11:35 AM
dual boot linux, need to setup "another" lilo during installation? sirpelidor Linux - Newbie 3 02-04-2004 10:10 PM
suse and red had dual boot installation jle Linux - General 2 11-20-2002 11:08 AM

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

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