![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Location: Paris
Beans: 123
The Feisty Fawn Testing
|
We will delete Mac OS X as we don't use it often enough and install Ubuntu its partitions in order to take advantage of the entire disk's space. This is not a multi boot setup.
You will be able to boot Mac OS X and/or Windows XP from an external hard drive (with a GUID Partition Table) in order to update your hardware firmwares, etc. (Not covered here for the moment) You will need : - MacBook Mac OS X Install Disc 1 (Might not be necessary after all, see hereunder for more details) - Ubuntu 6.06 LTS (aka Dapper Drake) - The MacBook itself (duh!) - A patched version of the GRUB boot loader (provided here) *** 1) First you will boot using the MacBook Mac OS X Install Disc 1. Press C on system startup. You will then launch the Disk Utility and select you hard drive. You will click on the Options button and change GPT (GUID Partition Table) to the MS-DOS partition table. We save the change (We don't care about the partition setup for now, the default is OK). Update: This first step might not be mandatory as you can convert the partition table to MD-DOS type from gparted using the Ubuntu Dapper Drake LiveCD. It would need to be tested. If it doesn't work restart from step #1. 2) Restart the computer and now you will boot using the Ubuntu LiveCD. Press C on system startup. In Ubuntu, simply launch the Installer as you would do in a normal installation. Partition your drive as you wish and there is no need to keep your HFS volume. Since we change the partition table to an ms-dos type we won't get any error and the installation process will complete normaly (GREAT!) 3) When finished, set the active partition. You can use parted : Code:
sudo parted print (no flag?) set (enter the partition number) boot on print (check the boot flag!) quit Code:
sudo mkdir /mnt/ubuntu sudo mount /dev/sda1 /mnt/ubuntu/ sudo mount -t proc none /mnt/ubuntu/proc sudo mount -o bind /dev /mnt/ubuntu/dev sudo chroot /mnt/ubuntu Code:
unzip grub_0.97-1ubuntu10_i386.zip dpkg -i grub_0.97-1ubuntu10_i386.deb Code:
grub-install /dev/sda FYI, I guess it would be possible to install Mac OS X on an external drive that has a GPT partition table but I can't test it tonight! Also note, the patch was taken from there. And I applied this patch to the package myself using the Ubuntu source package and this simple but great howto. It was my first time doing so! Use at your own risk. Last edited by Entity; August 15th, 2006 at 05:50 AM.. |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() |
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
Sounds really cool but its destructive to OSX. That's fine if you only want ubutnu but the OSX environment is also really cool.
|
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Location: Sydney
Beans: 26
Hardy Heron (Ubuntu Development)
|
Wont let me download the file
For some reason i cant download that file at all. Keeps saying im not logged in. :/
|
|
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Location: Sydney
Beans: 26
Hardy Heron (Ubuntu Development)
|
Re: Wont let me download the file
Quote:
Also i followed your guide and it work perfectly! Hopefulyl they will add official support to ubuntu for intel macs. I have it running on an Intel MacMini 1.666ghz |
|
|
|
|
|
|
#5 | |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Location: Paris
Beans: 123
The Feisty Fawn Testing
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
Quote:
You would still be able to boot Mac OS X and/or Windows XP from an external hard drive that has GUID Partition Table (Partionned with the OS X Disk Utility) in order to update your hardware firmwares, etc. That is what I will do because I need those GB! |
|
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Mar 2006
Beans: 27
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
Edit: nevermind, you have to click on the "partition" tab, and then change the options before you partition it.
I don't know what you mean when you say in step 1 to click on the "options button" on the Apple Disk Utility. I have no option button. Thanks, and good riddance to OS X! Last edited by jedsen; August 24th, 2006 at 08:51 PM.. |
|
|
|
|
|
#7 |
|
Spilled the Beans
![]() Join Date: May 2006
Beans: 9
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
i manged to get through the whole walk thru, everything happened as it should (after hunting for the right places).
reboot.. (sorry dont have it infront of me right now.. so not 100% sure) comes up with something about starting stage 1.5 then it comes up with GRUB installing please wait (i think thats it) and does not move any further, was like that for a good 10min, had to leave so not sure if its still like that now. but it shouldnt take that long should it? only thing i could think of is i ran the .deb file (because i couldnt find where it was in command line) but that came up ok, nice little installer program, and seemed to install it ok. Last edited by blot0; August 27th, 2006 at 12:03 AM.. |
|
|
|
|
|
#8 | |
|
A Carafe of Ubuntu
![]() Join Date: Mar 2005
Location: Paris
Beans: 123
The Feisty Fawn Testing
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
Quote:
|
|
|
|
|
|
|
#9 |
|
Spilled the Beans
![]() Join Date: May 2006
Beans: 9
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
yeah.. i figured out what i did wrong.
i wasnt chrooted into the hdd system when i did it. did it over again when i got home and all works good now... except when i reboot.. if i reboot. when it starts up again it just has a black screen rather then coming up with the grub stuff and loading linux. i have to shutdown and then boot up for it to work. bit strange, but not to much of a hassle, boots rather quickly. just need to figure out how to get wifi working now. i run a wpa network so its a little trickyer i'm reading. and people having issues with wifi in the latest 686 kernel with SMP |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2006
Beans: 22
|
Re: HOWTO: Install Ubuntu on a MacBook and use GRUB to boot.
I apologize for my ignorance, but could someone explain how exactly I would "convert the partition table to MD-DOS type from gparted using the Ubuntu Dapper Drake LiveCD"?
I would really appreciate it, as I am now surviving solely on the Live CD. On an unrelated note, it seems the installation error only occurs if I've updated GRUB. Of course not updating it makes the installation a moot point... |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|