Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ezee on June 29, 2010, 06:29:53 PM

Title: where is /boot
Post by: ezee on June 29, 2010, 06:29:53 PM
i installed TC per the instructions as a vm in vmware player.  works great...

where did all the stuff in /boot go that was made during the install?  I'm trying to customize my grub splash screen...can't find /boot anywhere

do I need to create a sep partition for /boot in order to access it from inside tc?
Title: Re: where is /boot
Post by: limeblack on June 29, 2010, 07:21:52 PM
Using terminal or a file manager go to /mnt/

In there you hard drive should be listed   :)

For example on my computer I type the following commands into terminal

Quote
cd /mnt/

This makes the terminal travel to the mnt directory
mnt stands for mount.  Although it seems like this should be obvious it took me a while to figure this out.       :D
Then I list all avaliable devices in the mnt directory using this command.
Quote
ls -a
The Terminal typically spits back
hdc(cdrom)
hda1(my hard drive)
You then type in "cd <foldername>" to travel iinto the folder.
 :D So in my case I type in the following.
Quote
cd hda1
Then I type in this to list all of the follows on my hard drive
Quote
ls -a
I again get all the files and folders I can view
My terminal spits back
boot
tce

From their you can drob a .xpm splash image into /mnt/hda1/boot/grub
and edit the menu.lst with with vi

If your hard drives name is hda1 Here is one line that will travel to /mnt/hda1 and list all the folders and files in mnt/hda1/
Quote
cd /mnt/hda1/;ls -a

I hope that helps  ???  If not feel free to ask another question  ;D
Title: Re: where is /boot
Post by: ezee on June 29, 2010, 08:02:21 PM
yep...there it is!

is that normal to put /boot inside /mnt like that, or is it a tc thing?
Title: Re: where is /boot
Post by: maro on June 29, 2010, 11:08:08 PM
I'm afraid I felt the urge to add a few small points as clarification to the otherwise obviously helpful explanation provided by limeblack:


So if the content of a storage device is not immediately available via '/mnt/...' one will need to check that the device is mounted and that the file system in question is supported (which might require the installation of an extension as precondition).

Edit: I guess the '/boot' directory is in the "root" of your storage device (e.g. '/mnt/hda1/boot'). It is indeed a widely used convention to put the kernel (i.e. 'bzImage') and the initrd (i.e. 'tinycore.gz') into such a '/boot' directory on a disk. But this is not mandatory so other options exist, as long as the boot loader (e.g. GRUB) is aware of where to find those files.