Results 1 to 6 of 6

Thread: HDD install-bzImage too big for boot-floppy

  1. #1
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10

    HDD install-bzImage too big for boot-floppy

    Tried Knoppix CD version___________________________________________ __
    Installed a HD version___________________________________________ _____
    Wanted to include Tekram SCSI card + TEAC R56 toaster + USB Dial-Up modem___
    No sources available_________________________________________ _________
    Downloaded 2.4.20 kernel and recompiled with 'appropriate' modules _____________
    Make-kpkg.... then dpkg -i .....=> kernel too big for a boot-floppy! _______________
    Returned to old faithful_ make xconfig/dep/bzImage/modules/ => kernel still too big!

    I have 2 IDE HDDs First is uniquely MSDOS, 2nd has some Windows stuff at the start, then all the Linux stuff down the back. Plenty of room. I do NOT want to mess with the MBR,
    so LILO and co. is OUT

    I tried copying the bzImage from arch/i386/boot to /dev/fd0 - some flashing lights and noise, but rebooting gave - 'Ran out of data_ abandonned boot sequence - system halted.

    Any way out of this dilemma. The bzImage is 1.1Mo so should fit on a floppy OK.

    Hope to hear some words of wisdom - will plug away with 2.4.20-xfs and COM1 analogue modem, no Toasting, until better offer.

    cheers

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    the message is misleading and my guess is it is written dated back to the 360/720k era. However, I don't think you can just copy over th bzImage. You need some boot loader on the floppy. It could be lilo or syslinux.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: HDD install-bzImage too big for boot-floppy

    --If you copy (dd) the kernel directly to the floppy with no bootloader, it won't pass the kernel parms. Try ' man syslinux ' - altho it only works on msdos filesystems.

    --Here also is an (old,untested) script from my suse days (you should copy lilo.conf to lilo.floppy.conf 1st, and edit it so that boot=/dev/fd0 IIRC) :

    #BEGIN mklilofloppy
    Code:
    #!/bin/sh
    
    # Don't forget to " vidmode kernelimg(vmlinuz?) -2 " to set VGA50
    
    echo Insert floppy:
    echo PK:
    read
    
    mkdir /floppy
    
    /sbin/mke2fs -m 1 /dev/fd0 && \
    mount /dev/fd0 /floppy && \
    cp /boot/boot.b /floppy && \
    cp /boot/vmlinuz /floppy
    
    #echo image=/floppy/vmlinuz label=linux | \
    cp $0 /floppy && \
    cp lilo.floppy.conf /floppy && \
    cp /boot/message /floppy && \
    
    /sbin/lilo -C lilo.floppy.conf -b /dev/fd0 -i /floppy/boot.b -c -m /floppy/map && \
    ls -al /floppy && \
    umount /floppy
    Quote Originally Posted by ozfrog
    Tried Knoppix CD version___________________________________________ __
    Installed a HD version___________________________________________ _____
    Wanted to include Tekram SCSI card + TEAC R56 toaster + USB Dial-Up modem___
    No sources available_________________________________________ _________
    Downloaded 2.4.20 kernel and recompiled with 'appropriate' modules _____________
    Make-kpkg.... then dpkg -i .....=> kernel too big for a boot-floppy! _______________
    Returned to old faithful_ make xconfig/dep/bzImage/modules/ => kernel still too big!

    I have 2 IDE HDDs First is uniquely MSDOS, 2nd has some Windows stuff at the start, then all the Linux stuff down the back. Plenty of room. I do NOT want to mess with the MBR,
    so LILO and co. is OUT

    I tried copying the bzImage from arch/i386/boot to /dev/fd0 - some flashing lights and noise, but rebooting gave - 'Ran out of data_ abandonned boot sequence - system halted.

    Any way out of this dilemma. The bzImage is 1.1Mo so should fit on a floppy OK.

    Hope to hear some words of wisdom - will plug away with 2.4.20-xfs and COM1 analogue modem, no Toasting, until better offer.

    cheers

  4. #4
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10

    compliling/configuring

    a bit further down this road . . . . . . . . .
    Dowloaded a 2.4.20, patched for Tekram, reconfigured, recompiled and was able to make a boot floppy (avoiding Lilo as usual ).
    Results:
    Boot 1 with new floppy boot disk => straight after boot messages, the monitor went to standby mode . Cold re-start => fs with errors, ran e2fsk -py /dev/hdc2 => same fs error message.
    Boot 2 with old floppy boot disk. => fs with error messages, e2fsk & Co.

    Could it be that 2.4.20 needs to be patched with an 'xfs' patch ( as well as the Tekram stuff ) if it's to live happily on a fs created with a 2.4.20-xfs?
    This is the only answer I can fathom out at present.

    Hoping for more knowlegeable minds.

    cheers

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    OK, so you don't want to mess with the mbr (God alone knows why: it's easy enough to recover). Why not

    apt-get install grub

    (I'm assuming grub doesn't come with post 3.1 versions).

    Read all the documentation you can google for on grub, but it's absolutely possible to write grub to floppy and boot from that.

  6. #6
    Junior Member registered user
    Join Date
    Jun 2003
    Posts
    10
    Quote Originally Posted by fingers99
    OK, so you don't want to mess with the mbr (God alone knows why: it's easy enough to recover). Why not

    apt-get install grub

    (I'm assuming grub doesn't come with post 3.1 versions).

    Read all the documentation you can google for on grub, but it's absolutely possible to write grub to floppy and boot from that.
    If GRUB will get me up and running from a floopy, I've no beef with that - I'll grok the doc. and see what gives.
    Thanks.
    MBR stuff. I 'did' a new kernel, got it booting from LILO- fine. Then before I got a chance to back-up the MBR, it went 'to GOD' => Impossible to boot anything! re-install W_98 from scratch {Norton GHOST to the rescue once again- so I was able to avoid reinstalling software and drivers } then back to square one with Knoopix_ HD install, reconfigure stuff, install stuff, update stuff - you know what I mean.
    After that hassle, you can understand why I want to steer clear of messing with the MBR again. Reading LOADLIN doc. recently, it's author states that the command to reinstall the MBR (? fdisk /MRB?) isn't 100% trustworthy either, and that coming from someone I think I can believe.
    Well - back to the drawing board; I know it must be possible, as K.Knopper got one to work with the 2.4.20-xfs kernel. Anything to do with 'initrd' configuration in the kernel?

    bye

