WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: handling multiple tinycore.gz files?  (Read 3698 times)

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
handling multiple tinycore.gz files?
« on: February 21, 2009, 09:23:46 PM »
Let's assume for a minute that someone (no names mentioned, 'cause it's me) has remastered tinycore.gz beyond the point that he had originally intended, and now there's no way to boot that particular system into a clean state with which to test extensions.

Is it possible to add a clean tinycore.gz file to the same boot partition, with another name, so it could be used as a testing system?  Wouldthat require a new initrd, or just a new grub entry?

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: handling multiple tinycore.gz files?
« Reply #1 on: February 21, 2009, 09:44:49 PM »
I haven't tried it but replacing the grub line

initrd /boot/tinycore.gz

with

initrd /boot/tinycore1.gz

should work if those are the respective names of your initrd files.  Say tinycore1.gz is a copy of the clean initrd and tinycore.gz is the remastered, whichever is which.

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: handling multiple tinycore.gz files?
« Reply #2 on: February 21, 2009, 09:59:10 PM »
sorry, when I asked if a new initrd would be needed, i meant a new kernel file (bzimage).  I thought maybe the bzimage points specifically to tinycore.gz

In any case, i'll try just adding a new grub entry to point to a second tinycore.gz and see how that works.

Thank you.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11048
Re: handling multiple tinycore.gz files?
« Reply #3 on: February 22, 2009, 05:26:16 AM »
It's entirely on the bootloader to load an initrd. Using a different name and grub entry should do just fine.
The only barriers that can stop you are the ones you create yourself.

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: handling multiple tinycore.gz files?
« Reply #4 on: February 22, 2009, 05:58:43 AM »
Yes, it worked, thanks.

I tried this earlier and it failed to find init.  I assumed, since I had just renamed tinycore.gz, that that was likely the problem.  It didn't occur to me at the time that since I was experimenting with remasting that the remaster might have been messed up =o)