Off-Topic > Off-Topic - Tiny Core Lounge

5th grade teacher - need help to bypass windows SystemCed problem - use TC?

<< < (3/4) > >>

samJohn:
Thanks Rich,
I appreciate that effort for such details - Next weekend, I hope to try putting those things in place - I'm sure I will get back to this forum since linux is not my strong suit.

I use "regcompactor", Page defrag and reg clean to compact the registry on the master laptop before I clone it.  I have used regscanner to see what is in the registry but because I have the registry working for 7 different computers at one time (clone the master and it works on Ibms, Hps, and Dells) and that is why it goes from 2,300kb new w2k intallation to 8,900kb (still under the 12 or so mb - to leave room for OS programs - up to 16mb total before crashing.)  I have had this problem where a computer works for weeks and then all of a sudden, a student powers it on and gets the systemced error.  When I take the disk out and usb it to look at the system file, it is 13,000+.  So it has gone from 8.9 to 13 in one session AND no device or software has been installed - the K-5th grade students can't get into the OS, file system or anything - power on goes automaticaly into my main program and no desktop - poweroff, is all they can do.

Can regscanner open a system file along with all other hives if they are greater than 16 mgs and windowos doesn't even boot?

(I can do) Copy the "good  system file to  E:\winnt\system32\config\system.good

(I can do) Copy  boot.ini  to  boot.windows. Edit it to include an entry for Tinycore.

(not sure the code) Copy  boot.windows  to  boot.tinycore. Edit it to default to the Tinycore partition.

(I can do that) Defrag the drive on the laptop to ensure there is empty space at the end of the drive.

(not sure - am I asked to include those) Boot the CorePlus CD and using the Apps tool, get the  gparted, ntfsprogs  extensions

(I can do) Shrink the partition to make room for another one, 100MB should be plenty.

(I can do) Use the install utility to install Tinycore to the new partition.

(Is that self evident) Reboot the CorePlus CD and using the Apps tool install  ntfsprogs  into the new partition.

(is it EXactly with numbers like below? and what do I use to edit it?  Is there an "Explorer" file program with TC? ) Edit the  /opt/bootlocal.sh  file to do the following:
Code:
1. Mount the drive containing boot.ini
2. Copy  boot.windows  to  boot.ini
3. Mount the drive containing  system
4. Copy  system.good  to  system
5. reboot

( where are the backup options) Click on the  Exit  icon, select  Reboot, make sure  Backup Options  is set to  Backup  and the text box underneath points to your new partition. Click OK.

(I can do) When Windows comes up, create a batch file that copies  boot.tinycore  to  boot.ini. Run the batch file. Then set it to run automatically every time Windows boots.

Since you list drive E: and I don't know whether C:, D: and E: are partitions on the same drive or different drives, (same physical drive with 3 partitions and E contains W2k)

I can't offer any suggestions on how they map to Linux drives. (do I need to map or mount them or can I just access them - C and D are Fat32 and E is ntfs - total of 5 gig on all.

Thanks

mocore:

--- Quote from: lverns on January 13, 2013, 06:18:12 PM ---@tinypoodle
    I'd suggest grub4dos. In theory, you only need to drop two files onto drive C: (a binary file named 'grldr' and a config file named 'menu.lst') and then add something like this to boot.ini

--- Quote ---C:\grldr="Grub4Dos"
--- End quote ---
Sadly, my experience with such a setup has been rather poor, but that would be one possible route to pursue. Still, grub4dos is my favorite bootloader.

--- End quote ---

for more detail   
  Grub4dos Guide , Loading/Installing Grub4dos From Windows
http://diddy.boot-land.net/grub4dos/files/install_windows.htm#windows1

it could even be possible from within a boot loader
http://reboot.pro/topic/17955-screengrab-in-grub4dos-shell/ (write to a file )
or
http://www.syslinux.org/wiki/index.php/Lua.c32 , tho i cant see any examples of file writing , i know little of lua

