Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Converting/rebranding one distro to another

Linux Kernel, Network, and Services configuration.
Message
Author
User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Converting/rebranding one distro to another

#21 Post by GarryRicketson »

That's good, when I saw what you said about the grub "menu entry" I was going to comment that I didn't think it would effect the boot.
I still can't rest until I figure out where "Tanglu" is coming from when lsb-release is deleted.
Don't know,... What do you get if you run ? :

Code: Select all

locate tanglu 
or "Tanglu" , I would try both, the lower case and upper case T.
It might give you some clue,

RWIndiana
Posts: 136
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

#22 Post by RWIndiana »

Code: Select all

# locate Tanglu
/usr/share/python-apt/templates/Tanglu.info
/usr/share/python-apt/templates/Tanglu.mirrors

Code: Select all

# locate tanglu
/etc/tanglu-kde-default-settings
/etc/X11/Xsession.d/80tanglu-xmodmap
/etc/apt/trusted.gpg.d/tanglu-archive-keyring.gpg
/etc/dpkg/origins/tanglu
/etc/tanglu-kde-default-settings/directory-home
/etc/tanglu-kde-default-settings/directory-media
/etc/tanglu-kde-default-settings/hidden-media
/var/lib/dpkg/info/tanglu-kde-settings.list
/var/lib/dpkg/info/tanglu-kde-settings.postrm
/var/lib/dpkg/info/tanglu-theme-kde.list
/var/lib/dpkg/info/tanglu-theme-kde.postrm

Code: Select all

# cat /etc/dpkg/origins/
debian   default  tanglu   
root@Confluence:/etc# cat /etc/dpkg/origins/default 
Vendor: Tanglu
Vendor-URL: http://www.tanglu.org/
Bugs: http://tracker.tanglu.org/
Parent: Debian
root@Confluence:/etc# cat /etc/dpkg/origins/tanglu 
Vendor: Tanglu
Vendor-URL: http://www.tanglu.org/
Bugs: http://tracker.tanglu.org/
Parent: Debian
root@Confluence:/etc# cat /etc/dpkg/origins/debian 
Vendor: Debian
Vendor-URL: http://www.debian.org/
Bugs: debbugs://bugs.debian.org
root@Confluence:/etc# rm /etc/dpkg/origins/tanglu 
root@Confluence:/etc# cp /etc/dpkg/origins/debian /etc/dpkg/origins/default 
root@Confluence:/etc# lsb_release -i
Distributor ID: Debian
Well then . . . that did it! Thanks!

Obviously there's some cruft files left over that should be purged, but now I can sleep. Very cool.. Thanks ya'll for putting up with me, hopefully you don't feel this was a waste of your time.

RWIndiana
Posts: 136
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

#23 Post by RWIndiana »

stevepusser wrote:From what I remember, there were at least a couple other files in /etc that could be hiding Tanglu. You could look for a file with version in the name in that directory, or start doing a recursive grep in that folder for the "tanglu" string. Rpl in the repos is a cool terminal command that goes through any numbers of text files and replaces strings with one of your choice, so maybe you can turn that loose on your whole root directory and replace the string with "Debian".

Hey thanks, I did find a few more things that way. :)

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: Converting/rebranding one distro to another

#24 Post by Thorny »

Rod,

You only posted one of the GRUB files I mentioned.
RWIndiana wrote: ... Although /boot/grub/grub.cfg is back to saying "Tanglu".
We still haven't heard exactly where on the GRUB boot menu you see Tanglu.

But. you don't need to post the whole thing!

For example my menuentry line is:

menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1156556c-394f-4917-b146-ac896aad7cbf' {

Does yours look like that, or something similar, or something different?

Is it on the menuentry line when the menu choices are presented at boot that you see Tangu?

Did you ever answer if you are using stock Debian kernel or not? Or, maybe I forgot to ask that question.
RWIndiana wrote:Thanks ya'll for putting up with me, hopefully you don't feel this was a waste of your time.
Rod, I'd guess that anyone still participating wouldn't feel like it was a waste of time. It's pretty much what we are here for and successes are always satisfying. Collaborating with people who think is satisfying.

RWIndiana
Posts: 136
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

#25 Post by RWIndiana »

It used to say this:

Code: Select all

menuentry 'Tanglu GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ec358438-b9cc-4f0e-a689-5fd2a1b15d5a' {
But, with changing the /etc/dpkg/origins/default file (or creating a custom lsb-release which apparently overrides that file), it now says:

Code: Select all

menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ec358438-b9cc-4f0e-a689-5fd2a1b15d5a' {
I do believe I have the stock kernel:

Code: Select all

# apt policy linux-image-amd64
linux-image-amd64:
  Installed: 4.14+89
  Candidate: 4.14+89
  Version table:
 *** 4.14+89 500
        500 http://ftp.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status

User avatar
Thorny
Posts: 542
Joined: 2011-02-27 13:40

Re: Converting/rebranding one distro to another

#26 Post by Thorny »

So I assume, you no longer see Tangu at the GRUB menu. Great, it seems your issues are solved.

It has the potential of helping others with similar issues if you prepend [Solved] to the subject line of your original post.

Nice working with you and future good luck.

RWIndiana
Posts: 136
Joined: 2005-09-30 17:44

Re: [SOLVED] Converting/rebranding one distro to another

#27 Post by RWIndiana »

Done, and thanks again!

Post Reply