Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 07-18-2005, 03:59 AM   #1
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Fighting every step of the way, but I won!

I noticed when browsing that SATA disks had dropped seriously in price since I last looked. So, I bought one. (That's acceptable logic for a geek, right? )

Wasn't sure which chipset support I needed, Nvidia or Silicon Image, so I compiled both in as a module prior to installing the disk. So when I booted, the disk was recognised flawlessly. Time to transfer my distro over to SATA: I partitioned the drive & all was well.

Now, time to copy. Obviously, I don't want to copy the files over from an active root partition, so I'll need to do it from another distro. No problem, I've got an old Slackware install that'll do fine.

Or would have, had I not deleted its kernel a while ago. *sigh*

Okay, fine, I'll use the DSL CD. Which doesn't recognise the SATA disk.

Right, big guns time: Where's my Knoppix 3.9 CD?

Knoppix (of course) recognises all my hardware just fine. But refuses to let me write to any of my HD partitions. Read-only access. Grr.

What the Hell, I've been meaning to try a Knoppix hard drive install. And I don't need that Slackware partition any more. Go for it, Knoppix! Installed it, rebooted. Up pops Grub, and I suddenly realize I have no idea what boot options to pass it to get Knoppix to load.

So I mount the partition as root and go exploring the /boot partition for the grub.conf file Knoppix installed itself. Find it, cat it, pass grub the options, boot into Knoppix. Woohoo. Time to copy my Gentoo files onto SATA.

It takes a while, but less than I'd expected due to the high-speed SATA writing. Eventually, everything's copied over. I update the SATA disk's fstab, edit Grub to have a "SATA Gentoo" option and reboot.

SATA Gentoo promptly kernel panics: Can't locate the root partition.

After the screams of frustration die down, it occurs to me that I've done a silly thing that I've told newbies not to do on multiple occasions before: I've compiled support for my root partition as a module, when of course it needs to be built into the kernel. (Otherwise you get Catch-22: Modules residing on the root partition, and the root partition being unreadable until the module is loaded.)

So I boot into my normal IDE Gentoo, recompile the kernel with SATA support built in properly, reboot, and it fails again.

Then I realize I made another simple, daft mistake: I copied the new kernel to my IDE /boot, when of course it needs to be on the SATA /boot. I'm still using a kernel without SATA support.

One last boot into the IDE Gentoo, I copy the kernel across, and reboot one final time. Because this time, it works. Flawlessly. My Gentoo distro, running 100% off SATA. At long last, a successful distro transplant.

hdparm reports a speed increase, Firefox loads in ~2.5 seconds instead of the usual ~3.5 seconds (it was faster before I installed a bunch of extensions) and even Doom3 savegames take less time.

So, despite it fighting me at every single step, I now have everything running nicely off a noticeably faster hard drive. It's making the case a degree or two hotter than it used to be, but I think I can fix that.

Normally, adding a hard drive wouldn't make for a success story, but after the fight I had with this one, I thought it merited it

(The method I used to copy the partition contents, by the way, can be found at the bottom of this webpage)

Last edited by oneandoneis2; 07-18-2005 at 04:05 AM.
Old 07-18-2005, 06:39 AM   #2
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
Excellent stuff. Glad you didn't give up. We always like good news stories!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 10:43 AM
Step by Step guied for Installation pent@net Dvb card under linux mobassir Linux - Networking 4 06-07-2006 07:31 PM
I need a step by step help to instal Suse 9.3 Pro on the same hdd as XP Home & 2003 suse91pro Linux - General 4 09-07-2005 01:15 PM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 12:50 AM
Installing Mandrake Linux 10, step by step tutorial for Windows users lucat Linux - Newbie 0 06-12-2004 06:03 PM > Forums > Linux Forums > Linux - General > Member Success Stories

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration