True Stories of Knoppix Rescues 335
Omniscientist writes "We've all been there: Our system is on the edge of death and we need to either fix it or retrieve important data that still remains hidden away in its dying clutches. LinuxDevCenter has a funny article on a heroic tale of a sysadmin relying on Knoppix to save the day. I for one, always make a boot disk in case of problems, but Knoppix can turn a bad day into a good one for just about anyone. Perhaps every administrator should have a Knoppix CD on reserve."
I once saved the day with Knoppix (Score:5, Interesting)
Mepis may be a better choice (Score:2, Interesting)
Knoppix used to save WIn98 (Score:3, Interesting)
She's gotten a new laptop since then, one which runs WinXP. But she's now a Firefox fanatic; she even asked for a Firefox T-shirt for Christmas. I'm so proud. Now if only she'd let me dual-boot her machine.
Re:Damn Small Linux (Score:3, Interesting)
I've used Knoppix to recover data from a WinXP box with locked-down security--my fiancee's OS bit it when she installed XP SP2 and the files were restricted to her account, so I put a spare HD in her machine and copied over all of her data using Knoppix (which conveniently ignores Windows security settings). Then we did a full reinstall from scratch--no data loss at all.
Re:I once saved the day with Knoppix (Score:5, Interesting)
cut a long story short... how the heck do you install a USB key drive onto a win98 system that has no internet connection and the driver files are only to be found on the USB drive that win98 recognises as new hardware, but won't actually scan it for the drivers as it hasn't allocated it a drive letter yet... well, Knoppix saved the day and allowed me to get the drivers copied off to a fresh directory on her hard drive so that win98 could then find them...
She now wants me to set it up dual boot for her as she was mightily impressed with how far Linux has come in the few years since she last played with it (Mandrake 7.2)
My dead drive (Score:5, Interesting)
I built a brand new system and took that drive out and put it into another XP system as a slave....no problems at all. Then we had a power failure. I have 9 computers in my house, many with several drives, every system was fine, with the exception of that one drive. XP decided that this drive was no longer formatted.
I took my lumps from the wife and began to look into data recovery. I tried SalvageNTFS [salvagentfs.com], ScroungeNTFS [memberwebs.com] and a demo [ontrack.com] from OnTrack. I forget the actual status that each tool reported but suffice it to say that none of them were successful and I just moved on. I did keep the drive though. A few weeks ago I stuffed it into what is to be a new webserver and put in a knoppix live cd. *poof* got everything back...every photo was recovered.
Can't explain it, but I'm keeping a Knoppix CD in my box of tricks from now on.
What "Knoppix Hacks" Didn't Include (Score:3, Interesting)
The trick is, after you rsync the /cdrom directory to the master directory (see the book), cd to master/boot/isolinux and edit the isolinux.cfg file. Put your favorite cheat in the first APPEND line.
This worked for Knoppix 3.4 and up. Don't know about earlier versions.
Re:Knoppix used to save WIn98 (Score:2, Interesting)
-Lucas
System Rescue (Score:3, Interesting)
HOWTO: Recovering the root Password (Score:5, Interesting)
After NOT agreeing to the vendor's plan and showing him the door, the MB asked me if I could "crack into it" (yes, he actually used the right term). So... Knoppix to the rescue!
The following procedure worked well:
* 'mount' the HDD's main partition, rw
* From a shell prompt, enter 'su -' (in Knoppix this just drops you in, with no p/w required)
* Change the root passwd
* Make a backup copy of HDD's
* Copy the line for the root user in the Knoppix
* Paste it into the HDD's
* Profit.
Also noted that there were no users created (the vendor had been logging into Gnome as root to do everything). So added an user account with sudo 'ALL=(ALL) ALL' rights, etc., etc.
It was a strange way to find a new customer
Re:Damn Small Linux (Score:3, Interesting)
----------------
There is a very handy little tool called the Metropipe Virtual Privacy Machine [metropipe.net] that fits nicely on a 128MB USB drive. You pop it into a computer that is booted into Windows and can bring up a virtual machine running a tiny version of Linux, complete with GUI, web, email, etc. There is even a tool included that opens up an encrypted tunnel to Metropipe, bypassing any proxy servers or web filtering that may be in place on your network. The entire OS remains on the USB drive, leaving no temporary Internet files or other traces behind. It is nice to have if you commonly walk into restricted or monitored networks and want some privacy. The tools might also include a file browser so that you can bypass local NTFS security, but I haven't looked. I know that Knoppix (sp?) can do similar things, but this does not require a reboot or access to BIOS to allow booting of a CD ROM. It only requires that the USB is active.
The site includes download links.
One More Important Thing (Score:4, Interesting)
(i.e. When you go to mount the HDD from Knoppix, it looks like a bunch of garbage and Knoppix refuses to mount it).
Live-cds need lossless re-patitioning tools. (Score:1, Interesting)
to seemlessly dual-boot along with win98/2k/etc.
Its really curious how they still rely on old MS-DOS
utilities and assume Win-usage to get alot of maintenance tasks accomplished.
Re:The obviousness (Score:3, Interesting)
I messed up my MBR once, back when I was dual-booting Linux and WinNT. Had to type the hex in manually (I found it in a book) before converting it to binary and dd'ing it back onto the disk. I was surprised myself when that worked. Since then I've always kept a copy of it on hand, Just In Case...
Re:Knoppix - a lifesaver (Score:3, Interesting)
What would be killer is if there were a Linux-based program that would scan a Windows file system for viruses and remove them, for those times that you don't have a hidden copy of the system.
Re:I use it on crapped on WIndows boxes too.. (Score:3, Interesting)
I don't know what procedures you may have tried but if you suspect hard drive failure then the best thing do is use something like dd_recover to copy off as much of the partition as possible and then use filesystem repair tools on a copy of that. Of course, this presumes you have twice as much free storage space as the afflicted partition laying around.....
Re: GRUB Hack To Boot Windows 2000 (Score:2, Interesting)
His wife had booted a partition magic cd and accidently moved the windows partition over, causing a new partition to be created at the beginning of the disk. For some reason, partition magic wouldn't move the damn thing back.
Apparently, a DOS/Windows MBR always tries to boot the 1st partition. So when booting the machine, all we were getting were "no bootable disk" errors...
But, I had an idea.
I booted a knoppix cd and created a c:\grub directory. I copied grub files to it and configured a menu.lst to boot the 2nd partition, (where Windows 2000 was stuck at). Lastly, I installed grub to the MBR. After I rebooted, the grub boot menu came up with the "Windows 2000" option I had created. I hit enter and it loaded Windows 2000!
My colleague had no idea what I had just done, but was happy otherwise and no longer mad at his wife.
-Joe
Re:I agree, but... (system design) (Score:3, Interesting)
Better yet, don't put anything valuable on the same computer that boots/manages the operating system...
Sounds to me like you're using vmware for no good reason. You could, quite easily, install all your programs (and libraries, and headers, etc) into a directory, in some arbitrary location on your hard drive, and just copy that directory from system to system.
I also can't see how your method could possibly be any good, because under vmware, you're going to be running yet another OS anyhow, so now you have two OSes running on top of each other, and twice as much that could go wrong. Where's the advantage, I don't see it?