All posts by HydTech

Accidentally pressed Ctrl-Z in a Linux terminal in Ubuntu Intrepid Ipex. What do I do now?

Today I was trying to upgrade my Ubuntu with sudo apt-get upgrade and accidentally typed Ctrl-Z while in the terminal and the upgrade stopped. After doing some research on this, here is what I found:

Pressing Ctrl Z in the terminal sends the process to the background causing it to pause until it is told to come back to the foreground.

Pressing CTRL Z in the Linux terminal

Pressing CTRL Z in the Linux terminal

Once the task is paused you can run another task and call the paused one later when it is needed. To check the paused tasks type jobs in the terminal.

To resume the process, you can type fg. If you have multiple tasks, then you type fg 1, fg 2 etc…

Resume task in terminal

Resume task in terminal

How to Convert .DMG files to .ISO using PowerISO

I recently came across a dmg image file that I needed to use, but the problem is that Windows does not support dmg. I tried to mount it using MagicISO, PowerISO and Alcohol %120 but none can mount the file. I found a great feature in PowerISO that lets you convert dmg to iso. Here are the steps.

1. Open the dmg file with powerISO
2. Goto Tools..Convert..
3. Select your source file
4. Select the destination file (It can be either iso, bin/cue, or daa)
5. convert

use powerISO to convert dmg to iso

use powerISO to convert dmg to iso

Dual, Triple, Quad Boot a Macbook with Mac OS X, Ubuntu Linux, Windows XP, and Windows Vista

In this  tutorial I will be showing you how to Quad boot your macbook with OS X, Windows Vista, Windows XP, and Ubuntu Linux.  You can leave out the OSes you don’t want or replace them with something else.  This is just a general but detailed guide for noobz!

QUADBOOT SETUP

We will be installing OS X from scratch so all your setting will be deleted. You might want to back up the data with Time machine or another backup software. Insert the OS X DVD and reboot the macbook holding down the C key.

QUADBOOT SETUP

Select your Language.

QUADBOOT SETUP

Before we install the OSes, we will partition the hard drive into 5 partitions.  Go to Utilities and click on Disk Utility.

QUADBOOT SETUP

Select the Hard drive on the left.  Mine has a 120GB drive.

QUADBOOT SETUP

Click on the partition tab and select 5 Partitions from the Volume Scheme.  Label them as follows:

1. Vista (MS-DOS FAT and atleast 10GB)

2. Storage (MS-DOS FAT and however much space you want as a storage location)

3. XP (MS-DOS FAT and atleast 7GB)

4. OSX (Extended Journaled and atleast 20GB)

5. Free space (Chose from the drop down.  will be used for our Ubuntu Linux)

QUADBOOT SETUP

Click on Options and make sure GUID Partition Table is selected. Hit Apply

QUADBOOT SETUP

Click Partition

QUADBOOT SETUP

Now we are going to Install our first OS.  Select the OSX partition and continue.

QUADBOOT SETUP

Install

QUADBOOT SETUP

You can skip the check if you know the DVD is in good condition and without scratches.

QUADBOOT SETUP

Your Installing your first OS. excited?

Be patient.  This will take a while.

QUADBOOT SETUP

Restart your computer.

QUADBOOT SETUP

It will ask you for the second Disc.  Insert the second disc.

QUADBOOT SETUP

Installation Complete!! now pat yourself on the back.

QUADBOOT SETUP

Once you setup your OSX with your settings, open up the safari web browser and goto http://refit.sourceforge.net/ and download the Mac disk image

QUADBOOT SETUP

downloading….

QUADBOOT SETUP

once the download finishes, double click the image and then on the installer to install it.

QUADBOOT SETUP

After rEFIt is installed, insert the VISTA disc and reboot holding the  C key.

QUADBOOT SETUP

Select language.

QUADBOOT SETUP

Install.

QUADBOOT SETUP

Accept the terms.

QUADBOOT SETUP

Custom (advanced)

QUADBOOT SETUP

Select the Vista partition and format with NTFS before continuing with Install.

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