tho that me be going one step beyond   , i think with a few scripts , core.gz , u can fix win2k

then u have time to move from 2k to tcl  ;D


Rich:
Hi tinypoodle

--- Quote ---The one thing I don't understand is how TC could be booted or bootstrapped via boot.ini, if you'd care to elaborate a bit more in detail about that.
--- End quote ---
Install grub to the boot sector of the new partition (not the MBR of the disk). Use dd to copy the boot sector to a file
called grub.bin. Copy that file to C:\. Add an entry to the boot files that reads   C:\grub.bin="Tinycore Linux"
Create a  menu.lst  file in  /boot/grub  in the new partition to point to Tinycore.

Rich:
Hi samJohn

--- Quote ---Can regscanner open a system file along with all other hives if they are greater than 16 mgs and windowos doesn't even boot?
--- End quote ---
To the best of my knowledge, that 16MB limit is only a problem under W2K, so I don't think regscanner will have a
problem with the file size. From the regscanner page:

--- Quote ---Starting from version 1.40, you can search the Registry in a remote computer on your network.
--- End quote ---
That suggests that if you connect the drive with the borked system file to another computer, you should
be able to use  File->Open  and scan it. Best way to find out for sure is just try it.

Rich:
Hi samJohn
OK, I'll try to fill in some of the gaps.

--- Quote ---(not sure the code) Copy  boot.windows  to  boot.tinycore. Edit it to default to the Tinycore partition.
--- End quote ---
First off, it might be a good idea to use an 8.3 format for those file names, like  boot.win  and  boot.tcl. Your
boot.win file should look similar to this:

--- Code: ---[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(1)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Microsoft Windows 2000"
c:\grub.bin="Tinycore Linux"
--- End code ---
and boot.tcl should look similar to this:

--- Code: ---[boot loader]
timeout=5
default=c:\grub.bin
[operating systems]
multi(0)disk(0)rdisk(1)partition(1)\WINNT="Microsoft Windows 2000"
c:\grub.bin="Tinycore Linux"
--- End code ---

--- Quote ---(not sure - am I asked to include those) Boot the CorePlus CD and using the Apps tool, get the  gparted, ntfsprogs  extensions
--- End quote ---
If you have another tool for shrinking the partition, you can skip installing gparted and ntfsprogs.

--- Quote ---(Is that self evident) Reboot the CorePlus CD and using the Apps tool install  ntfsprogs  into the new partition.
--- End quote ---
Click the Apps icon on the desktop, click connect, scroll down to ntfsprogs and click on it. Click Go. Ntfsprogs is required
so you can read/write an NTFS disk using Linux. You will also need  dosfstools  and  mtools  for FAT support, and
grub-0.97-splash for the boot loader for the new partition.

--- Quote ---(is it EXactly with numbers like below? and what do I use to edit it?
--- End quote ---
Either click on the desktop then SystemTools->Editor  or  click on the terminal icon and enter:

--- Code: ---editor /opt/bootlocal.sh
--- End code ---
This should be very close to what you want:

--- Quote ---mount /mnt/sda1
cp /mnt/sda1/boot.win /mnt/sda1/boot.ini
mount /mnt/sda3
cp /mnt/sda3/winnt/system32/config/system.good /mnt/sda3/winnt/system32/config/system
reboot
--- End quote ---
This presumes that C:=sda1  D:=sda2  and  E:=sda3. I recommend you verify this. Open a terminal and mount all
three drives. and check the directory listing for each like so:

--- Code: ---ls /mnt/sda1
ls /mnt/sda2
ls /mnt/sda3
--- End code ---

--- Quote ---( where are the backup options) Click on the  Exit  icon, .......
--- End quote ---
All the options will be in the popup window.

--- Quote --- (do I need to map or mount them .......
--- End quote ---
Map may have been a poor choice of words on my part, drives/partitions get mounted under Linux.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version