WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Getting tinycore_2.0 working on a Toshiba 7000CT 160MB RAM 4GB HD!  (Read 3956 times)

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
 ;D
 ;D
radness!
OK, couldn't figure out how to get tc into my lappy as it has no cdrom and a non-boot usb port + floppy drive too.
So, I dd'd plop bootmanager plpbt.img and plpbtin.img onto 2 floppies
example; plpbtin.img is in /home/bz (bz is my username)
" dd if=/home/bz/plpbtin.img of=/dev/fd0 bs=1440k"
plpbt.img just tries to boot hd/cdrom/usb from the floppy without installing to mbr

plpbtin.img installs to mbr of computer and is uninstallable using floppy only I think.

I had to use plpbtin.img, installed to mbr before it would boot the usb
it booted it after the third reboot, this is common with the lappy with all bootmanagers.

then,  grub would take like 2 min to load to the grub menu;
NOTE that I did have Xfbdev.tce on sda1 but not in either tcvd's (vhd1 and vhd2)*
but, my initial boot with base/norestore superuser vga=788 (to discover usb device name sda1 for this one)
stalled while still loading and a black screen and cursor

2nd boot got me to the root command line, which is when I issued "fdisk -l"
and "mount" to determine device name-it's sda1

ok, rebooted and edited grub menu so it was for sda1 and xsetup vga=788 tce=sda1
all apps started restoring
and right when it should have reached xsetup it would freeze or stall
I repeated this step like 5 times before grub stopped loading the grub menu after
rebooting.
don't know why grub gave up, but I shutit down for about 30 min, unplugged
cranked it back up and again did superuser vga=788 tce=sda1

great everything loaded fine and now at root terminal!
Mmmm....what to do?
Ah, copy tinycore_2.0 folders off usb, including 2 150MB tcvd's I have on the usb with
different apps etc, basically "flavors" ( http://multidistro.com/downloads/tc_flavors/tc_flavors.html )
note the flavors are for 1.4.3!! not 2.0!

ok, so copy tc off usb to hda1 which was already preformatted via dsl-n-rc4(which did load easier)
Rut-ro!
tc says it can't mount unknown fs no sqaushfs or something!:(
hmmmm, ok we'll re-format now
"mkfs.ext3 /dev/hda1"
bing!
"mount /mnt/hda1"
bing!
"cp -a /mnt/sda1/* /mnt/hda1"
bing!:)
alright, so using cp command I copy tc to hda1!!

Now, gotta edit menu.lst on hda1 and then install Grub.
so nano is my fav.
"nano /mnt/hda1/boot/grub/menu.lst"
bing!
so I edit menu.lst and here's my menu.lst for INITIAL boot; the * means I edited that out
after initally setting it!

title tc-2.0 hda1
kernel /boot/bzImage quiet xsetup* vga=788 desktop=jwm* restore=hda1/tce* tce=hda1 home=hda1
opt=hda1
initrd /boot/tinycore.gz

title tc-2.0 tcvd-VHD1
kernel /boot/bzImage quiet xsetup* vga=788 desktop=jwm* tcvd=hda1/vhd1 restore=tcvd/tce* tce=tcvd home=hda1 opt=hda1
initrd /boot/tinycore.gz

title tc-2.0 tcvd-VHD2
kernel /boot/bzImage quiet xsetup* vga=788 desktop=jwm* tcvd=hda1/vhd2 restore=tcvd/tce* tce=tcvd home=hda1 opt=hda1
initrd /boot/tinycore.gz

Now, install grub to hda1 I invoked grubster
"grub"
"root (hd0,0)"
it said ext2 something
"setup (hd0)"
bing! successful
"quit"

ok, now we're cooking with grease!
reboot!

wow, it reboots and my grub slpash pops up quick!
I choose first entry hda1
OK, boom, apps start loading and settings restoring and straight to xsetup
I choose 800x600 24 color w/ 2-button wheel mouse
BING!
my desktop loads great!
hah!

ok, so Imake sure evrything setup right and then backup to hda1 and reboot
this time I chose entry 2 for vhd1 tcvd
(NOTE that Xfbdev is only in hda1/tce folder, not in either tcvd)
uh-huh. the black screen again....?
damn it jim!
Oh, Xfbdev?
yep, now how to get Xfbdev to both tcvd's that won't reach X?
well, i didn't know how to download an Xfbdev.tce to both tcvd's...in the Dark (no X)

ok, cp command to the rescue!
first I hit cntrl+ c/cntrl + d to get back
at a prompt #
I then logged in as root
"sudo su"
 I then mounted the tcvd vhd2, as vhd1 was already mounted on /mnt/tcvd.
first making mount points
"mkdir /mnt/vhd1" (for future use)
"mkdir /mnt/vhd2"
ok, now I copied Xfbdev.tce and Xfbdev.tce.md5.txt to /mnt/tcvd/tce
"cp -a /mnt/hda1/tce/Xfbdev.tce /mnt/tcvd/tce"
Bing! I then cp'd the .md5.txt too

So, now I mounted vhd2 on /mnt/vhd2
"cd /mnt/hda1"
"mount vhd2 /mnt/vhd2"
And repeated above, coping Xfbdev.tce and md5.txt to vhd2.

Now, I have 3 different flavors of various apps in hda1 tce folder + vhd1 + vhd2
which are qemu-img raw virtual hard drives or whatever.
They are easy to make and tc mounts them as tcvd's and you can make them different sizes, etc
I use portable-qemu ( a combination of Billix-0.18 and dsl-embedded-4.4.10)
to make mine.

Now, dig this, I also have Portable-tc-2.0 on the usb as well, which is an exact duplicate
of everything on the usb but inside a 500MB partitioned qemu-img!!
I put the 2 vhd1/vhd2 tcvd's inside the 500MB partitioned vhd which I installed tc-2.0 to!
So, now I have real tc-2.0 on toshiba 700ct + virtual portbale tc-2.0 too!
screenshots here, my html sucks so some pics don't work!!?
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )
did that help anyone?
« Last Edit: June 13, 2009, 07:19:42 AM by linus72 »