help multi boot same partition 2 live images tiny linux different versions
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
help multi boot same partition 2 live images tiny linux different versions
Hello
i have this situation:
i want to boot 2 live images of tiny linux from same partition
each of them have files: kernel initrd and a squash.bin which need to be in folder "tiny" on this partition; how to do it?
i cant rename tiny i cant rename squash.bin
i can specify in grub the kernel path and initrd path but i dont know what to do with squash.bin
thanks for help
Did you try booting them directly from your Grub2 as iso images? Might work but I'm not sure about Tiny Linux.
Or have you extracted them both to the same directory named tiny? Don't see how that would work if both have the same directory names and file names. Is there a syslinux.cfg or isolinux.cfg file? If so, then modify the entry to fit Grub parameters.
Another possibility is to create a sub-directory for the 2nd version of tiny and put its files there.
The information you posted isn't enough to do more than give general informatoin. You would need to post the output on ls on the tiny directory at least.
thank you for answer
i have them in different folders but only one will work if the folder name is "tiny"
there is not an iso . each of them come with 4 files (commands initrd kernel and squash.bin) . i cant put them in same folder; if i rename sqaush.bin it will not find it at boot
i use grub to point to kernel and initrd path and the files "commands" and "squash.bin" need to be in folder tiny on the desired partition and it is booting ok
problem is that only one it will work on an partition
i have tried to do 2 folders tiny1 tiny2 ; if folder tiny dont exist with squash.bin it will not boot
i have tried to rename files squash.bin and squash1.bin only one version will boot.
for kernel and initrd i can rename files or the folder because i can point path in grub. only for squash.bin i have the problem
I checked some files I have on menuentries to boot iso files and Tiny will boot from an iso. Since you don't have an iso, not much point in posting that. Are you doing this for any particular reason, is it a class assignment or just a curiosity? Where and how did you get the files you reference as Tiny as well as other Linux systems generally come as an iso file and then of course, can be extracted if desired. An extracted TinyCore iso will generally have 2 directories (boot and cde) and the boot directory will contain the kernel, a core.gz file and isolinux directory. I don't see any and squash.bin in the version I downloaded.
I don't think renaming the various files you have will work. Have you tried putting the 4 files you have in the root of the partition and then creating a directory named tiny and putting the 4 files from the 2nd instance of Tiny in that directory?
Could you post the menuentries for both instances?
I had a similar problem years ago with distributions with the same directory/file structure from an iso. If you have the same directory and file names in the root of the system, obviously this won't work as copying the 2nd instance will overwrite the first. Also, I found that some systems required the directories and files to be in the root of the partition while others could be in a directory in that partition.
Yes i have 2 versions of tiny that come like this (no iso) and they have some pre-installed programs that i need.
I will try to putone of them on root of partition
Not sure what you are referring to? Also, the directories/files you indicate you have for your extracted Tiny are not the standard directories/files for Tiny Linux.
Quote:
i have them in different folders but only one will work if the folder name is "tiny"
Could you clarify what you mean by that? Do you mean when you have a directory named tiny and another named tiny1 or tiny2?
Quote:
I will try to putone of them on root of partition
So where are they now? In a sub-directory? Of what? You could try creating a directory named tiny in the / of that partition and copy the 4 folders/files you have there, Then create another directory with a different name, may name it linux and create a tiny sub-directory there and copy the 4 folder/files there and modify your Grub menuentry. This should eliminate the problem from your earlier post copied below.
Quote:
i have tried to do 2 folders tiny1 tiny2 ; if folder tiny dont exist with squash.bin it will not boot
Since this is not a standard Tiny (different folders/files) you might ask the people you got it from for a solution.
Quote:
i want to boot 2 live images of tiny linux from same partition
The above quote is from your initial post and the important word there is "want". Some Linux distributions extracted and booted in this manner need to have specific folder or file names and they need to be in a specific location, often in the / of the directory. THis is true of distributions such as Ubuntu and its derivatives which all have the same named folder/files when extracted so only one will boot from the / of the same partition. Sometimes creating a sub-directory on the partition will work.
Simplest solution since you indicate you 'want' to do this, create 2 small partitions, one for each Tiny. THe problem isn't with putting any number of extracted Linux iso's on the same partition, it is putting the same OS in the same location on the same partition.
"Not sure what you are referring to?"
I mean how the kernel know to search for tiny directory on root of partition. Tha name "tiny" should be declared somewhere in a config file or something
I mean how the kernel know to search for tiny directory on root of partition
It doesn't. You need that in the grub.cfg file of whatever OS you are booting from and the files you have for tiny all need to be in the tiny directory.
Hello please help me to calculate the NCR value for all nodes in the tcl file using awk.. where the NCR value is
NCR = ((P-R)/P)*100%
where
P-> Get Route Request
R-> Not send Route Reply
R = P – Q
Q->Reply Route Request
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.