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. Mxico
    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
  •  


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 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25 picture

SanDisk 1TB Extreme Portable SSD, External Solid State Drive - SDSSDE61-1T00-G25

$109.99



WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN picture

WD_BLACK 1TB D30 Game Drive SSD for Xbox Summer Collection - WDBAMF0010BSU-WESN

$109.99



SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46 picture

SanDisk 1TB Ultra Dual Drive Go USB Type-C Flash Drive, Black - SDDDC3-1T00-G46

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

$19.99



1000 GB HHD 2.5

1000 GB HHD 2.5" 1TB Mixed Brands Samsung WD HGST TOSHIBA, Tested Formatted

$14.90



Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ... picture

Samsung - Geek Squad Certified Refurbished 980 PRO 1TB Internal SSD PCIe Gen ...

$71.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.85



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$773.19



Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture

Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot

$703.19