Archive for the ‘Tech’ category

Successfully Dual Booting Windows 7 and BackTrack 4 with GRUB

March 10th, 2010

Warning: The is a more technical post. You have been warned.

Ever try and dual boot Windows 7 and Linux?

Here is the back story. I bought a Compaq Netbook. It came with windows 7, which was all fine and good until you want to do anything fun (ie using BackTrack 4 to pen test your wifi). So I used Unetbootin and created a BackTrack 4 live cd, then used their install script to create partitions and install Backtrack. This all went great. I p0wned some WEP, bla bla bla. So yesterday I am at a conference and I think to my self, “I should use Win 7.” Just at MS Bing’s Directory was stepping up to deliver his Keynote, the fail began.

Windows 7 apparently freaks out when it sees Grub and offers to help.

Then it pulls a suicide bomb maneuver where it reinstalls itself, deleting everything along with your GRUB (the dual boot lintch pin). So wanting my dualbootness back I re-up GRUB buy booting with a Live CD and doing the following:

find /boot/grub/stage1
- It tells you (hdx,y)
root (hdx,y)
setup (hdx)

And WERE BACK… to Windows not working… F…

So I investigate:

The problem is partially Windows and partially Grub. Windows 7 splits its boot loading across two partitions. So when GRUB says, “Windows 7 Partition GO!”, Windows thinks it’s files are missing and reverts to fail. So persevered through A) the desire to gratuitously slander MS for not playing nice with others, B) millions of restarts and C) metric shit tons of not so helpful forums and blogs. So what is the answer?

First we need to understand what partitions I had happening:

load up Linux and “fdisk -l”

/dev/sda1 (hd0,0) This is essentially windows “c” drive
/dev/sda2 (hd0,1) Not really sure
/dev/sda3 (hd0,2) The Win “Recovery” drive (Its A Lie… the Recovery part)
/dev/sda4 (hd0,3) Again labeled “System” but not sure
/dev/sda5 (hd0,4) BackTrack 4
/dev/sda6 (hd0,5) BackTrack 4 Swap

As I said ealier Winsuck 7’s bootloader is a little spread out, so you have to do some workaround crazyness. Your normal Windows GRUB entry would look like this:

root (hd0,4)
savedefault
makeactive
chainloader +1

Note: I have a partitioned drive so everything is on hd0. hd0,x x would be the partitions.

For Windows to boot you need to map the “c:” and the “Recovery” partitions together.

map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
chainloader +1

More Notes: I used “rootnoverify” but you might be able to use just “root”.

Once that was set up, the problem was solved. I now have a dual booting system using GRUB and booting to BackTrack 4 and Windows 7. Some people might tell you that you have to wipe you drive, reinstall windows then use windows to configure the partitions, obviously they are wrong. I still might shitcan Win 7 for Ubuntu, you never know.

iPad: Tablet PC or Reader?

January 28th, 2010

I came away from yesterdays iPad news with mixed feelings. A giant iPod touch? Hmmm…. Not sure that’s something I want. After all it lacked some of the features I thought it should have. But when I thought about it, I was wanting more of a computer and what they released if much more of a reader.

With that in mind I set out to evaluate it against the Barns and Noble Nook and the Amazon Kindle.

Barns and Noble Nook Amazon Kindle Apple iPad
Features Nook Kindle iPad
Screen 6″ E-inc/Color 6″/9.7″ E-inc 9.7″ of LED Backlit Apple Kick-ass-ness
Wireless Wifi/3G Wifi/3G Wifi/3G
Wireless Plan Free 3G Free 3G $15
Books Cost Around $9 Around $9 $15?
Book Store Barns and Noble Amazon Apple, and Probably Amazon and BN via their Apps
Interface Partial Touch Screen Buttons Multi-touch
Email Maybe Extra Oh Ya
Expandability SD Cards None None
Hackability Its running Android/Linux… I guess it can be done Steve Jobs is watching you
Other Things it Does Not Much Not Much Various other Multi-media, Games, Apps from the Apple App store.
Lowest Price Model $259 $259 $499

Conclusion: The iPad, although lacking free 3G, is a reader +. If you are going to buy a reader you should strongly consider the iPad. If you are looking for a small computer you should consider the MacBook Air or any one of the unwashed masses of netbooks.

I think its important to remember that Apple Steve was not looking to reinvent the laptop.

Tomorrow! Apple!

January 26th, 2010

Unless you actually live in a cave, or don’t have internet access (its really the same thing), you will have sensed that the intertubez are climaxing over the whole Apple tablet thing. Prepare for orgasm, unless there is no tablet in which case the internet will be seriously pissed off.

If I remember I will post where the best love blog is happening. Already a great bet will be FakeSteve.net.

Size Matters: Especially On WiFi Antennas

December 8th, 2009

I large part of my computer using life has been spend trying to get them to do things they were not designed to do. In high school we were breaking NT boxes. In college, messing with the schools firewall. Now I get paid to encourage search engines to like my companies site (I am a white hat if anyone is wondering). Now that I have my netbook set up with VMs all that was missing was the right wifi antenna and my mobile wifi auditor would be complete. At the recommendation of the guys over at Hak5 I bought the Alpha AWUS036H. Basically the word on the interwebz is this is the best you can buy.

Remember: just like with a gun, just because you have one does not make it ok to use it on other people. Play with your own set-up or ask your grandmother if you can practice on hers.

Remember (x2): You lock your doors and close your windows, so freaking password your wifi and don’t use Internet Explorer… Please god don’t use Internet Explorer.

World of Remote Blogging

September 14th, 2009

I just descovered the Wordpress app for iPhone. Look out blogosphere my goal of shorter, more frequent updates might become a reality.

Jaadu VNC for iPhone. Remote Control Computer from Your iPhone.

August 25th, 2009

Remote Viewing Desktop via Jaadu

Want to impress your friends and bore the crap out of your wife? I have got the app for you! Jaadu VNC allows you to remote control your home or office computer from your iPhone.

Warning: you need to have a little geek in you to a) want to do this b) understand the technology to get Jaadu VNC to work. If you feel like your home router is not that scary, this is easy.
» Read more: Jaadu VNC for iPhone. Remote Control Computer from Your iPhone.

iPhone 3G S Review

July 6th, 2009

A few weeks ago I posted about ordering the iPhone 3G S. Now that I have had some time playing with it I can give a bit of a review.

iPhone 3G S First Impressions
The first thing you notice, at least when upgrading, is a significant increase in speed. It seems like load times are significantly reduced. The iPhone does not multi-task, meaning it does not run multiple apps at the same time. On the S model switching apps feels like switching apps where on the original 3G it feels like closing one and opening another.
» Read more: iPhone 3G S Review

iPhone 3G S: Pre-Order

June 16th, 2009

iPhone 3G S

Just to prove how nerdy I actually am. I have pre-ordered a iPhone 3G S. To the average user the S upgrade might not seem like much, indeed if your are not an Apple geek the $99 iPhone will work great for you. However the new iPhone will offer a processor that is about twice as fast. It will also include a compass and the ability to record and edit video. The camera also receives a minor upgrade to 3 mega-pixles. I will post more once I have had a chance to play with it. The phone is released on Friday and my wife is very excited about lining up outside the store at 6:00 AM (note the extreme sarcasm).

» Read more: iPhone 3G S: Pre-Order