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
  •  


Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell PowerEdge R730 Server 2x Xeon E5-2630 V4 64GB DDR4 2TB HDD Rackmount picture

Dell PowerEdge R730 Server 2x Xeon E5-2630 V4 64GB DDR4 2TB HDD Rackmount

$489.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1... picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores | 32gb | HBA330 | 2x 1...

$324.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$248.00



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93