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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2 picture

Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2

$10.00



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$50.99



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$13.50



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$16.50



HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture

HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin

$8.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$239.38



Lot of 50 4GB DDR4 Memory Laptop RAM 3200MHz Samsung/SK Hynix/Kingston/Micron picture

Lot of 50 4GB DDR4 Memory Laptop RAM 3200MHz Samsung/SK Hynix/Kingston/Micron

$248.50