Re: LVM and lilo and kernel 2.6.8

From: Henrique de Moraes Holschuh (hmh_at_debian.org)
Date: 11/17/04

  • Next message: Faculdades Eseei: """50 minutes to create the new user"""
    Date: Wed, 17 Nov 2004 11:10:30 -0200
    To: debian-user@lists.debian.org
    
    

    On Wed, 17 Nov 2004, andreas.sumper@nimbus.at wrote:
    > I have a system running sarge with 2 SATA - disks configured with lvm.

    Your problem is not LVM. Ignore it (unless your root is on LVM, in which
    case, *all* your kernels better have initrd images capable of booting off a
    LVM root). This is a separate issue from anything LILO-related.

    > I installed kernel-image 2.6.8-1-686 and everything worked fine. But now I
    > need to start my old kernel (2.4.27 that is), which still resides in my
    > /boot - partition.

    SATA disks under libata (2.4.27 for most controllers, 2.4.28-pre1 for Intel
    ICH, and everything in 2.6.8) show up as scsi disks. Unless the controller
    is in some weird "legacy compatibility" mode.

    Switch your 2.4.x kernel to 2.4.28-rc3, with libata support.

    > But when I change /etc/lilo.conf and type lilo -t I get:
    > Fatal: open /dev/hdc: No such device or address

    Try /dev/sd(a|b), depending if you want to access the first or second SATA
    disk.

    > I decided to tell lilo to use /dev/mapper/vg1-lv1 as shown above by using
    > -b, but all I get is the following:

    It is a good thing LILO is smarter these days. Given the amount of
    misleading documentation that tells people to install lilo boot sectors
    inside their filesystems, it is no wonder it had to.

    -- 
      "One disk to rule them all, One disk to find them. One disk to bring
      them all and in the darkness grind them. In the Land of Redmond
      where the shadows lie." -- The Silicon Valley Tarot
      Henrique Holschuh
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Faculdades Eseei: """50 minutes to create the new user"""

    Relevant Pages

    • Root-on-LVM-on-RAID with debian mkinitrd HOWTO
      ... I have a Debian system running with root on LVM on RAID. ... custom kernel compile to include all required modules. ...
      (Debian-User)
    • Re: Multibooting
      ... I use the Grub loader to load both of them. ... Rreplace xx-xx with your kernel version. ... The root line tells wich disk and which partition on it contains file ...
      (Fedora)
    • Re: Sparcstation 20 problems with 2.4.27 kernel
      ... >>if there is an essential race in the SMP kernel that shows up ... The disk configuration is somewhat complicated: ... the race may be also in MD or LVM subsystems. ... the start-up by demanding an initial ramdisk with special ...
      (comp.os.linux.hardware)
    • Re: How to fix two disks with the same Volume Group?
      ... disk drive was slowly failing. ... reference- when installing change the name of the fs to the machine ... need root password then (it seems a little redundant but anyway... ... you'll have to prefix the lvm commands with lvm, ...
      (Fedora)
    • Detection of root
      ... I'm working on linux embedded machines and use CompactFlash disks as IDE ... so I use root = /dev/hda1 in lilo.conf. ... Sometimes a CF disk has to replaced and I would like do this without ... kernel tries to mount root to /dev/hdc1 and fails ...
      (comp.os.linux.setup)