PDA

View Full Version : [ubuntu] Ubuntu on iMac <USB>



LunaMacNoob
August 31st, 2012, 10:20 AM
I want to install Ubuntu Desktop 12.0.4 on a dead iMac. The iMac has no OS installed into it. The only access I have is through an uncompatible OS X Snow Leopard DVD. This gives me access to Disk Utility and terminal (although the terminal will not recognise the sudo command).

I would like create a USB installer (not cd at all costs, as I have no access to CDS at this time). By installer, i want it to install onto my internal HD off my USB.

I do not have access to another apple computer. I do have access to a machine running Windows 7

Help would be mega appreciated

Lars Noodén
August 31st, 2012, 11:08 AM
Which kind of iMac? Does it have an Intel processor or a PPC? That will determine which image you download and put on your USB stick.

LunaMacNoob
August 31st, 2012, 11:38 AM
Which kind of iMac? Does it have an Intel processor or a PPC? That will determine which image you download and put on your USB stick.


http://www.everymac.com/systems/apple/imac/specs/imac-core-2-duo-2.0-20-inch-aluminum-specs.html
Intel

Lars Noodén
August 31st, 2012, 11:47 AM
Ok. You can use the AMD64 or AMD64+mac images.

Here are some instructions for making a bootable USB stick using Ubuntu, OS X or other. I hope they work for you, I've had mixed results myself lately:

https://help.ubuntu.com/community/Installation/FromImgFiles/

LunaMacNoob
August 31st, 2012, 11:54 AM
Ok. You can use the AMD64 or AMD64+mac images.

Here are some instructions for making a bootable USB stick using Ubuntu, OS X or other. I hope they work for you, I've had mixed results myself lately:

https://help.ubuntu.com/community/Installation/FromImgFiles/

I can't use the Mac tutorial ecause terminal doesn't recognise the sudo command
If I follow windows instructions, will it boot on iMac

Lars Noodén
August 31st, 2012, 11:57 AM
I can't use the Mac tutorial ecause terminal doesn't recognise the sudo command
If I follow windows instructions, will it boot on iMac

What about a plain su - instead? And then working without sudo. It's been a while so I cannot remember what the terminal is like on the installer DVD.

LunaMacNoob
August 31st, 2012, 12:10 PM
What about a plain su - instead? And then working without sudo. It's been a while so I cannot remember what the terminal is like on the installer DVD.

So I type in su-*dd*if=/path/to/downloaded.img*of=/dev/rdiskN*bs=1m

Lars Noodén
August 31st, 2012, 12:33 PM
I'm looking at the Terminal utility in a Snow Leopard installation DVD and it looks like you can bypass the sudo / su stuff and just work directly with dd.

There are a limited number of shell utilities provided so you may have to use the graphical Disk Utility program to figure out which device your USB stick is using.

LunaMacNoob
August 31st, 2012, 12:46 PM
I'm looking at the Terminal utility in a Snow Leopard installation DVD and it looks like you can bypass the sudo / su stuff and just work directly with dd.

There are a limited number of shell utilities provided so you may have to use the graphical Disk Utility program to figure out which device your USB stick is using.

Could you explain these steps in detail please?

I'm a mac noob:/

Lars Noodén
August 31st, 2012, 12:53 PM
It would take a while and not a small amount of effort to write up and there are already many other guides to creating bootable USB sticks for Ubuntu installation. Can you winnow through some of the available guides until you find one that works for your situation?

LunaMacNoob
August 31st, 2012, 12:56 PM
It would take a while and not a small amount of effort to write up and there are already many other guides to creating bootable USB sticks for Ubuntu installation. Can you winnow through some of the available guides until you find one that works for your situation?

None of these work without sudo or some mac program. I've searched for hours

Lars Noodén
August 31st, 2012, 01:14 PM
I've looked further at using the Snow Leopard install DVD and run into a dead end: how will you get the disc image? No web browser on the DVD, not even curl or wget. So you will need another machine.

What systems do you have available? Apparently no OS X but maybe you have an Ubuntu machine or something else?

LunaMacNoob
August 31st, 2012, 01:19 PM
I've looked further at using the Snow Leopard install DVD and run into a dead end: how will you get the disc image? No web browser on the DVD, not even curl or wget. So you will need another machine.

What systems do you have available? Apparently no OS X but maybe you have an Ubuntu machine or something else?

i have a windows 7 laptop that i can get the image off. I can put that on one usb and burn it to another usb

Lars Noodén
August 31st, 2012, 01:23 PM
Then that's what we're stuck with. I don't use Windows so I wouldn't know if the old guide still works for Vista7. But there are quite a few:

http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows
https://help.ubuntu.com/community/Installation/FromUSBStick#From_Windows

I hope these help. The basic steps ought to be the same.

LunaMacNoob
August 31st, 2012, 02:25 PM
Then that's what we're stuck with. I don't use Windows so I wouldn't know if the old guide still works for Vista7. But there are quite a few:

http://www.ubuntu.com/download/help/create-a-usb-stick-on-windows
https://help.ubuntu.com/community/Installation/FromUSBStick#From_Windows

I hope these help. The basic steps ought to be the same.

i followed the steps, success!
tried alt-booting on imac
woulnt pick usb up as bootable
picked up in disk utility but on information, botable: no

help?

Lars Noodén
August 31st, 2012, 02:35 PM
What about using the open firmware. When the iMac is powered on, press cmd-opt-O-F (all four at the same time) until you get a prompt. Cmd is the 'historical marker' symbol. Then at the prompt try the following.



boot usb1/disk@1:2,\\yaboot


If usb1 does not work, try usb0. That's my last guess.

LunaMacNoob
August 31st, 2012, 02:46 PM
What about using the open firmware. When the iMac is powered on, press cmd-opt-O-F (all four at the same time) until you get a prompt. Cmd is the 'historical marker' symbol. Then at the prompt try the following.



boot usb1/disk@1:2,\\yaboot


If usb1 does not work, try usb0. That's my last guess.

nothing happens when i hold down the keys

Lars Noodén
August 31st, 2012, 02:52 PM
It only works when the machine is just starting to boot just as it is turned on. It may take a few tries to get into Open Firmware.

LunaMacNoob
August 31st, 2012, 03:11 PM
It only works when the machine is just starting to boot just as it is turned on. It may take a few tries to get into Open Firmware.

doesnt boot into open firmware

final question, if i burn the iso for ubuntu mac onto a cd using a windows disk burner, will it boot on my iMac

Lars Noodén
August 31st, 2012, 03:18 PM
(Booting to Open Firmware has been tricky for me, but with persistence I have been able to get it to boot.)

Windows claims to do lots of standard things but then when push comes to shove actually implements variations that are subtly incompatible or broken. Hence the infamous "embrace, extend, extinguish" strategy. There's no telling how they handle CDs/DVDs unless you actually try it and see for your self whether it works or not. I do hope it works for you.

Note, many of the Ubuntu images are now oversized and no longer fit on a CD or CD-RW. In those cases, you'll have to use a DVD (or a reusable DVD-RW) or else turn to smaller distros like Lubuntu and load the rest from the network.