WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Dual installation in one filesystem of TCL 2.x and TCL 3.x  (Read 2528 times)

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
Dual installation in one filesystem of TCL 2.x and TCL 3.x
« on: July 20, 2010, 06:47:32 AM »
Hello,

For bug hunting and regression testing, I want to create an installation with options to boot both, 2.x and 3.x. Going for a different kernel and initrd is no problem, but is there a recommended way to keep the two "tce"-directories apart from each other, even if they are stored on the same filesystem?

Greetings,
SvOlli

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #1 on: July 20, 2010, 07:02:18 AM »
Hello,

For bug hunting and regression testing, I want to create an installation with options to boot both, 2.x and 3.x. Going for a different kernel and initrd is no problem, but is there a recommended way to keep the two "tce"-directories apart from each other, even if they are stored on the same filesystem?

Greetings,
SvOlli

My practice is to keep /tce /tce27 /tcexfce4 directories on a HD ext3 partition and boot system from USB stick defining tce directory with boot option. I have different USB sticks with 2.11, 3.0, etc to start different systems, but all data are stored on HD, including backup, no persistent home used.

It works fine for testing different versions, have different development environment, etc.

It is not dual, it is multiple :)
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #2 on: July 20, 2010, 12:55:58 PM »
It would be nice to be able to use a boot code like:

Code: [Select]
tce=LABEL=GREENFOB3/tce3.1rc1

Where GREENFOB3 is the label of my USB stick and it could contain several different tce directories for various versions.

Is there an easy way to do something like this that I am missing?  If not, is this something that could be worked into a future version?
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline richardh

  • Newbie
  • *
  • Posts: 17
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #3 on: July 23, 2010, 07:19:47 AM »
I currently have separate grub entries:

Code: [Select]
kernel /Tiny/boot2/bzImage ... tce=sda3/tc2
and

Code: [Select]
kernel /Tiny/boot3/bzImage ... tce=sda3/tc3
and these work fine side-by-side.

One problem I did have however was when I tried
Code: [Select]
tce=sda3/Tiny/tc3 did I make a mistake somewhere or is the tce= directory required be to be in the root directory (i.e: not within a sub-directory)?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #4 on: July 23, 2010, 07:36:02 AM »
One problem I did have however was when I tried
Code: [Select]
tce=sda3/Tiny/tc3 did I make a mistake somewhere or is the tce= directory required be to be in the root directory (i.e: not within a sub-directory)?

No, deeper directories should work as well. Just did a test with tce=fd0/adir/bdir, worked ok.
The only barriers that can stop you are the ones you create yourself.

Offline richardh

  • Newbie
  • *
  • Posts: 17
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #5 on: July 23, 2010, 11:22:20 AM »
Interesting. I have a busy weekend, but I'll try to investigate that further. I'll report back any conclusions in case it helps anyone.

Offline grisxa

  • Newbie
  • *
  • Posts: 27
Re: Dual installation in one filesystem of TCL 2.x and TCL 3.x
« Reply #6 on: July 28, 2010, 05:00:50 AM »
I currently have separate grub entries:

Code: [Select]
kernel /Tiny/boot2/bzImage ... tce=sda3/tc2
and

Code: [Select]
kernel /Tiny/boot3/bzImage ... tce=sda3/tc3
and these work fine side-by-side.
Works for me as well.