?

Log in

No account? Create an account
Hard Disk Upgrade... - a bug's thoughts [entries|archive|friends|userinfo]
The Love Bug

website | Dave Lee
userinfo | livejournal userinfo
archive | journal archive

Hard Disk Upgrade... [Oct. 13th, 2008|09:10 pm]
The Love Bug
[Tags|, , , , , ]
[Current Mood |ecstaticecstatic]

Following on from this post from last week, my new 250GB hard drive arrived this afternoon.

Thus follows the simplest hardware upgrade I have ever had to perform.

  • Connected the 250GB using an external HDD caddy (with 2.5“ drive adapter)
  • Used gparted to partition the new drive
  • Booted laptop from LiveCD
  • dd‘d the data from /dev/sda1 (100GB) to /dev/sdb1 (250GB)
  • Ran fsck to fix the filesystem size
  • Edited /etc/fstab to put UUID’s in
  • Put 250GB into laptop, and rebooted
  • When nothing happened, I remembered that I’d forgotten to sort out grub
  • Booted laptop from LiveCD again
  • Installed grub into MBR
  • Rebooted laptop from HDD
  • Fell off my chair when it worked
This means that I can now send the laptop back for repair with the old 100GB hard drive in it... and I don’t really care whether they trash it or not, as I’ll be putting the 250GB back in when I get it back! It’ll still be interesting to see if they do wipe it.

Chuffed? You could say that! :o)
LinkReply

Comments:
(Deleted comment)
[User Picture]From: thelovebug
2008-10-13 09:35 pm (UTC)
Yeah, well they know where they can stick that! ;o)
(Reply) (Parent) (Thread)
[User Picture]From: rayefrenzy
2008-10-13 10:30 pm (UTC)
I actually had that problem with my first laptop. the mobo was so hot it burnt out the powercord, and they said it was because of ubuntu. *eyeroll*
(Reply) (Parent) (Thread)
[User Picture]From: rayefrenzy
2008-10-13 10:31 pm (UTC)
Well, good luck. Five dollars says it comes back with windows installed on it.
(Reply) (Thread)