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 M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC picture

DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC

$50.00



Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture

Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W

$399.00



Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric picture

Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric

$139.99



Dell PowerEdge M620 Blade Server picture

Dell PowerEdge M620 Blade Server

$39.99



Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG picture

Dell PowerEdge M630 Blade Server 1x Xeon E5-2630 v4 CPU / Motherboard P/N 0R10KG

$69.99



Dell Poweredge FC630 Blade Server BAREBONES No CPU, No HDD, No RAM picture

Dell Poweredge FC630 Blade Server BAREBONES No CPU, No HDD, No RAM

$75.00



2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD picture

2 x HP ProLiant BL460c (447707-B21) Blade Servers No RAM No HDD

$30.00



Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS picture

Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS

$103.99



Dell PowerEdge M620 Blade Server 2x E5-2670 2.6Ghz 16-Cores  256gb  2x 146gb 15k picture

Dell PowerEdge M620 Blade Server 2x E5-2670 2.6Ghz 16-Cores 256gb 2x 146gb 15k

$244.99



UCSB-B200-M4 UCS Blade Server, 2x E5-2667 V3, 256GB RAM DDR4, 2x 300GB Drives picture

UCSB-B200-M4 UCS Blade Server, 2x E5-2667 V3, 256GB RAM DDR4, 2x 300GB Drives

$299.99