Jump to content

WilliamS

OTW
  • Posts

    209
  • Joined

  • Last visited

Posts posted by WilliamS

  1. Trashed that copy of mdk - its a test copy anyway.

    On the way to re-install I noticed that kernel-2.4.22 was finally showing in the boot menu. Too late!

    Reason was that on reboot, it looks at the lilo.config in hda. Always. So now I've unplugged the hda and re-installed.

     

    I get:

    Boot image: /boot/bzImage-2.4.22-1

    Fatal: open /boot/bzImage-2.4.22-1: No such file or directory

    when I run lilo -v

     

    Tried omitting image (this means the first line?) and no good. Nothing shows on boot menu.

    Used "Find" and there is no such file. there is a bzImage file in /usr/src/linux-2.4.22/arch/i386/boot but no version number.

    There is also in /boot a vmlinuz (no version number) in italic which is a link, suspect it's for 2.4.22.

  2. Did that, so here's the latest copy:

     

    image=/boot/vmlinuz-2.4.21-0.25mdk

    label=2421-25

    root=/dev/hdb4

    read-only

    optional

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/initrd-2.4.21-0.25mdk.img

    image=/boot/bzImage-2.4.22-1

    label=2.4.22-1

    root=/dev/hdb4

    read-only

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/initrd-2.4.22-1.img

     

    then lilo, reboot. No Difference.

    Its seems that the fault is not in lilo.config.

    I will read http://www.redhat.com/docs/manuals/linux/R...wn-booting.html

    until it makes sense. (takes time)

  3. I did the last part of the kernel install from http://www.cs.technion.ac.il/~cs236340/con...ernel_comp.html but that doesn't work either :cry:

     

    boot=/dev/hdb

    map=/boot/map

    default="linux"

    keytable=/boot/us.klt

    prompt

    nowarn

    timeout=100

    message=/boot/message

    menu-scheme=wb:bw:wb:bw

    disk=/dev/hdb bios=0x80

    image=/boot/vmlinuz

    label="linux"

    root=/dev/hdb4

    initrd=/boot/initrd.img

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    vga=788

    read-only

    snip

     

    image=/boot/vmlinuz-2.4.21-0.25mdk

    label=2421-25

    root=/dev/hdb4

    read-only

    optional

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/initrd-2.4.21-0.25mdk.img

    #The following boot section was added by buildkernel on

    #Wed Oct 22 21:44:46 EDT 2003

    #Please feel free to move this section, edit it, and remove these comments.

    image=/boot/bzImage-2.4.22-1

    label=2.4.22-1

    root=/dev/hdb4

    read-only

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/initrd-2.4.22.img

    image=/boot/vmlinuz-2.4.22

    root=/dev/hdb4

    label=2.4.22

    initrd=/boot/initrd-2.4.22.img

    read-only

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    #End of autoinstall

     

    I'm doing this in hdb4 which shares with win98. Thought maybe that's why lilo does't show....Bah. I did the newer mdk kernel the same way, and it's OK. Duh!

  4. Here it is - looks wrong, but what to do with it?

     

    boot=/dev/hdb

    map=/boot/map

    default="linux"

    keytable=/boot/us.klt

    prompt

    nowarn

    timeout=100

    message=/boot/message

    menu-scheme=wb:bw:wb:bw

    disk=/dev/hdb bios=0x80

    image=/boot/vmlinuz

    label="linux"

    root=/dev/hdb4

    initrd=/boot/initrd.img

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    vga=788

    read-only

    image=/boot/vmlinuz

    label="linux-nonfb"

    root=/dev/hdb4

    initrd=/boot/initrd.img

    append="devfs=mount hdd=ide-scsi acpi=off"

    read-only

    image=/boot/vmlinuz

    label="failsafe"

    root=/dev/hdb4

    initrd=/boot/initrd.img

    append="devfs=nomount hdd=ide-scsi acpi=off failsafe"

    read-only

    other=/dev/hdb1

    label="dos"

    table=/dev/hdb

    other=/dev/fd0

    label="floppy"

    unsafe

     

    image=/boot/vmlinuz-2.4.21-0.25mdk

    label=2421-25

    root=/dev/hdb4

    read-only

    optional

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/initrd-2.4.21-0.25mdk.img

    #The following boot section was added by buildkernel on

    #Wed Oct 22 21:44:46 EDT 2003

    #Please feel free to move this section, edit it, and remove these comments.

    image=/boot/bzImage-2.4.22-1

    label=2.4.22-1

    root=/dev/hdb4

    read-only

    optional

    vga=788

    append="devfs=mount hdd=ide-scsi acpi=off quiet"

    initrd=/boot/bzImage-2.4.22-1

    #End of autoinstall

    --------------------------------------------------------------------------

     

    william@localhost william]$ ls /lib/modules

    2.4.21-0.13mdk/ 2.4.21-0.25mdk/ 2.4.22/

    [william@localhost william]$

    -----------------------------------------------------------

     

    william@localhost william]$ ls /boot

    bkinstall-2.4.22-1* initrd-2.4.21-0.25mdk.img message-text

    boot.0340 initrd.img@ System.map@

    bzImage-2.4.22-1 kernel.h@ System.map-2.4.21-0.13mdk

    config@ kernel.h-2.4.21-0.13mdk System.map-2.4.21-0.25mdk

    config-2.4.21-0.13mdk kernel.h-2.4.21-0.25mdk us.klt

    config-2.4.21-0.25mdk map vmlinuz@

    grub/ message@ vmlinuz-2.4.21-0.13mdk

    initrd-2.4.21-0.13mdk.img message-graphic vmlinuz-2.4.21-0.25mdk

    [william@localhost william]$

  5. I've just finished a (successful?) install of kernel-2.4.22, I'm using mdk 9.1, and when I reboot there is no choice of the new kernel.

    /etc/lilo.conf looks OK, and ran lilo -v; it shows the new kernel OK, /boot ... don't know...

    Am I dreaming? Is it possible to run 9.1 with this kernel?

     

    (Must get the head-scratching smiley)

  6. True, and I finally got it to work, only to find that the author had not finished the job.

    While it stops all running processes, it did not do a complet shutdown :shock:

     

    The latest version probably fixes that, but not yet packaged for use by Mandrake AFAIK. :(

  7. Trying to install apcupsd-3.9.8-2mdk.src.rpm and i got as far as:

     

    [root@localhost SPECS]# rpm -ba apcupsd.spec

    /usr/lib/rpm/rpmb: No such file or directory

     

    which is true, there is no such file.

    I have this sinking feeling that on install of mdk9.1 I should have selected something for install, but don't know what applies here.

     

    What do I need to do? :?:

  8. Finally got a ups, now try to control it. :(

    Can someone tell me what to type into .conf ?

    Nothing that I type into DEVICE is acceptable.

    Not sure that I have the right cable, as well.

     

    Here is what I get from cat /proc/bus/usb/devices:

     

    T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 5 Spd=1.5 MxCh= 0

    D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1

    P: Vendor=051d ProdID=0002 Rev= 1.06

    S: Manufacturer=APC

    S: Product=Back-UPS ES 725 FW:802.n2.D USB FW:n2

    S: SerialNumber=QB0306160158

    C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 2mA

    I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid

    E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms

  9. It works! :D

     

    With lots warnings about bogus TOC, (i copied disk 1 of mdk install!) and a warning about read error at LBA 2574 len 26 :shock:

    but I did a quick and dirty setup.

     

    Here's what I did: Install 3-disk version of mdk 9.1 (it IS different from 2-disk version-especially &*%)%$#! nvidia 4496 install.

    Emulate scsi in lilo.conf, save, exit, run lilo, reboot.

    Do k3b setup, only things I entered were generic mmc and my username.

    Reboot

     

    That's it.

     

    I think it need some tweaking, but seems to be the right start, and can find the tweaks in these pages.

     

    Now to find out how to connect in this version of Mdk without going through mcc :?

  10. Here's the output - means not much to me...

     

    [william@localhost william]$ cdrecord -scanbus

    Cdrecord 2.0 (i586-mandrake-linux-gnu) Copyright © 1995-2002 Jörg Schilling

    Linux sg driver version: 3.1.24

    Using libscg version 'schily-0.7'

    scsibus0:

    0,0,0 0) 'ASUS ' 'CRW-2410A ' '1.0 ' Removable CD-ROM

    0,1,0 1) *

    0,2,0 2) *

    0,3,0 3) *

    0,4,0 4) *

    0,5,0 5) *

    0,6,0 6) *

    0,7,0 7) *

    [william@localhost william]$

  11. Yes, both cdroms are on secondary ide cable. Two hard drives on primary.

    Here's my fstab:

    /dev/hdb4 / ext3 defaults 1 1

    none /dev/pts devpts mode=0620 0 0

    #none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

    #none /mnt/cdrom2 supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0

    none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0

    /dev/hdb1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0

    none /proc proc defaults 0 0

    /dev/hdb3 swap swap defaults 0 0

    /dev/ide/host0/bus1/target0/lun0/cd /mnt/k3b.reader/ auto ro,noauto,user,exec 0 0

    /dev/scsi/host0/bus0/target0/lun0/cd /mnt/k3b.writer/ auto ro,noauto,user,exec 0 0

     

    Maybe the ide should be scsi? But that's what I don't know how to do. :?

×
×
  • Create New...