LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot problem... (https://www.linuxquestions.org/questions/linux-newbie-8/boot-problem-171575/)

conimus 04-18-2004 06:09 AM

Boot problem...
 
I have 2 harddisks installed on my pc. On the firts HD I have Windows XP installed and on the 2th HD I have Mandrake installed.
When I startup the computer en LILO comes up, there is no Windows XP on the list.
So I can't get in to Windows XP anymore...

Who can help me with this?

muah 04-18-2004 06:37 AM

U need to configure lilo at first. Post your current /etc/lilo.conf and also how your hard drives are connected (primary/secondary master/slave)

conimus 04-18-2004 06:45 AM

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

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda5"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda1
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda5 devfs=nomount"
read-only
other=/dev/fd0
label="floppy"
unsafe


HD 1 primary master
HD 2 primary slave

muah 04-18-2004 12:33 PM

Add this to lilo.conf
Code:

other = /dev/hdb1
label = windows
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
table = /dev/hdb

and run 'lilo' as root. Then windows should be added to the list.


Edit: I suppose that Windows is on the first partition on that hard drive, thats why 'other = /dev/hdb1'


All times are GMT -5. The time now is 06:30 PM.