General TC > General TC Talk

Get APPS with no internet on TC laptop? Load APS on boot from auto-mounted USB?

<< < (4/28) > >>

grandma:
tried changing onboot - seems to work well

grandma:
got dual boot working with GRUB by modifying menu.lst

I can boot up with Windows, or click TC0, TC1,
TC2, etc. and each one will go try to load Tiny Core from
various partitions.


#######################################
# Tutorial on naming of partitions:
# MENU.LST WINDOWS/DOS     LINUX
# hd0,0       C:\        /dev/hda1
# hd0,1       D:\        /dev/hda2
# hd0,2       E:\        /dev/hda3
#######################################

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies /ntldr
chainloader /ntldr
savedefault --wait=2

title TC0
root=(hd0,6)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC1
root=(hd0,1)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC2
root=(hd0,2)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC3
root=(hd0,3)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC4
root=(hd0,4)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC5
root=(hd0,5)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC6
root=(hd0,6)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC7
root=(hd0,7)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title TC8
root=(hd0,8)
kernel /boot/bzImage tinycore
initrd /boot/tinycore.gz
boot

title commandline
commandline

title back to dos
quit

title reboot
reboot

title halt
halt



Save MENU.LST to your hard drive and you are almost done. The
last step is to modify BOOT.INI and add a few characters to the
last line.

BOOT.INI is a hidden file, also in your C:\ root (W2K and XP).
For 95/98 there are other techniques for changing your boot
sequence, and for Vista and Windows 7 its a bit more difficult:
you have to download a utility from Microsoft to edit the boot
sequence (another restrictive MS technique), or find a free
third party software developer offering the utility: a few are
out there.

For W2K and XP users its a lot easier.

1. Go to the command prompt - Start-Run-CMD-Enter

2. Type C:\

3. Type START BOOT.INI

4. Notepad should open with a file that looks something like this:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

5. Add this line.

c:\grldr="GRUB Tiny Core"

6. Save the file, exit notepad and type EXIT at the DOS command prompt and reboot.

Juanito:

--- Quote from: grandma on April 09, 2011, 11:39:18 PM ---2. Used File Mgr - click SET right side - and saw it pop in left panel

/mnt/sda2
/mnt/sdb1

--- End quote ---

Note that your usb stick will not necessarily be assigned the same drive name each time you boot, which is why we recommend to use a label or uid to identify your usb stick.

One poor boy way to identify which drive letter corresponds to your usb stick, is to look for the boot file bzImage using a file manager.


--- Quote ---I selected /mnt/sda2 since that is the USB port the drive is in now (earlier I was using sdb1)

Closed that - closed all windows - click SHUTDOWN - BACKUP - checked folder for backup on shutdown screen - got /mnt/sda2/tce

--- End quote ---

Once you locate the correct drive letter for your usb stick, if you manually create the /tce folder tinycore will find it automatically after that and use it for extension and backups by default.


--- Quote ---goto ?sr0? is that correct?

--- End quote ---

sr0 is usually for cd drives - does your machine have one?

grandma:
Thank you Juanito - that worked.

Juanito:

--- Quote from: grandma on April 10, 2011, 11:47:53 AM ---p.s. I am still eager to get Perl working. That will solve so many problems for me.

--- End quote ---

Just load the perl5 extension I gave the url for a couple of posts ago..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version