Similar Threads

  1. Install Boot Floppy
    By Vic in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 12-23-2004, 11:28 PM
  2. Boot floppy not created during HD install - not /dev/fd0.
    By bigrobot in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 12-04-2004, 08:51 AM
  3. HD install boot floppy
    By adventurepants in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 05-26-2004, 09:06 AM
  4. How Do I make a Boot Floppy from HD install?
    By bongski55 in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-26-2003, 09:07 AM
  5. HD install questions....floppy boot and new HD formatting
    By jamesgf in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 03-24-2003, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5) picture

Cisco 10G SFP+ Module SFP-10G-SR 10-2415-03 (Lot of 5)

$24.99



Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver picture

Cisco 10-2456-03 Genuine Cisco SFP-10G-LRM V03 10GBASE-LRM SFP+Transceiver

$24.99



Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP picture

Cisco Nexus 48-Port 10G SFP+ Switch N9K-9396PX w/ 9K-M12PQ 12-Port 40G QSFP

$249.99



Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02 picture

Cisco GLC-SX-MM 1000Base SX SFP Transceiver Module 30-1301-02

$5.99



F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver picture

F5 Networks 10GB OPT-0016-00 F5-UPG-SFP+-R 10GBASE/SR SFP Transceiver

$4.00



Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03  picture

Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03

$8.00



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$18.00



Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver picture

Mellanox Original MFM1T02A-SR 10GbE 10GBASE-SR SFP+ Transceiver

$9.00



10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module picture

10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module

$85.00



SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module picture

SFP-10G-SR V03 Original CISCO 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module

$6.80