Results 1 to 6 of 6

Thread: Lilo warnings about device-mapper

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    5

    Lilo warnings about device-mapper

    Hi,

    Got an oddity. Done a poor-mans install to an HD, yet when I add info re Windows for dual-booting I get lilo errors and - through the partition is listed on next boot - boot Windows it does not.

    Hardware is Asus AMD nForce2 mb. All works fine using the live CD.

    HD layout is a bit odd, due to evil WD disk refusing to be a Master. Anyhow I've got:

    hda - LG combo CDROM/DVD/CDRW
    hdb - WD 80g HD (Windows98SE) Boot via MBR
    hdc - Maxtor 10g HD - Knoppix 3.6 Boot via MBR
    hdd - empty

    Installed Knoppix 3.6 with 2.6 series kernel to hdc. BIOS is set to boot hdc 1st. Knoppix runs fine from HD. With hdc (Knoppix) HD removed, Windows by itself gets booted fine; so we know both HD's are happy and bootable.

    Added Windows thus to lilo.conf as root, giving:

    image=/boot/vmlinuz
    label="Linux"
    initrd=/boot/initrd.img
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce vsync=95 screen=1280x1024 lang=uk"
    read-only

    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce v
    sync=95 screen=1280x1024 lang=uk"
    read-only

    image=/boot/vmlinuz-2.6.7
    label="Linux(2.6)-2"
    initrd=/boot/initrd.img-2.6.7
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce vsync=95
    screen=1280x1024 lang=uk"
    read-only

    other=/dev/hdb1
    label="Win98SE"

    lilo then throws errors as this cut/paste from console shows:

    root@asus4box:/etc# lilo
    /dev/mapper/control: open failed: No such device
    Is device-mapper driver missing from kernel?
    /dev/mapper/control: open failed: No such device
    Is device-mapper driver missing from kernel?
    Incompatible libdevmapper 1.00.19-ioctl (2004-07-03)(compat) and kernel driver
    Added Linux *
    Added Linux(2.4)-1
    Added Linux(2.6)-2
    Added Win98SE

    On reboot, Debian boot splash shows all these bootable areas & will boot Linux default fine.

    Asking it to boot Win98SE results in a blank screen for 3-4 seconds, then in top LH corner the message:

    Loading Win98SE

    and that's it. Hangs forever.


    Hows do I fix this one??

    Thanks!
    brodders

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Open root konsole and edit /etc/lilo.conf:

    other=/dev/hdb1
    label="Win98SE"
    table=/dev/hdb

    save and run lilo ( to update ).


  3. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    5

    Lilo warnings about device-mapper

    Hi shah...

    Thanks for the table suggestion!

    ...alas makes no difference. It almost seems like the disk is somehow failing the boot sequence.

    What is lilo going to do which is different from a normal Win98 MBR boot??

    Thanks

    brodders

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    One thing I see in your lilo is missing line :
    boot=/dev/hdb *on top of lilo
    and
    root=/dev/hdc*x *x=your linux partition number
    ex:
    image=/boot/vmlinuz-2.4.27
    label="Linux(2.4)-1"
    root=/dev/hdc*x
    initrd=/boot/initrd.img-2.4.27
    append="ramdisk_size=100000 init=/etc/init lang=us apm=power-off nomce v
    sync=95 screen=1280x1024 lang=uk"
    read-only

    Your WD HD don't like to share cable with your cdrom, that's why it cannot be a master....fetish?
    You can move the cdrom to second ide an turn it as slave.

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Posts
    5

    Lilo warnings about device-mapper

    Aha!


    Put those changes in and - No change at all (that's with extra lilo boot & root parameters).

    Not too surprised as apart from the Win98SE stuff the rest is auto-generated during Knoppix HD install. Unhelpfully, I've not posted all the lilo.conf text as it has a _lot_ of verbage.

    Hm. I'm suspecting now the WD as being even more evil then expected. Perhaps put in another drive in it's place?

    WD fetish about cable sharing? worse, it refuses to be recognised in BIOS if it is a Master (other ide device or no). It's slave or nothing! I've seen 2 WD's like this; there was a bout of them a year or so ago I suspect, as others mentioned this around the web. Never seen a drive like it (& I've not bought any more). Seemed to vary by mb manufacturer so must be subtle firmware / timing / chipset thing. Perhaps.

    I'll try an old IBM Deskstar as hdb and see what happens..... let you know.

    Thanks!

  6. #6
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    If nothing work then it's time for you to move to grub.

Similar Threads

  1. Device mapper custom made LiveDVD
    By lilsirecho in forum Customising & Remastering
    Replies: 3
    Last Post: 06-21-2005, 04:23 AM
  2. How to use cryptsetup and device mapper
    By lilsirecho in forum The Lounge
    Replies: 0
    Last Post: 04-30-2005, 10:21 PM
  3. Hd-install and device mapper driver??
    By Ish Rattan in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-31-2004, 07:24 PM
  4. warnings during HD install
    By FatherBob in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 09-26-2004, 12:40 AM
  5. depmod - Warnings after installing ALSA
    By netromancer in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 08-11-2003, 11:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SFP-10G-LR Compatible 10GBase-LR SFP+ LR Transceiver 10G 1310nm SMF up ot 10km picture

SFP-10G-LR Compatible 10GBase-LR SFP+ LR Transceiver 10G 1310nm SMF up ot 10km

$45.00



57-1000333-01 Brocade XBR-000212 32G Multi-mode SFP picture

57-1000333-01 Brocade XBR-000212 32G Multi-mode SFP

$29.00



Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24 picture

Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24

$117.00



Allen-Bradley 1783-SFP1GSX Compatible 1000BASE-SX SFP 850nm 550m Transceiver-895 picture

Allen-Bradley 1783-SFP1GSX Compatible 1000BASE-SX SFP 850nm 550m Transceiver-895

$65.50



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC picture

Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC

$13.89



Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF picture

Cisco Meraki MA-SFP-10GB-SR 10G SFP+ SR 850nm 300m LC MMF

$29.99



LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module picture

LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module

$89.00