MinimalInstall

Differences between revisions 17 and 18
Revision 17 as of 2010-10-24 21:44:09
Size: 7941
Editor: phillw
Comment:
Revision 18 as of 2011-03-30 00:43:17
Size: 7937
Editor: phix
Comment: Rewording to clarify section intent -- hope I got it right.
Deletions are marked like this. Additions are marked like this.
Line 51: Line 51:
The installation of Grub will go onto the USB device, continue on with the instructions, when you re-boot you need this device plugged in. If you are using a USB device to install Lubuntu, continue on with the instructions. When you re-boot you need this device plugged in.

The graphical installation system (Ubiquity) requires more RAM than lubuntu needs to run. If you have less than 160MB RAM (or 192 MB if it is 'shared graphics') you cannot use the graphical installation, you will also find this minimal installation method faster if you have less than 256MB RAM than using the standard install method. Please be aware that your system may seem to 'hang' (stop) at about 90% (dpkg), it has not; it just takes a little time (up to 90 minutes).

Minimal Install

As you are going to be issuing commands with root access, please do read Safely Issuing Commands.

Firstly you need to install the minimal ubuntu iso; click on mini.iso on the listing 32 Bit Mini Iso to download it. If you are sure you have a 64Bit system and you want the 64 Bit kernel, you can use the 64Bit Mini Iso [See note 1]. For i586 machines such as VIA C3, AMD K6, National Semiconductor and AMD Geode, then you will need to use the 10.04 mini-iso avaiable from 10.04 32 Bit Mini Iso

If you are using a USB device to install the system e.g. Unetbootin created USB Boot stick, please check the USB section for additional notes. They are not needed if you are using a CD / DVD installation.

A couple of notes on the minimal installation:

  1. You need an ethernet connection
  2. At the "boot:" prompt, press the Enter key.
  3. Select "Command Line Install".
  4. Select your language & country/territory.

  5. Detect your keyboard layout. (You will be asked to press some keys.)
  6. Specify hostname for your system. (For use on the network.)
  7. Choose your archive mirror for downloading the base system from.
  8. Partitioning - Most will simply want 'Guided - use entire disk'. [See note 2] for other options.
  9. Updates - Select 'No Automatic Updates' [See note 3].
  10. Let it install Grub onto the disk. [See USB].

Other than that, just answer the questions as you are asked. Once you have the minimal install running and have signed in we can add the lubuntu part of it.

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:lubuntu-desktop/ppa
sudo apt-get update
sudo apt-get install --no-install-recommends lubuntu-desktop
sudo apt-get dist-upgrade
sudo apt-get autoclean
cd /var/cache/apt/archives
sudo rm *

The last command removes all the install files for lubuntu, you can safely ignore an error message that says that partial is a directory.

sudo reboot

When the computer restarts sign on with the user you set up via mini-install.The team are working on a minimal installation cd. (See USB section for additional tasks if installing from USB).

Head over to Update Lubuntu to get the latest updates for your new system then return if you have a problem with your wired network not being seen.

Notes

  1. For how to burn an iso, Burning an ISO has details on the programmes and instructions (Use something like 4X write speed), there is a screen cast for using xfburn at Burning CDs/DVDs (using XFBurn)).

  2. For options on partitioning: Partitioning with Ubuntu

  3. Lubuntu does not use Automatic Updates at present.

USB

If you are using a USB device to install Lubuntu, continue on with the instructions. When you re-boot you need this device plugged in.

When the computer restarts, use the grub menu to select the top Ubuntu choice on the menu (this should already be highlighted).

  • Log in to lubuntu using the name and password you set up
  • Click on http://phillw.net/img/pcmanfm_icon.png to start pcmanfm.

  • On the left of the window you will see something similar to

http://phillw.net/img/pcmanfm-1.png

(in the example above, XENVO is the usb device, the icon for it shows it is a USB device, where as 10.04 shows as a hard disk).

  • Right click on the usb device and select Eject Removable Device (The phrase may vary, but it is the one that means un-mount and forget it).
  • Unplug the USB device.
  • Close the PCManFM window.
  • Start an LXTerminal session.

df

should show the Filesystem column to have dev/sda listed and Mounted On show /, e.g.

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda7             20161172   2916568  16220464  16% /

The number at the end of dev/sda does not matter. If, and only if, it has /dev/sda on the line with / then:

sudo grub-install /dev/sda
sudo update-grub

Those commands put grub onto the hard drive and then ensure grub takes account of any other operating systems you have (such as if you are dual booting with windows). As you only have the terminal window open and nothing else running, it is one of the few times where

sudo reboot

is both safe and the easiest way to reboot the computer.

Head over to Update Lubuntu to get the latest updates for your new system then return if you have a problem with your wired network not being seen.

Unmanaged Wired Network

If Network Manager reports that your ethernet (wired) connection is un-managed, or you don't see the Network Manager applet icon at all, there are two solutions possible detailed below. Feel free to choose any.

The technical details may be found in Debian Wiki and this bug description.

Edit /etc/network/interfaces

Start an LXTerminal session, then issue:

sudo /etc/init.d/networking stop
gksudo leafpad /etc/network/interfaces

Remove or comment the two lines under "The primary network interface". You should get something like:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface -- or you can completely remove this line --
#auto eth0                      -- or you can completely remove this line --
#iface eth0 inet dhcp           -- or you can completely remove this line --

Save and Quit.

Get back to LXTerminal and issue:

sudo service networking start
sudo service network-manager restart

After a short while you should see "Connection established" message above the Network Manager applet tray icon.

Change Network Manager settings

Start an LXTerminal session, then issue:

gksudo leafpad /etc/NetworkManager/nm-system-settings.conf

In section [ifupdown] find the line managed=false and replace it with managed=true. Save and quit.

Get back to LXTerminal and issue:

sudo service network-manager restart

After a short while you should see "Connection established" message above the Network Manager applet tray icon.

Lubuntu/DocumentationHelp/MinimalInstall (last edited 2012-03-05 15:28:37 by chrisdruif)