LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LILO problem (https://www.linuxquestions.org/questions/linux-general-1/lilo-problem-125776/)

Rognon 12-14-2003 01:35 PM

LILO problem
 
Hi,

Here s my problem : I have 2 hdd. One with win xp and the other with 2 ntfs partitions and 4 ext3 partitions (/boot, /, /usr, /home). I want to dual-boot Salckware and win xp using the xp bootloader and lilo. I have put the linux boot sector in C: by doing:

dd if=/dev/hdb6 of=/mnt/floppy/linux.bin bs=512 count=1

and coping linux.bin in C:

my xp boot.ini file calls linux.bin.

Now when I select Salckware in the xp bootloader all I get in a flashing _

Here is my lilo.conf :

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hdb7
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hdb6
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends

What have I done wrong ??

thx,

Mara 12-14-2003 01:52 PM

Re: LILO problem
 
Quote:

Originally posted by Rognon
dd if=/dev/hdb6 of=/mnt/floppy/linux.bin bs=512 count=1

boot = /dev/hdb7
Wrong partition (not the one you istalled LILO to). Change hda6 to hda7 in the dd command.

Rognon 12-15-2003 04:26 PM

It works !
thank you very much


All times are GMT -5. The time now is 11:49 PM.