Results 1 to 4 of 4

Thread: Newbie problems with remastering (long and involved)

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

    Newbie problems with remastering (long and involved)

    Hello,

    I am a longtime user of linux but new to Knoppix. I need to create a custom Knoppix CD
    with ACPI kernel patches so that my soundcard works (hehe dont ask...funky laptop).

    At any rate after creating a couple of coasters, I got comfortable with the remastering
    process and finally created what I thought was a winner. I boot the CD-ROM, and
    get the following error:

    init not found; try passing init= to the kernel.

    Alright, something obviously wrong. So I go out on a limb and try booting with:

    knoppix init=/static/init

    (which is what I believe to be the symlink to ash on the rootdisk). This actually does
    something, but not what I expect. Instead of acting like init and running linuxrc (or
    whatever init is supposed to do, Im a little fuzzy on that) I just get a root prompt. What
    this tells me is that it found /static/ash on the miniroot, but why it isn't going on to
    boot normally is beyond me. Furthermore. if I attempt to execute ./linuxrc from the root
    shell, the normal colorful "Welcome to Knoppix!" message appears, and it seems to find
    my KNOPPIX CD, it gives an error something like:

    cp: cannot create /etc/ld.so.cache: /etc is a read-only filesystem

    Which, I would expect, considering it's the miniroot (nothing should be written to miniroot).
    It's as if whatever ram disk gets mounted for /etc isnt getting mounted.

    At any rate you can tell it's one problem after another; I assume fixing the top one or two
    would go a long way to explaining/fixing the others. I also have a feeling that someone with
    a clue would easily be able to discern what I'm doing wrong given the symptoms...I just dont
    have any clue. My miniroot.gz is setup just fine, as is boot.img, nothing else was changed
    when "remastering" (all I was really doing is replacing a kernel). I have verified that the
    working KNOPPIX CD I have is identical (seemingly) to my custom KNOPPIX CD's boot
    files, but obviously something wrong.

    To sum up:

    1. Why does the kernel not find /static/init on it's own (kernel boots and miniroot expands correctly as far as I can tell)?
    2. When knoppix is booted with init=/static/init, why am I given a normal root shell instead
    of init (ash-knoppix) going on to continue the boot process normally.
    3. Why aren't the correct ramdisks, etc. being created so that the linuxrc script can do it's work in /etc and other directories.

    Thanks...I assume the answer is simple and owe whoever can help me out an immeasurable debt.

    Merc

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

    Narrowing it down...

    Just thought I'd post that I found if I boot with:

    knoppix init=/linuxrc

    It starts booting as normal. Why it's not finding init otherwise is beyond me. However,
    that at least is a fixable problem, I don't mind typing that. However the other problem
    still remains. The linuxrc script seems to get fairly far in the initial stages of booting
    (mounting cloop, etc) but at the very first attempt to write to / it fails. The portion
    of linuxrc that chokes is:

    if test -n "$FOUND_KNOPPIX"
    then
    # copy library cache
    cat /KNOPPIX/etc/ld.so.cache > /etc/ld.so.cache
    echo ""

    The 'if' is true because it finds the compressed filesystem, but the cat fails because it says /etc is readonly filesystem. How does this get resolved?? I dont understand at what point /etc stops being the miniroot and becomes an area in ramdisk (and therefore becomes r/w).

    Greg

  3. #3


    hi my name is mark

    can you replace a desktop background with a new background you have creatred and if yes can you tell me how as i'm a newbie.

    thanx

    ps with codes please.

  4. #4
    Junior Member
    Join Date
    May 2003
    Location
    washington dc
    Posts
    4

    more memory

    anyone knows about creating a new knoppix cd that support 2go of ram.
    thanks
    Kemal

Similar Threads

  1. Some problems after remastering
    By raj1478 in forum Customising & Remastering
    Replies: 3
    Last Post: 02-01-2005, 09:26 AM
  2. Problems by remastering
    By Georgy#28 in forum Customising & Remastering
    Replies: 2
    Last Post: 05-11-2004, 02:20 PM
  3. newbie: remastering to get passwords and gui login
    By freeballer in forum Customising & Remastering
    Replies: 3
    Last Post: 11-17-2003, 10:48 PM
  4. Newbie: remastering knoppix on a non-debian partition
    By freeballer in forum Customising & Remastering
    Replies: 0
    Last Post: 09-17-2003, 03:15 AM
  5. Newbie question on remastering
    By wanderer in forum Customising & Remastering
    Replies: 1
    Last Post: 08-11-2003, 04:36 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
  •  


Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A picture

Samsung 256GB SSD MZ-JPV256S/0A2 PCIe Solid State Drive SSD SSUBX 655-1959A

$22.02



Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED picture

Samsung T7 Shield 1TB Portable External SSD USB 3.2 Black MU-PE1T0S NEW SEALED

$219.99



Samsung T9 1TB External Portable SSD MU-PG1T0B -2000MB/s - Black picture

Samsung T9 1TB External Portable SSD MU-PG1T0B -2000MB/s - Black

$179.00



Samsung Galaxy View SM-T670 32GB, Wi-Fi, 18.4 inch Tablet White picture

Samsung Galaxy View SM-T670 32GB, Wi-Fi, 18.4 inch Tablet White

$229.99



RAM-GDS-SKIN-SAM80-NG RAM IntelliSkin® Next Gen for Samsung Tab A7 Lite 8.7” picture

RAM-GDS-SKIN-SAM80-NG RAM IntelliSkin® Next Gen for Samsung Tab A7 Lite 8.7”

$82.99



3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G picture

3 -M.2 2280 512GB SSD - Samsung MZNTE512HMJH, MZNLN512HMJP, Toshiba KSG60ZMV512G

$155.00



RAM-GDS-DOCK-SAM80CPU RAM GDS® Tough-Dock™ for Samsung Tab A7 Lite 8.7

RAM-GDS-DOCK-SAM80CPU RAM GDS® Tough-Dock™ for Samsung Tab A7 Lite 8.7"

$159.49



1 lot of 3  (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe picture

1 lot of 3 (2)Samsung PM951 SM961 & (1)Intel SSD 600P 256GB M.2 2280 SSD NVMe

$109.00



Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated picture

Samsung Galaxy Tab Active 3 / 64 gig/ WIFI/ IP68 Rated

$85.00



Samsung Galaxy Tab S10+ 5G (256GB, 12GB, Wi-Fi + Cellular, Unlocked) 12.4

Samsung Galaxy Tab S10+ 5G (256GB, 12GB, Wi-Fi + Cellular, Unlocked) 12.4" X828U

$579.99