Categories
Linux Tips

Creating LIVE CD out of existing Linux installation

If you have been working with Linux for long enough time, you must have came across this question… “I have setup my Linux exactly the way I need it, now how do I replicate same setup in someone else’s computer?” or even better, “It would be great if somehow I can make LIVE CD out of my current setup”. This is more or less like what you would do using Sysprep but on steroids Smile for Linux. I ran into this situation recently at work where I have to make bootable ISO (read live CD) out of existing Linux machine.

After initial struggling with my web searching skills (or may be it was my refusal to use Google for search… I am using DuckDuckGo), I found that there are in fact more than few tools available that do just that! I decided to give try a tool that made sense to me (which can be totally different for anyone else) is called Pinguy Builder. This tool is only for *buntu family. It is simple to use tool with decent GUI and ability to use shell interface…. win win for me. Following is what I did to create copy of my Linux installation in Live CD form so I can distribute it for my purpose. Depending on your *buntu version you need to download required version. Download page has more details about what version is needed for what version of OS, so I am not repeating that here.

Install DEB package as you would normally install any DEB package. Once it is installed you can start program by looking up for “Pinguy Builder” shortcut (or via shell). For first run you should see screen like this…

Categories
How To Windows

Amazing world of dependencies !!

It has been while since I posted anything. Mainly not because I was not learning anything new, but it is because I am not getting enough time nowadays (or in other words, I just got a life now :D). But then I realized that time and time, I like to read my old post to fix some really odd issue and if I don’t keep record of troubles I had in past, I might forget them again. So I decided to find time to write often… it’s my new mid year resolution :D… lets see if I stick to this or not.

Recently I was playing with Windows 2016 Server in our test environment as part of testing it’s viability for our application suite. And so if you have ever worked with .NET Framework project you know that sometimes it can be royal pain to work if there is a version difference between Framework you have installed and Framework project is expecting.

Something like that happened with me in this case too. I need to have Framework 4.0 and Win 2016 has 4.6 installed by default. So against my better judgment, I decided to uninstalled .Net Framework 4.6 from system. It did let me uninstall it just fine but when I rebooted system, it failed to start Server Manager because guess what !! It was depending on .NET Framework 4. So I thought OK, I can download installed from Web and install it using that. But nooooo, since it’s part of OS now you can’t run installer and install framework from there. So I had catch 22 case. I can’t install .NET Framework from installer because it’s part of OS (and you have to use server manager) And you can’t start server manager for installation because you need .NET Framework 4 !!

Dependency

Categories
Windows

Unable to allocate XXX MB of RAM error in Hyper-V

So… after trying Windows 10, I ran into first annoying issue which seem to have no solution at this point.

Main reason I wanted to upgrade to Win 10 (not sure if I had choice since MSFT is literally forcing everyone to upgrade to Win 10) was to try Hyper-V. I am running at any given time @ 3 VMs together and my laptop has 8GB of ram so it has no issue running all of them together.

But today I was getting odd error when I tried to start VMs for something. Exact error was like below,

HyperV

Categories
Babbling

Upgrading to Windows 10 Pro

Finally I gave up and upgraded my Windows 7 Pro to Windows 10 Pro. I resisted upgrade to 8 and 8.1 mostly because when I tried them in my new laptop I was not impressed at all. Worse, I lost my faith in MSFT. It was mostly because user experience for me was just terrible. I am more in favor of OS with less clutter and less GUI heavy… and Windows 8 was opposite of it.

 

What I like: After playing with Windows 10 preview, I was genuinely impressed. I liked that MSFT has replaced metro desktop with good ol’ start menu, even if it is not same as old one but to me it is still more functionally useful than metro. More control over update and more option for privacy settings. Most good feature for me was inclusion of Hyper-V server in Professional edition. This relives me from using 3rd part hypervisors (read Virtual Box Smile). And another useful feature for me was PS 5 with WMF 5.

 

Categories
Babbling

Antivirus for XP

So it has been ages since MSFT has ceased support for once great operating system Windows XP. But some lucky few still have no choice to use it because of some legacy app they just can’t get rid of Or people like me who are still using Windows 7 and use XP in …err… XP Mode. In my case, I use it purely for support purpose. Being software engineering sometimes we get to work in level 2 – 3 support requests and I really hate to install 3rd party vpn or remoting applications in my workstation. In this situation, this XP Mode is life saver 😀 …

Recently I had to connect to some customer over vpn and one of the requirement for that network is that client needs to have antivirus installed in it. This being my VM for support, I never thought that I would want to install AV in it. So I was Googleing for AV software that can be installed on XP and natually I thought that I would want to use MSFT Security Essentials because it’s very light weight (how good it is at protecting things is totally different story). But to my surprise, I found that XP is not supported by MSFT, instead it suggested that I upgrade to newer OS !!

Categories
Oracle Tips

TNS Protocol Adapter Error in Oracle

I like to spend time with Oracle DB just as much time I spend with SQL Server, but we exclusively use SQL Server at our work so I am not getting enough time with Oracle anymore. And another reason is it with Oracle there are way too many variable to consider when you are troubleshooting something. So when couple of days back when I boot up my VM of Oracle, I ran into this strange error and I was genuinely surprised to find how minute the cause could be.

So, this how the story goes …. after booting my VM, I started SQL PLUS utility (it is kind of SQLCMD equivalent of SQL Server, it is CLI to access Oracle DB to be exact). When I was asked to provide login credentials, when I provided ‘em I was greeted with following error message,

ERROR:

ORA-12560:  TNS: protocol adapter error

 

Oracle_11g_error

Categories
BI Visual Studio

Odd installation of SSDT BI on x64 bit system

Visual Studio 2008 full installation had always included Business Intelligence Development Studio (BIDS) with it. But for whatever reasons MSFT decided to skip that part in VS 2010(may be because there was no major release SQL Server during that time) and it was missing for very long time till release of next major SQL Server release aka.. SQL Server 2012. Even at that point there was no BIDS or similar tool set available in VS 2010/12 till MSFT released SQL Server Data Tools BI Studio for VS 2012.

So after I got VS 2013 edition installed on my system I was trying to install SSDT BI for VS 2013 so I can play with it on my new VS. But to my surprise, when I started installation it failed on a step where it check for pre-requisites with error about having different architecture which is understandable since I am using x64 bit system. So I looked for 64bit installation for SSDT BI and found that there is no such installation !!