LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO configuration Lindows Mandrake (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-configuration-lindows-mandrake-152279/)

vladuna 03-01-2004 01:59 PM

LILO configuration Lindows Mandrake
 
My machine:
- fs table of Mandrake

/dev/hda7 / ext2 defaults 0 0
none /dev/pts devpts mode=0620 0 0
none /mnt/cdrom ....
none /mnt/cdrom2 ....
/dev/hda9 /mnt/lindows reiserfs defaults 0 0
/dev/hda4 /mnt/p4f32 vfat iocharset=utf8,umask=0 0 0
/dev/hda3 /mnt/qnx auto defaults 0 0
/dev/hda6 /mnt/win_2k ntfs iocharset=utf8 0 0
/dev/hda1 /mnt/win_98se vfat iocharset=utf8,umask=0 0 0
/dev/hda5 /mnt/win_xp ntfs iocharset=utf8 0 0
/dev/hda8 swap swap defaults 0 0

- lilo of Mandrake

boot=/dev/hda7
map=/boot/map
vga=normal
default="linux"
keytable=/boot/cz.klt
prompt
nowarn
timeout=300
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x82
image=/boot/vmlinuz

label="linux"
root=/dev/hda7
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht splash=silent"
vga=788
read-only

image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda7
initrd=/boot/initrd.img
append="devfs=mount hdd=ide-scsi acpi=ht"
read-only

image=/boot/vmlinuz
label="failsafe"
root=/dev/hda7
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdd=ide-scsi acpi=ht"
read-only

! I aded Lindows this way:

! other=/dev/hda9
! image=/boot/vmlinuz-2.4.22-10mdk.img
! label="lindows"
! vga=0xf04
! root=/dev/hda9
! initrd=/boot/initrd.img

other=/dev/hda1
label="Win98/XP/2k"
table=/dev/hda

other=/dev/hda3
label="QNX_6.2.1"
table=/dev/hda

other=/dev/fd0
label="floppy"
unsafe

LILO of Mandrake doesn´t accept lindows ! After editing lilo.conf and runing lilo, lilo announces error messages.
Could you, PLEASE, help me how the lilo lines should be written correctly?

Part of lilo of Lindows booting Lindows:

boot=/dev/discs/disc0/disc
install=/boot/cboot.b
message = /boot/splash.lilo
map=/boot/map
fix-table
lba32
prompt
delay=300
timeout=300

image=/boot/vmlinuz-2.4.23
label=L<>|_4.5.122
vga=0xf04
root=/dev/hda9
initrd=/boot/initrd-2.4.23.gz
append="redetect resume=/dev/hda8"

image=/boot/vmlinuz-2.4.23
label=Redetect
vga=normal
root=/dev/hda9
initrd=/boot/initrd-2.4.23.gz
append="noresume redetect resume=/dev/hda8"

image=/boot/vmlinuz-2.4.23
label=Diagnostics
vga=normal
root=/dev/hda9
initrd=/boot/initrd-2.4.23.gz
append="noresume redetect resume=/dev/hda8 single"

MANY THANKS TO ANYBODY WHO CAN HELP TO SOLVE THIS!

kilgoretrout 03-01-2004 08:36 PM

There's several ways to do it. But the main thing to remember is that when using mdk's lilo, you are accessing the lindows boot directory through the mandrake mount point for the lindows root partition. That's your main error. I think the lindows entry should look something like this:

label="lindows"
root=/dev/hda9
image=/mnt/lindows/boot/vmlinuz-2.4.23
initrd=/mnt/lindows/boot/initrd-2.4.23.gz
append="hdd=ide-scsi acpi=ht"
read-only

It should work but you won't get the normal lindows boot screens; that's why there's no vga line. I'm also not sure whether you should use the 'devfs=mount" in the append line as I don't know if lindows uses devfs. The lindows lilo also has some wierd stuff in the append line for the swap partition(/dev/hda8). I don't know what they're doing there but you might want to add the "redetect resume=/dev/hda8" to the mdk lilo append line if you have troubles with swap in lindows.

vladuna 03-03-2004 06:46 AM

MANY THANKS !!!
I will try and let you know !
I deleted Lindows and I will try to install it once again and install lilo on Lindows partition. MDK enables it, I will try Lindows to do the same.
hda8 is O.K. It is swap partition of MDK.
vladuna

vladuna 03-04-2004 07:29 AM

THANKS !! It is working!


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