After restarting, you will see the rEFIt GUI.  select the second partition to boot into VISTA.

QUADBOOT SETUP

Goto My computer.

QUADBOOT SETUP

select the CD/DVD drive.

QUADBOOT SETUP

Eject the CD and insert the OSX disc.

QUADBOOT SETUP

Select Open folder.

QUADBOOT SETUP

Go into Boot Camp folder.

QUADBOOT SETUP

click setup.exe

QUADBOOT SETUP

Continue to Install the BootCamp drivers.

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

Select No to restart.  We need to mark our XP partition as active first.

QUADBOOT SETUP

Goto Control Panel.

QUADBOOT SETUP

System and maintenance

QUADBOOT SETUP

Click ‘Create and format hard disk partitions’ under Administrative tools.

QUADBOOT SETUP

right click the XP partition and formate with NTFS.

QUADBOOT SETUP

QUADBOOT SETUP

QUADBOOT SETUP

after formatting is complete, right click the XP partition and mark as active.

QUADBOOT SETUP

Hell yes.  Now eject the OSX disc and insert the XP disc.

QUADBOOTING A MACBOOK

Upon entering rEFIt, select boot from CD.

QUADBOOTING A MACBOOK

Select partition 4

QUADBOOTING A MACBOOK

Let it do its thang.

QUADBOOTING A MACBOOK

upon restart, Boot from partition 4.

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

Awesome!! Now you have 3 OSes. Take a break.

QUADBOOTING A MACBOOK

In XP, goto my computer and eject the CD.  Insert the OSX disc.

QUADBOOTING A MACBOOK

Install Boot Camp drivers.

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

Select no to the restart.  Eject the OSX disc and insert the Ubuntu CD.  Now restart

QUADBOOTING A MACBOOK

Boot from CD.

QUADBOOTING A MACBOOK

Select language

QUADBOOTING A MACBOOK

Install Ubuntu

QUADBOOTING A MACBOOK

Select language

QUADBOOTING A MACBOOK

Pick your timezone.

QUADBOOTING A MACBOOK

Select USA – Macintosh for the keyboard.

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

Select the free space and click on new partition.

QUADBOOTING A MACBOOK

Now we will make a swap space for Linux.

Size: more than your RAM to be able to hibernate. My RAM is 2GB so I choose 2001MB.

Location: End

Use as: Swap area

QUADBOOTING A MACBOOK

Create another partition.

Size: Use the remaining disk space.

Location: Beginning

Use as: Ext3

Mount point: /

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

type in your username and password.  Don’t forget your password.

QUADBOOTING A MACBOOK

nothing to migrate.  so leave this blank.

QUADBOOTING A MACBOOK

Click on advanced and in the drop down box type in (hd0,2)

QUADBOOTING A MACBOOK

proceed normally

QUADBOOTING A MACBOOK

Restart.

Ubuntu will ask you to remove the disc and press ENTER.

QUADBOOTING A MACBOOK

You will come back to rEFIt

QUADBOOTING A MACBOOK

Start the partitioning tool.

QUADBOOTING A MACBOOK

Type Y to update the MBR.

QUADBOOTING A MACBOOK

QUADBOOTING A MACBOOK

Boot from the Linux partition

QUADBOOTING A MACBOOK

Boot into Vista.

QUADBOOTING A MACBOOK

You should get an error.  If you get this error, Follow the directions and enter the Vista CD. restart the computer and select Boot from CD from the rEFIt menu.

QUADBOOTING A MACBOOK

repair and restart.

QUADBOOTING A MACBOOK

now we want our Ubuntu to start automatically without waiting for a timeout when we select the Ubuntu partition, instead of showing us the Grub menu.  To do this, boot into ubuntu and open a terminal shell.

QUADBOOTING A MACBOOK

type sudo gedit /boot/grub/menu.lst

enter your password.

QUADBOOTING A MACBOOK

you will be presented with the grub configuration file in a text editor. change the timeout to 0.

Enjoy your QUAD BOOT MACBOOK !!!!

You can download this tutorial as a pdf here, but please give me credit.
Reliable Shared Hosting