Results 1 to 6 of 6

Thread: custom knoppix halts at creating directories on ramdisk

  1. #1
    Junior Member
    Join Date
    Sep 2003
    Posts
    2

    custom knoppix halts at creating directories on ramdisk

    Hello, I remastered a knoppix in the following way:

    I took the small knix cd, removed even more of the software on the iso, installed gcc and compiled some newer software. This all went fine, I burned a new knoppix cd and it booted.

    Now i wanted to change the kernel:

    I compiled a new kernel, 2.4.22; it has support for ramdrive and vesafb; generic IDE and scsi_generic for cdrom. I compiled cloop 0.68 ( that one seems to work best with the cd?) for my kernel, and replaced it with cloop.o in miniroot.gz, and removed the scsi modules ( I dont need them) adjusted some config files correspondently ( boot with us keymap, etc)
    put the img on a floppy, it booted my older knoppix cd's with that just fine ( of course it couldnt use the kernel modules and so on, but I got to a shell)

    Now, I customized the KNOPPIX image, to have the right kernel modules and software, and put it all on cd; the cd boots, but doesn't seem to go beyond this point:

    Creating /ramdisk(dynamic size=996020k) on /dev/shm...Done.
    Creating directories and symlinks on ramdisk....

    here it just keeps blinking.
    with a bootfloppy (either one, the official too) it's the same
    where does this go wrong? is there something I missed out on the kernel configure( I thought not, the floppy booted just fine) or a faillure in the compressed image, or some software package I thought I could remove? or did the burning software make a faulty cd..? I used Nero (windows)to burn the ISO image since I don't have a burner in my machine ( but one on the network does)

    If anyone can give me a hint, please. I've been rebooting many times now ;)

    MvH

  2. #2
    Junior Member
    Join Date
    Sep 2003
    Posts
    2

    live just got more complicated

    Ok, here is to this:
    I wanted to double check my story, so I

    1. created a fresh bootfloppy from the original cd.
    2. booted with the floppy and my custom cd
    3. I booted directly into knoppix with my modifications

    so...the cd was OK
    then I did:
    copy my custom kernel and a fresh cloop.o to the *working* boot floppy
    booted with the floppy and the original cd
    ...and booted straight into knoppix

    then I tried:

    booting with the custom floppy AND the custom cd...got stuck again as described above

    so, where does it go wrong? is it a module that gets insmodded and hangs the system?
    someting else? I'm at the end here.

    ciao

    mvh

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    have you tried to turn off the 'quiet' flag ? Also, just remove those >/dev/null 2>&1 lines in linuxrc so you can have a better understanding of which line may be causing the problem.

    That is my dumb way of debugging. Sorry can't think about more.

  4. #4
    Junior Member registered user
    Join Date
    Aug 2003
    Location
    Esquipulas, Oax. México
    Posts
    19
    Your kernel is 2.4.22, where and how did you get cloop.o?

    Regards,

    Hugo

  5. #5
    Junior Member
    Join Date
    Oct 2003
    Location
    Atlanta GA
    Posts
    2
    Cloop is available source code wise from the developer site:

    http://www.knopper.net/knoppix/sources/

    I had the EXACT same problem, unfortunately my solution was voodoo, but it was one of two things.

    I used a 2.4.22-xfs build and cloop 0.68 and 1.00, by the way, if you switch cloops, switch compressloop, create_compressed_fs and extract_compressed_fs... a KNOPPIX image file created with a new one can't be decompressed by an old cloop and vice versa... sounds obvious, and after the fact it was obvious, but it hung me up for an hour. I also switched from syslinux to isolinux and added "echo mark #1", #2, #3, etc... throughout the linuxrc file to see where exactly it hung at load... and it hung right at an inocuous copy from the ISO to ramdisk, long long into the load, and it had already done many such copies.

    Enough backstory, voodoo solution:

    I finally got it to work by compiling optimized i386 down from i586... this might have been the solution, but I'm willing to be the real solution was the fact that the kernel image itself was about 30% smaller. Maybe its running out of room on the ramdisk? I dunno, but go ahead and try that. My kernel ended up being:

    989792 bytes

    Which is just a little larger then the 2.4.20-xfs bzImage that I replaced...

    Also, since the remastering I'm doing is DamnSmall Linux, I never had a single problem with using the: "KNOPPIX toram" boot parameter with the disks that would normally freeze. (120Mb uncompressed disk image loads fine on a Athy 1.0 with a 256 stick), so again... I think its a limitation of the initial ramdisk being too small?

    I hope at least.

    Cheers,

    Finegan

  6. #6
    Junior Member
    Join Date
    Oct 2003
    Location
    Atlanta GA
    Posts
    2
    I spoke too soon, the same bug crept up 1 build later with the exact same kernel...

    Bloody hell...

    Cheers,

    Finegan

Similar Threads

  1. I need help creating a custom bootable CD,auto install to HD
    By cobra133 in forum Customising & Remastering
    Replies: 3
    Last Post: 06-18-2004, 06:34 AM
  2. knoppix is creating RAMDISK after hdd install?
    By ckassab in forum General Support
    Replies: 0
    Last Post: 02-04-2004, 11:28 PM
  3. Creating a custom cheatcode
    By Ambrose in forum Customising & Remastering
    Replies: 3
    Last Post: 02-03-2004, 01:50 AM
  4. it crashes when creating ramdisk
    By tukun in forum General Support
    Replies: 1
    Last Post: 05-28-2003, 08:03 AM
  5. Replies: 2
    Last Post: 01-21-2003, 03:22 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
  •  


Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES picture

Dell PowerEdge R640 Server | 2x Gold 6132 28 Cores | H730p | Choose RAM / DRIVES

$2630.00



M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB picture

M.2 NVME SATA SSD Enclosure USB 3.2 Gen 2 10Gbps for M-Key or M+B Key SSD to 8TB

$19.86



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

$117.99



WD 500GB My Passport SSD Portable External Solid State Drive WDBAGF5000AGY-WESN picture

WD 500GB My Passport SSD Portable External Solid State Drive WDBAGF5000AGY-WESN

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



Intel DC S3510 Series 120GB SSD 2.5

Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K

$8.99



Micron 5100 MAX 120GB SATA 6Gb/s 2.5

Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State

$8.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 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

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

$198.99