Results 1 to 4 of 4

Thread: Remastering - syslinux/boot.img file

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Posts
    45

    Remastering - syslinux/boot.img file

    I've been reading the remastering guide I could find on the internet but could not find howto add/change the boot.img file adding extra boot options via syslinux.cfg to add memdisk and new options for booting memtest86, fujitsu,maxtor,etc.. (hd diagnostics), windows bootdisks (win95->) and dban to make it a little more like a "admin/repair toolkit" and completely eliminate my floppy collection.
    The problem is I have a couple of stupid questions from a relative newbie to linux.
    I know howto mount the img file through "-o loop". Is there either a way to mount it rw or how do I re-image the "boot.img" file properly as either 1.4mb or 2.88mb floppy?
    dd? Or do I need a floppy disk to (re)create the image again?

    do I need to edit the syslinux.cfg file with vi, kate? Does it matter?

    And does anybody who has done this already have any other pointers??

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    mount -o loop boot.img tmp
    cd tmp
    cp syslinux.cfg ..
    vi ../syslinux.cfg
    mv ../syslinux.cfg .


    Basically what all of that says is mount the loop as you have been doing. Copy the file youi want to edit outside of the mounted loop. Edit the copy that's outside of the loop (with any text editor you like), then mv it back into the mounted loop and overwrite the original file.

  3. #3
    Member registered user
    Join Date
    Nov 2003
    Posts
    35
    Arkaine,

    reading from your post I need
    1 diskette for boot.img (cannot write on a readonly boot.img on cd after all),
    then mount it.
    Changing syslinux.cfg is easy.
    Mounting miniroot is also something I learned, as well as editing the files in there.

    What I could NOT find, is how to recreate the miniroot.gz
    any details on that?

    I still have to check if Knoppix now has the FROMDVD cheat..I need it so it won't try to copy an entire DVD in 800MB ramdisk..

    succeeded in writing Knoppix 3.4 C'T edition to DVD, so it boots a lot faster!

    any help appreciated on the miniroot.gz thing.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    It helps if you have some ext3 hard drive space to do this stuff on.

    If you're playing with 3.4 Cebit edition, then you should know that it uses isolinux instead of syslinux, though thje syslinux boot.img is still there. You'll find isolinux in a directory on the cd called boot/isolinux. It's easier to deal with (all the files are not writeable but you can just chmod +w them if you copy them to a linux filesystem on a hard drive), and its what allows for you to choose the 2.4 or 2.6 kernel (because there's more space to work with and the 2.6 kernel image is big, and you got to have space for two miniroot.gz's). So using syslinux on 3.4 Cebit will only give you one kernel, while using isolinux will give you two kernels.

    Here's info about about miniroot.gz, from the custom kernel how to document in the docs section of this site:

    Now for the fun part: 'mount boot.img boot -t msdos -o loop=/dev/loop0' will mount the boot floppy in the boot folder. Next, 'cp boot/miniroot.gz .', 'gunzip miniroot.gz', and 'mount miniroot mroot -t ext2 -o loop=/dev/loop1'.

    There's also lots of good info about how to remaster using isolinux in that document.

Similar Threads

  1. changing syslinux.cfg
    By darthczyz in forum Customising & Remastering
    Replies: 0
    Last Post: 04-26-2004, 04:04 PM
  2. DOS boot image for syslinux
    By RoadKill in forum Customising & Remastering
    Replies: 5
    Last Post: 12-11-2003, 02:35 PM
  3. How create a new md5sums file after remastering ?
    By JoDaY in forum Customising & Remastering
    Replies: 0
    Last Post: 09-23-2003, 10:17 AM
  4. How to use ISOLINUX instead of SYSLINUX?
    By Blue in forum Customising & Remastering
    Replies: 1
    Last Post: 06-26-2003, 01:32 PM
  5. Remastering Error: Can't Find Boot Image KNOPPIX/boot.img
    By mswarbrick in forum Customising & Remastering
    Replies: 6
    Last Post: 04-18-2003, 12:30 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
  •  


Commodore 64   picture

Commodore 64

$160.00



Vintage COMMODORE AMIGA A1000 Keyboard & Mouse Untested - As Is - Parts & Repair picture

Vintage COMMODORE AMIGA A1000 Keyboard & Mouse Untested - As Is - Parts & Repair

$129.99



Commodore 128dcr Computer - W/JiffyDOS And Keyboard - Fully Working picture

Commodore 128dcr Computer - W/JiffyDOS And Keyboard - Fully Working

$699.95



Commodore 64 Home Computer picture

Commodore 64 Home Computer

$200.00



Vintage Commodore VIC 20 Computer Untested No Power Adapter MADE IN USA Keyboard picture

Vintage Commodore VIC 20 Computer Untested No Power Adapter MADE IN USA Keyboard

$59.99



Commodore 64 Computer Keyboard In Box, Untested picture

Commodore 64 Computer Keyboard In Box, Untested

$139.99



Commodore 64 Computer CIB - Great Shape - Powers On picture

Commodore 64 Computer CIB - Great Shape - Powers On

$105.00



Commodore 1541 5.25

Commodore 1541 5.25" Single Disk Drive w/ Mitey Mo modem and Floppy

$35.00



RARE Commodore KS64C Personal Computer Keyboard #’d 292/500 - Great Condition picture

RARE Commodore KS64C Personal Computer Keyboard #’d 292/500 - Great Condition

$299.99



TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network picture

TeensyROM Cartridge for Commodore 64/128: MIDI, Fastload, Emulation, and Network

$65.00