Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: manit123 on March 13, 2013, 12:25:42 AM
-
I installed grub at MBR of my USB stick
/boot/grub/menu.lst reads
default 0
timeout 3
title tiny core
root (hd0,0)
kernel /boot/vmlinuz
initrd /boot/core.gz
It seems mydata.tgz stored in USB stick does not get loaded .
ALso , I end up with a prompt in which 'df' does not show any partition (/mnt/sd##) mounted.
Also /etc/fstab shows my hard disk NTFS partition as sda5 while USB as sdb1.
Please suggest ?
-
Use an ext3 filesystem, and have a tce directory on it.
Please read the persistence articles in the wiki.
-
Hi manit123
Try:
kernel /boot/vmlinuz waitusb=5
-
I will see if adding 'waitusb=5' option in kernel helps.
to gerald_clark
My USB stick has fat32 . Should I create tce folder on it containing mydata.tgz ?
-
Hi manit123
You should definitely have a waitusb on the kernel line.
Should I create tce folder on it containing mydata.tgz ?
You said in your original post:
It seems mydata.tgz stored in USB stick does not get loaded .
If it wasn't in the tce directory, it won't be found.
-
Otherwise use boot code "restore=".
-
I added waitusb=10 in kernel line of grub menu .
Also copied mydata.tgz to tce directory of USB . Now it gets mounted.
Actually I have noticed that tiny core drops me to a terminal when I boot from USB stick a computer having internal SATA hard disk.
Anyone encountered this ?
Currently I have made a workaround with script pointed by .ashrc which gets run as 'tc' user before OS drops me into prompt.
-
Hi manit123
Does the SATA drive happen to have a /tce directory? If you don't specify a tce= on the kernel line, Tinycore will
scan the computer looking for /tce and use the first one it finds.
-
to rich,
No . internal hard disk has a 900 GB extended ntfs partition with no tce folder.
-
Hi manit123
Boot the USB stick on a machine where it boots normally. Find the UUID of the partition containing your /tce
directory by entering:
blkid /dev/sda1
Change sda1 to where your tce directory is. Add the following to your kernel line:
waitusb=30:UUID="77f3e5df-806f-480c-b6cc-905cb3132753" tce=UUID="77f3e5df-806f-480c-b6cc-905cb3132753"
replacing the UUID values with the one returned by the blkid command.