LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   XP Installation / Dual Boot with SuSE 9.1 LILO (https://www.linuxquestions.org/questions/linux-software-2/xp-installation-dual-boot-with-suse-9-1-lilo-413156/)

gskillas 02-08-2006 04:24 PM

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

Simon Bridge 02-08-2006 05:20 PM

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(?)

gskillas 02-09-2006 08:29 AM

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

Simon Bridge 02-09-2006 10:58 PM

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).


All times are GMT -5. The time now is 02:10 PM.