Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: how do you make a bootdisk?

  1. #1
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    how do you make a bootdisk?

    I made a boot disk during the Knoppix install process, because my system will not boot without a boot disk because of my hardware configuration.

    I have backed up my bootdisk using "dd", but when I tried to make another one using any debian utitiles that I could find, the bootdisks were unsucessful at booting my system.

    I tried some sorta "mkbootdisk" command that I can't remember anymore, but it didn't boot my system. It came up with lilo and then stopped. My knoppix bootdisk uses SYSLINUX, and I'm sure there's some sorta utilty that can make boot disks right?

    I searched my packages and tried mindi. This utitity can't create a bootdisk, instead it creates a set of six disks, which is not what a bootdisk is

    If it matters, I'm booting off my primary slave drive, that's the way it is. Rather disappointingly, I can't change that, I hooked up the linux drive as primary master and when I booted with my boot floppy it wouldn't boot. I don't think regular boot worked either. Note that I have 4-5 partitions on this drive and the first two are FAT32 data partitions.

  2. #2
    Member registered user
    Join Date
    Jun 2003
    Posts
    34
    All you need to do, to make a boot floppy of a working kernel is type

    mkboot /boot/vmlinuz-2.4.22 (or whatever your vmlinuz file is *actually* called)

  3. #3
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    Quote Originally Posted by todsr1
    All you need to do, to make a boot floppy of a working kernel is type

    mkboot /boot/vmlinuz-2.4.22 (or whatever your vmlinuz file is *actually* called)
    OK, I tried this, but when I tried to boot off the disk it showed a LILO screen with a "boot:" prompt. I hit enter and it said Loading" then "LinuxEDBD (or similiar) Linux kernel setup space overlaps LILO second stage" appeared immediately on the same line as Loading

    Any other ideas?

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

    Re: how do you make a bootdisk?

    --Boot from CD into runlevel 2 ' knoppix 2 '
    o ' mkdosfs -F 32 -v /dev/fd0 ' == Format floppy
    o ' syslinux -s /dev/fd0 ' == Write bootsector

    o ' mkdir /mnt/floppy '
    o ' mount /dev/fd0 /mnt/floppy '

    o ' mkdir /mnt/blah '
    o ' mount /dev/your-root-partition /mnt/blah '
    o ' cp /mnt/blah/boot/vmlinuz /mnt/floppy '

    --This is what my floppy syslinux.cfg file looks like (my kernel file is krnl2422 instead of vmlinuz, and I boot /dev/hde due to an IDE PCI controller card)
    Code:
    default knoppix
    #prompt 1
    #timeout 50
    label knoppix
      kernel krnl2422
      append root=/dev/hde3 ro vga=ext apm=power-off hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce idebus=66
    --Put whatever cheatcodes you need.

    *2003.1030 + Edited to copy correct kernel file from HD root-partition instead of CD

    Quote Originally Posted by lavaman094
    I made a boot disk during the Knoppix install process, because my system will not boot without a boot disk because of my hardware configuration.

    I have backed up my bootdisk using "dd", but when I tried to make another one using any debian utitiles that I could find, the bootdisks were unsucessful at booting my system.

    I tried some sorta "mkbootdisk" command that I can't remember anymore, but it didn't boot my system. It came up with lilo and then stopped. My knoppix bootdisk uses SYSLINUX, and I'm sure there's some sorta utilty that can make boot disks right?

    I searched my packages and tried mindi. This utitity can't create a bootdisk, instead it creates a set of six disks, which is not what a bootdisk is

    If it matters, I'm booting off my primary slave drive, that's the way it is. Rather disappointingly, I can't change that, I hooked up the linux drive as primary master and when I booted with my boot floppy it wouldn't boot. I don't think regular boot worked either. Note that I have 4-5 partitions on this drive and the first two are FAT32 data partitions.

  5. #5
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    Re: how do you make a bootdisk?

    While that knoppix tip may product a functioning boot disk, it does not answer my question.

    I use debian, and I was wondering if there was a debian utility or program or command I could use to make a bookdisk.

    I have already tried:
    mkboot /boot/vmlinuz-2.4.22
    and "mindi" which I tried with both it's own kernel and my own. I used the "best configuration for lilo".

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

    Re: how do you make a bootdisk?

    -=-Your original topic question was, and I quote: "how do you make a bootdisk?" I gave you instructions on how to re-create a syslinux bootdisk, since:

    a) you already mentioned that's what you use, and

    b) That's the method that I use to boot my server as well. It's much less complicated than lilo or grub, even if it is a bit slower.

    --You mentioned that you made a bootdisk during the Knoppix install process. You also mentioned that you made a 'dd' copy of said disk; I have no idea why dd'ing that image file to a floppy again doesn't work for you, but nonetheless posted specific instructions on how to make another boot disk that functions exactly the same way, using tools that are already included with your install. In addition, my instructions are not necessarily specific/limited to Debian, and are applicable to any distro that you can install syslinux on.

    --If all you needed was a way to boot the Knoppix CD, I would have said "dd the boot.img file from cdrom to floppy" but no, I posted instructions on how to make a bootdisk for your HD install with syslinux, as you requested.. Did you even TRY them?

    Quote Originally Posted by lavaman094
    While that knoppix tip may product a functioning boot disk, it does not answer my question.

    I use debian, and I was wondering if there was a debian utility or program or command I could use to make a bookdisk.

    I have already tried:
    mkboot /boot/vmlinuz-2.4.22
    and "mindi" which I tried with both it's own kernel and my own. I used the "best configuration for lilo".

  7. #7
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    Re: how do you make a bootdisk?

    Hmm...sorry, I just was disappointed that debian couldn't produce a bootdisk.

    Yes, I did brush you off a tad, my apologies. No, I haven't run that, I assume that they will work and I have saved them for future reference.

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

    Re: how do you make a bootdisk?

    --Fair enough, apology accepted. Note that you might want to re-write down the instructions, I edited the post to copy the kernel file from your root partition instead of CD.

    Quote Originally Posted by lavaman094
    Hmm...sorry, I just was disappointed that debian couldn't produce a bootdisk.

    Yes, I did brush you off a tad, my apologies. No, I haven't run that, I assume that they will work and I have saved them for future reference.

  9. #9
    Member registered user
    Join Date
    Sep 2003
    Posts
    67

    Re: how do you make a bootdisk?

    Fair enough, apology accepted. Note that you might want to re-write down the instructions, I edited the post to copy the kernel file from your root partition instead of CD.
    ehhh....I tried your original instructions and it immediately says "Boot failed" upon trying to boot of the floppy. Will your new instructions work better? Why would my own vmlinuz file work and not the knoppix CD's vmlinuz file?

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

    Re: how do you make a bootdisk?

    --Did you put a syslinux.cfg file on the floppy, and modify it to fit your kernel filename (vmlinuz) and root device (/dev/hdbX)?

    --I modified the instructions so that if you had recompiled your kernel, yours would be copied to floppy instead of Knoppix's. If you're just using the default, no need to mount your root partition, you can just copy the kernel from cd.

    Quote Originally Posted by lavaman094
    Fair enough, apology accepted. Note that you might want to re-write down the instructions, I edited the post to copy the kernel file from your root partition instead of CD.
    ehhh....I tried your original instructions and it immediately says "Boot failed" upon trying to boot of the floppy. Will your new instructions work better? Why would my own vmlinuz file work and not the knoppix CD's vmlinuz file?

