Ubuntu – How to select server install from an Ubuntu boot CD with both desktop and server present

installationUbuntu

Hi I purchased 'The Official Ubuntu Server Book 2nd Edition' which comes complete with a boot CD labelled as 'Desktop Edition and 32-bit Server' (10.04 LTS). I can boot from the disc but I can't seem to get to the server edition, it only gives me the desktop installation screen.

The book is no help it just starts from the server install screen with no mention of the desktop edition. I want to create a LAMP server and I've found the boot: prompt but have no idea how to initiate the server install.

What command do I need to enter at the boot prompt to start the server install?

I've accidentally installed the desktop edition before I realised it wasn't server. Can I just install server from that?

EDIT: From the Desktop install screen I see this command;
file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/casper/initrd.lz quiet splash --

Examining the CD I've found the /preseed/ubuntu-server.seed file but switching to the boot prompt and entering the above command with the server seed didn't workas it tells me it can't find that kernel image.

EDIT: Opening boot prompt and then hitting return got me to the boot menu so I could press TAB to edit the commmands and see that I needed /casper/vmlinuz before the command. This attempted the install but it failed and I'm back at the desktop now trying to work out why the install failed.

Best Answer

It looks like the book comes with two disks: Ubuntu Server 10.04 LTS 64-bit CD, and Ubuntu 10.04 LTS 32-bit DVD. Could it be that you're using the wrong disk? If all else fails, you can always download and burn the disk yourself from Ubuntu's site.

EDIT: The book should have come with two disks according to the Amazon page for the book. The two disks are:

  • Ubuntu Server 10.04 LTS 64-bit CD, and
  • Ubuntu 10.04 LTS 32-bit DVD

If you bought this used, chances are that the original owner only included one of the two disks. Otherwise, you don't have the whole package. It is also highly doubtful that they put both the server and desktop versions on the disk, so I think you're trying to access something that's just not there.

Keep in mind Ubuntu Server and Desktop Editions are the same OS with different packages installed by default--there's nothing stopping you from installing the desktop edition and removing X11/Gnome/etc. to imitate the server edition.

EDIT2: To remove the desktop packages, you'll want to switch to a virtual terminal (Ctrl-Alt-F1, for example) and run the following:

apt-get remove --purge ubuntu-desktop
apt-get autoremove
apt-get install ubuntu-server

I believe these are the correct package names. The first command, removing ubuntu-desktop, should remove all your gnome dependencies. The next time you start up, the grub boot menu should now contain a server entry. As with any major changes, make sure you backup anything you can't stand to lose! :) Good luck, and looking forward to hearing how it goes.