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
  •  


LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller PCIe 3.0 x8 IT-Mode 4* 8643 SATA

$229.99



Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays picture

Dell R630 8SFF 2.4Ghz 20-Core 128GB H730 RAID 10GB RJ-45 NIC 2x750W PSU 8x Trays

$455.04



Dell R740XD2 26LFF 3.6Ghz 8-C 768GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails picture

Dell R740XD2 26LFF 3.6Ghz 8-C 768GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails

$3538.08



Dell R740XD2 26LFF 3.6Ghz 8-C 384GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails picture

Dell R740XD2 26LFF 3.6Ghz 8-C 384GB H730P MINI RAID 2x10G SFP+ NIC 2x1100W Rails

$2998.08



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$87.99



LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested picture

LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested

$29.00



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99



G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply picture

G TECHNOLOGY G RAID 0G04228 2-Bay Thunderbolt 2 RAID Array W/Power Supply

$99.99