Expert installation of Debian Squeeze from a Lenny mini.iso

This tutorial helps walk through the complicated Debian 'expert' type boot process. Due to a bug in the Squeeze installer, we are forced to boot from a Lenny mini.iso and perform a network installation.

First, let me apologize. I'm not a photographer. But hopefully these pictures will help you understand what you need to do.

Step 1

Type 'expert'. Or, like it says, if you have video problems, try 'expert video=ofonly'.

Step 2

I usually skip keyboard selection and choose the language and jump right to 'Detect network hardware'.

Step 3

Every time it asks to start PC card services I just choose 'yes'...

Step 4

... I enter nothing here yes and select 'continue'. Sometimes, if I don't things don't load.

Step 5

After Detection, we can configure the network using DHCP. Be sure your ethernet cable is plugged in.

Step 6

Choose eth0

Step 7

and a mirror near you.

Step 8

After a few moments it will ask you what flavor you want. This was the whole purpose of doing this type of installation. Because Squeeze has a yaboot bug in its installer we cannot use the Squeeze installer itself. Using this 'expert' booting method we can choose to install Squeeze from a Lenny installation. Trust me, it is true.

Step 9

After picking our mirror we are now going to start getting some components for our installer.

Step 10

I don't pick anything here, I just go to 'continue'.

Step 11

Getting stuff...

Step 12

Now you can see that we have a lot more stuff in our main menu. We can start to install the OS now.

Step 13

Do you need any more languages? Probably not, just continue.

Step 14

Detecting disks.

Step 15

Again the PC card services, just do it.

Step 16

*gasp* Partitioning disks!!

Step 17

If you want to do a dual boot, or some fancy disk partitioning, then you will need more help than this tutorial offers. One thing to note is that you need at least 5Gb for the Linux system. Yaboot needs its own partition and then you gotta satisfy OF (Open Firmware) so it's best to just do the "Guided - use entire disk". If you are adamant on doing a dual boot, I suggest you do some further research! This method will however do all of the work for you.

Step 18

Once you select entire disk it asks you to pick the disk. Notice SCSII is the flash drive that I used to boot the installer. Pick whatever IDE and hda you have.

Step 19

Here is where you can get fancy. I suggest you pick "Separate /home partition" so in the event of a OS crash you can still recover your data.

Step 20

This is how the installer will setup your hdd. Complex, huh? Aren't you glad you didn't do a dual boot or something else complex. Finish and continue.

Step 21

Last chance to back out. Of course, why would you have gone this far?

Step 22

Poof, now the drive is wiped and the new partitions are getting written.

Step 23

Only now can we choose the base system.

Step 24

After a little while it will ask what kernel you want to use. Frankly I don't know what smp or vserver is. Pick the one I have highlighted: linux-image-2.6.32-5-powerpc.

Step 25

Installing stuff.

Step 26

I choose to install all drivers. I don't think it'll inflate your modules enough to notice any problems, and this will limit the chances of NOT having a driver. Either way, I doubt it'll make much difference though.

Step 27

Here is an interesting warning. But don't worry. That driver gets replaced with the mintPPC 9.1 install script. So don't worry about it and continue.

Step 28

This blurry pic says "Set up users and passwords".

Step 29

Shadow means encrypted and you should pick yes.

Step 30

I like to log in as root. Some see this as a security risk. I see it as smoke and mirrors security, but that is a debate for another document. Do as you wish here. It will not affect sudo.

Step 31

Configuring the packages to be installed.

Step 32

Choose yes for non-free.

Step 33

Do not select volatile.

Step 34

This blurry pic says "Detect and install Software"

Step 35

This doesn't really matter. I re-install my OS so much for testing that I choose "No". It wont have any effect on the installation process.

Step 36

I pick no here.

Step 37

On my iBook, these are the selections that were made for me. This isn't what we want.

Step 38

We want to uncheck "Graphical desktop environment". I like to check SSH server in the event that the system boots, but the video doesn't function due to some driver or configuration error. The ssh server will give you a method to get in. "Laptop" should be checked if this is a laptop system. "Standard system utilities" should always be checked.

Step 39

Like this! After making these selections it will install stuff for some time.

Step 40

We will begin installing the boot loader (yaboot). Whatever it says here is correct provided you didn't do a manual partition (above). If you did, then you gotta remember where you put your boot partition. If you followed this tutorial, then the installer knows best.

Step 41

Provided everything went well, you should now we able to boot into the new system. Joy!

Step 42

Wait! What is this? I thought we were rebooting? What is this clock stuff? Well, don't skip it. Choose "Yes".

Step 43

Ahh, finished at last.

Your new Debian Squeeze system will reboot to a command line login. This is where you begin to install the MintPPC system using the mint-installer script.

Hopefully Debian gets the Squeeze yaboot bug fixed soon so we can all go back to using installation CDs.

Return to the installation instructions for MintPPC 9.1.