General TC > Remasters / Remixes - Unofficial
After remastering (manual/automated) TCL does not boot...
ixbrian:
Hi MJZ,
Which unmodified version of Tiny Core successfully boots up on the system? Is it this same version of Tiny Core that you are attempting to unpack/pack again? Have you been able to try the remastered CD on more than 1 computer?
It might help if you record what is happening while you are manually remastering with the "script" command and then attach that here so we can review it. Just type "script" and then everything in that terminal will be logged to a file named "typescript" until you type "exit" which ends the recording.
MJZ:
hi everone! thanks for all the advices.
ok, what has happend so far:
* i changed my perfectly running tcl system (frugal hdd) from v4.1 to v4.2rc2
* same thing: original works perfectly (as live cd as well as frugal) --> then i remaster (resp. just re-pack) it in different ways
(of course I use identical versions for the bootstrapping and bootstrapped system)
* remastered boot fails with kernel panic (thank you @maro for the hint with 80x60!), I attached new pics from the kernel panic (sorry, cut off because of widescreen, tell me if you want to see more)
> looks like a kworker (acpi) problem, right? but what the heck, I didn't do any changes to to kernel or any file in the ramdisk.... ???
* @genec: I did what you suggested, but
- #1a and #1b did fail with syslinux:"no kernel image {linux.c32|meminfo.c32} found"
- I did instead a memtest wich came with my Ubuntu system. It reported no errors. You want to see the screen output?
- for #4 I had no time for Syslinux-4.05 or Syslinux-4.06-pre1 yet.
* @ixbrian: I tested tinycore, microcore, multicore in v4.1 and Core, CorePlus, TinyCore in v4.2rc2 - no problem at all.
Ans as said above, of course I use identical versions for the respective remastering process.
I could not gain access to another computer I am allowed to do "risky" stuff, I will try! But: still no problems at all in VirtualBox with my remasterd versions....
As you suggested, below there is a typescript of the remaster.sh rebuild process
Thank you again very much for your support so far. Getting back to find a solution.... :-\
--- Code: (bash) ---tc@box:/mnt/sda3/testremaster$ remaster.sh /mnt/sda3/testremaster/ezremaster.cfg
rebuild[J
+ alias grep=busybox grep
+ alias sed=busybox sed
+ alias awk=busybox awk
+ alias wget=busybox wget
+ cd_type=
+ [ 2 -ne 2 ]
+ input=/mnt/sda3/testremaster/ezremaster.cfg
+ [ ! -r /mnt/sda3/testremaster/ezremaster.cfg ]
+ function=rebuild
+ busybox grep ^cd_location = /mnt/sda3/testremaster/ezremaster.cfg+
busybox awk {print $3}
+ cd_location=/mnt/sda3/master/Core-4.2rc2.iso
+ busybox grep ^temp_dir = + /mnt/sda3/testremaster/ezremaster.cfg
busybox awk {print $3}
+ temp_dir=/mnt/sda3/testremaster
+ mkdir -p /mnt/sda3/testremaster/image
+ mkdir -p /mnt/sda3/testremaster/extract
+ mkdir -p /mnt/sda3/testremaster/mnt
+ mkdir -p /mnt/sda3/testremaster/app_dep
+ [ ! -d /mnt/sda3/testremaster/image ]
+ extractimage
+ checkmountimage
+ echo cd location: /mnt/sda3/master/Core-4.2rc2.iso
cd location: /mnt/sda3/master/Core-4.2rc2.iso
+ [ -f /mnt/sda3/master/Core-4.2rc2.iso/boot/core.gz ]
+ [ -f /mnt/sda3/master/Core-4.2rc2.iso ]
+ sudo mount /mnt/sda3/master/Core-4.2rc2.iso /mnt/sda3/testremaster/mnt
+ [ -f /mnt/sda3/testremaster/mnt/boot/core.gz ]
+ cd_type=iso
+ [ ! -n iso ]
+ sudo rm -rf /mnt/sda3/testremaster/extract
+ sudo rm -rf /mnt/sda3/testremaster/image
+ sudo rm -rf /mnt/sda3/testremaster/extract_apps
+ sudo rm -rf /mnt/sda3/testremaster/app_dep
+ mkdir -p /mnt/sda3/testremaster/app_dep
+ mkdir -p /mnt/sda3/testremaster/extract_apps
+ mkdir -p /mnt/sda3/testremaster/extract
+ mkdir -p /mnt/sda3/testremaster/image
+ [ iso == iso ]
+ sudo cp -a /mnt/sda3/testremaster/mnt/boot /mnt/sda3/testremaster/image
+ sudo umount /mnt/sda3/testremaster/mnt
+ cd /mnt/sda3/testremaster/extract
+ zcat /mnt/sda3/testremaster/image/boot/core.gz
+ sudo cpio -i -H newc -d
+ bootcode
+ [ ! -f /mnt/sda3/testremaster/image/boot/isolinux/isolinux.cfg ]
+ sudo busybox sed -i s/APPEND/append/ /mnt/sda3/testremaster/image/boot/isolinux/isolinux.cfg
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ + busybox awkbusybox { $1=""; $2=""; print }
grep ^cc =
+ busybox grep ^app_outside_initrd /mnt/sda3/testremaster/ezremaster.cfg
+ [ -n ]
+ apps
+ . /etc/init.d/tc-functions
+ [ -f /proc/cmdline ]
+ CMDLINE=
+ cat /proc/cmdline
+ CMDLINE= initrd=/boot/core.gz quiet kmaps=qwertz/de vga=795 tce=UUID="5d628a3f-8f5f-4703-aade-211e80b0df95" BOOT_IMAGE=/boot/vmlinuz
+ echo -e \r\033[K
+ CRE=[K
+ echo -e \033[1;31m
+ RED=[1;31m
+ echo -e \033[1;32m
+ GREEN=[1;32m
+ echo -e \033[1;33m
+ YELLOW=[1;33m
+ echo -e \033[1;34m
+ BLUE=[1;34m
+ echo -e \033[1;35m
+ MAGENTA=[1;35m
+ echo -e \033[1;36m
+ CYAN=[1;36m
+ echo -e \033[1;37m
+ WHITE=[1;37m
+ echo -e \033[0;39m
+ NORMAL=[0;39m
+ getMirror
+ read MIRROR
+ getMajorVer
+ busybox awk {printf "%d", $1} /usr/share/doc/tc/release.txt
+ MIRROR=http://distro.ibiblio.org/tinycorelinux/4.x/x86/tcz
+ uname -r
+ kernel=3.0.3-tinycore
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ busybox+ grepbusybox awk ^app_outside_initrd_onboot = {print $3}
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ + busyboxbusybox grep awk {print $3}
^app_outside_initrd =
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ busybox grep ^app_inside_initrd_onboot =
+ busybox awk {print $3}
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ busybox grep ^app_inside_initrd =
+ busybox awk {print $3}
+ cat /mnt/sda3/testremaster/ezremaster.cfg
+ busybox grep ^app_extract_initrd =
+ busybox awk {print $3}
+ busybox grep+ ^mydata = /mnt/sda3/testremaster/ezremaster.cfg
busybox awk {print $3}
+ mydata=
+ [ -n ]
+ package
+ uname -r
+ sudo depmod -a -b /mnt/sda3/testremaster/extract 3.0.3-tinycore
+ sudo ldconfig -r /mnt/sda3/testremaster/extract
+ cd /mnt/sda3/testremaster/extract
+ umount /mnt/sda3/testremaster/extract/proc
+ sudo sh -c find . | cpio -o -H newc | gzip -2 > /mnt/sda3/testremaster/image/boot/core.gz
+ sudo advdef -z4 /mnt/sda3/testremaster/image/boot/core.gz
5553544 5491881 98% /mnt/sda3/testremaster/image/boot/core.gz
5553544 5491881 98%
+ cdlabel=Tinycore
+ cd /mnt/sda3/testremaster/image
+ cat boot/isolinux/isolinux.cfg
display boot.msg
default microcore
label microcore
kernel /boot/vmlinuz
append initrd=/boot/core.gz quiet
label mc
kernel /boot/vmlinuz
append initrd=/boot/core.gz quiet
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
F4 f4
+ sudo mkisofs -l -J -R -V Tinycore -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o /mnt/sda3/testremaster/ezremaster.iso .
Size of boot image is 4 sectors -> No emulation
Total translation table size: 2048
Total rockridge attributes bytes: 1437
Total directory bytes: 4096
Path table size(bytes): 38
Max brk space used 22000
4108 extents written (8 MB)
tc@box:/mnt/sda3/testremaster$ exit
--- End code ---
[attachment deleted by admin]
MJZ:
more curious things:
I just did a remastered Core-4.2-rc2, but this time, I did it under a live system running in my VirtualBox under Ubuntu. When I burned the iso and rebooted my pc with the new cd, all was fine!
Maybe I could go on with that solution temporarily for prototyping, but actually I need to use my native TCL system on hdd for real work...
curaga:
This is starting to look like something with your hw, I'm afraid.
genec:
--- Quote from: MJZ on December 21, 2011, 09:38:19 AM ---
* @genec: I did what you suggested, but
- #1a and #1b did fail with syslinux:"no kernel image {linux.c32|meminfo.c32} found"
- I did instead a memtest wich came with my Ubuntu system. It reported no errors. You want to see the screen output?
- for #4 I had no time for Syslinux-4.05 or Syslinux-4.06-pre1 yet.
--- End quote ---
For #1a, you needed to place them in the /boot/ directory (I left that part out but thought it might have been implied). Memtest's output is useless. You might have a memory hole that's breaking things. meminfo.c32 will tell me where and linux.c32 should be able to work around it.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version