Page 1 of 2 12 LastLast

Similar Threads

  1. Boot from usb using bootdisk/sbm?
    By victorhooi in forum Hardware & Booting
    Replies: 2
    Last Post: 03-17-2005, 06:20 PM
  2. bootdisk - image too large
    By Alexxx in forum Customising & Remastering
    Replies: 2
    Last Post: 02-26-2004, 01:32 PM
  3. Bootdisk instead of Boot ROM?
    By Nils_ in forum General Support
    Replies: 0
    Last Post: 10-07-2003, 10:16 PM
  4. making a dos bootdisk from knoppix?
    By reecegeorge in forum General Support
    Replies: 7
    Last Post: 08-22-2003, 07:11 AM
  5. making a bootdisk
    By marcelwalus in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 07-11-2003, 09:01 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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot picture

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot

$573.98



RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED picture

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED

$445.00



(LOT OF 138) *MIXED BRANDS* 4GB PC3L DDR3L *MIXED SPEEDS* UDIMM Desktop RAM picture

(LOT OF 138) *MIXED BRANDS* 4GB PC3L DDR3L *MIXED SPEEDS* UDIMM Desktop RAM

$828.00



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SAMSUNG M386A8K40BM2-CTD 64GB (1X64GB) 4DRX4 PC4-2666V DDR4 MEMORY picture

SAMSUNG M386A8K40BM2-CTD 64GB (1X64GB) 4DRX4 PC4-2666V DDR4 MEMORY

$365.00



Cisco 128GB (8x16GB) PC4-2666V DDR4 ECC Registered RDIMM 288-Pin picture

Cisco 128GB (8x16GB) PC4-2666V DDR4 ECC Registered RDIMM 288-Pin

$400.00



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.75



USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot picture

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot

$3.49



 128GB (8x16GB) DDR4 PC4-2133P-R ECC Server Memory RAM Upgrade HPE Z640 picture

128GB (8x16GB) DDR4 PC4-2133P-R ECC Server Memory RAM Upgrade HPE Z640

$516.26