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
  •  


N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY) picture

N85XX DELL 3.84TB SAS 12GB/S ENTERPRISE SOLID STATE DRIVE (W/ 14TH GEN CADDY)

$389.95



Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A picture

Western Digital 1TB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased - WDS100T3B0A

$89.99



SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26 picture

SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26

$149.99



Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B picture

Western Digital 250GB WD Blue SA510 SATA SSD, Internal M.2 2280 - WDS250G3B0B

$39.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$13.99



Lot of 10 Mixed Brand Model 128GB 2.5

Lot of 10 Mixed Brand Model 128GB 2.5" SATA SSD Solid State Drives

$69.99



Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$209.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5''SATA III Internal Solid State Hard Drive LOT

$188.99