Jump to content

WilliamS

OTW
  • Posts

    209
  • Joined

  • Last visited

Everything posted by WilliamS

  1. The way I did it was to put Linux on hda (master) windose on hdb (slave). Then put this in /etc/lilo.config: other=/dev/hdb1 label="dos" table=/dev/hdb map-drive=0x80 to=0x81 map-drive=0x81 to=0x80 Then run lilo -v. Works perfectly ever since. If you are using grub there is another entry.
  2. IT WORKS! :D :D :D :D Needed to copy/paste bzImage to /boot, then change its name to bzImage-2.4.22-1 ...seems like cheating... If I don't stop tinkering with this stuff I fear that I will grow a mass of zits and begin to fear girls. :wink:
  3. It is a link to the original mdk kernel. hm. I don't have a separate /boot partition. Don't remember doing anyt hing different when installing the linux-2.4.22 kernel this time, so the bzImage-2.4.22-1 file should be here, somewhere, but it ain't.
  4. 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.
  5. 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)
  6. 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 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!
  7. Thought that choices during boot came from /etc/lilo.conf , but it seems not. Any ideas? Anyone?
  8. mkinitrd command worked this time, but still no choice on boot. What are you seeing that I am missing? (I don't know what to look for anyway!) Way past my bedtime. Back tomorrow.
  9. Well, that didn't work :( [root@localhost william]# mkinitrd /boot/initrd-2.4.22-1.img 2.4.22-1 /lib/modules/2.4.22-1 is not a directory. [root@localhost william]# What sort of file/directory is it looking for?
  10. 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]$
  11. 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)
  12. Have you tried urpmi.update -a as root in Konsole? (While online)
  13. WilliamS

    apcupsd

    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. :(
  14. WilliamS

    apcupsd

    Best solution: Get the serial cable. Free! From APC. Install apc's ssd software. :wink:
  15. WilliamS

    .src.rpm

    I tried urpmi rpmbuild yesterday, forgetting that this is my TEST mdk, and haven't yet done easy urpmi. Brainfog strikes again. Thanks guys.
  16. WilliamS

    .src.rpm

    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? :?:
  17. Um yes, my bad. I was boggled by one website that had the download as 108mb, no way am I going to urpmi that! What I do is download one pkg at a time to a file (and save to cd for the next time I destroy mdk). It turns out that it's a lot less than 108mb. Thanks for advice. :)
  18. er.. Which one do I download first? is there a url to start?
  19. WilliamS

    apcupsd

    ...found the reason why, according to a post at: http://www.juhttp://www.justlinux.com/foru...ghlight=apcupsd This program only works in mdk with a serial cable. The one in the box is usb. :shock:
  20. WilliamS

    apcupsd

    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
  21. My email address unacceptable! Can't join. They bad!
  22. WilliamS

    k3b help

    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 :?
  23. WilliamS

    k3b help

    My bedtime, and have long (for me) trip tomorrow. Will check in the morning though. :arrow:
  24. WilliamS

    k3b help

    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]$
  25. WilliamS

    k3b help

    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...