Here’s a brief overview of what you need and need to do to complete this;
1. One Windows based (XP/2000) to host TFTP Server, network enabled
2. One PC to have Ubuntu installed on to, with Intel PXE Boot capability
3. DHCP & TFTP Server (download Tftpd32 (http://tftpd32.jounin.net/) (freeware)
4. Download Ubuntu netboot.tar.gz (http://archive.ubuntu.com/ubuntu/dists/edgy/main/installer-i386/current/images/netboot/)
5. Live Internet Connection preferably via xDSL (broadband)
6. If you have a ADSL modem “router” with DHCP enabled, then you must temporarily disable the DHCP. You will only have a “router” if you have the capability to run more than one PC on your home network.
Setup your network environment
This procedure is a rough guide as a lot of home environments are different, you DO NOT need to do this if your network is configured with static IP Addresses (which means you are not using DHCP on your router aka where IP Address are Dynamically Allocated to PC’s on your network)
1. Start > Run > type CMD > OK
2. At the command prompt type ipconfig /all
3. Copy down the following details: IP Address, Subnet Mask, Default Gateway, DNS Servers
- Your IP Address should look something like 192.168.1.3
4. Log onto your router via the web interface (most ADSL routers have this)
- Normally you can do this by typing the Default Gateway address into your web browser
5. Locate the section that relates to the DHCP Server, disable the DHCP server, save changes.
6. Now setup your Windows PC with a static IP Address
Start > Control Panel > Network Connections > right-click Local Area Network > select Properties from floating menu
NB: If you’re using wireless networking, instead of Local Area Network, select Wireless Network Connection, then right-click and select Properties.
7. On General tab, scroll down and select Internet Protocol (TCP/IP)
8. Click Properties
9. Select Use the following IP Address
10. In IP Address type the IP Address you wrote down eg 192.168.1.2
11. Enter the Subnet Mask you wrote down eg 255.255.255.0
12. Enter the Default Gateway eg 192.168.1.5
13. Select Use the following DNS Server addresses
14. Enter the DNS Server Address you wrote down (most likely the same as Default Gateway) eg 192.168.1.5
15. Click OK to set changes to TCP/IP
16. Click OK to close network settings.
NB: We will revert these changes later.
Download & Configure DHCP/TFTP Server
1. Once you have downloaded the TFTPd32 Software, create a directory on the server PC. eg C:\tftpd32
2. Extract the TFTPd32 software to the directory you created
You should have 3 files: tftpd32.exe, TFTPD32.HLP, uninst.exe
3. Run the tftpd32.exe which will start the DHCP/TFTP Server for Windows
4. Select the DHCP Server Tab
5. In IP Pool starting address enter an IP Address greater than the one you gave your Windows machine. eg if your windows machine was 192.168.1.2 enter 192.168.1.3
6. In Size of Pool enter the number of machines you intend on having Ubuntu installed on (each machine will need an IP Address)
7. In Boot File enter pxelinux.0
8. In WINS/DNS Server enter your DNS Server Address you wrote down eg 192.168.1.5
9. Enter the same number in Default router
10. Enter the number you wrote down for Subnet Mask in Mask
11. In Lan enter lan – doesn’t matter what you enter here really
12. You must have this software running when you reboot the other PC(s) for PXE to pick-up the Ubuntu install.
13. If your other PC has Windows on it, it might be a good idea to ensure that the DHCP is working.
If the settings you copied down are correct, then your second PC should get an IP Address, DNS Server, Gateway IP Address etc and you should be able to surf the net. It is imperative that you can surf the net, because the Ubuntu installer gets the install files from the net for the installation.
If you can’t, then one of your IP addresses may be incorrect or the network card might not be functioning correctly. Unfortunately troubleshooting is beyond the scope of this howto.
Extract & Configure Ubuntu Image
1. Download and use WinZip to extract the files from netboot.tar.gz
2. Copy the ubuntu-installer directory and it’s contents to your TFTP directory eg C:\tftpd32\ubuntu-installer
3. Also copy the entire contents of \ubuntu-installer\i386\ directory to the TFTP directory C:\tftpd32\
This is duplication I realise, but for some reason you must have some or all of these files duplicated this way for the install to boot. I didn’t have time to figure out which one needs to be there, so I just duplicated the lot… how lazy am I?!
Running the Ubuntu Install
1. Have your Windows machine running, with the TFTP Server running and connected to the local network (by wire or wireless, doesn’t matter)
2. Reboot the machine you want to install Ubuntu on and enter the BIOS (normally requires the user to hit an F key eg F2)
3. Locate the Boot sequence in the BIOS and change the priority so that LAN boot is first, then HDD.
4. Save changes and exit, reboot.
5. The PXE Boot should appear and attempt to first retrieve an IP Address, then it should begin loading the Ubuntu installer. Wow!
6. Run through the install as documented…
Clean Up
1. Once the install is completed, you can close the TFTP/DHCP Server
2. Delete the directory and files you created for the TFTP Server eg Delete the directory C:\Tftpd32
3. Re-enable DHCP on your router (follow the instructions for “Setup your network environment” steps 1-5)
4. Re-enable DHCP for your Windows machine (TFTP Server) (Follow the instructions for “Setup your network environment” steps 6-16 however where Select “Use the following IP Address/DNS Server Addresses” was written, select the option “Obtain an Address Automatically”
Quoted from http://ubuntuforums.org/archive/index.php/t-327597.html
levin 6:29 pm on September 15, 2010 Permalink |
Please note that, VirtualBox 3.2.8 is incompatible on 2.6.36-rc4-maverick kernel
Travis 7:28 am on September 18, 2010 Permalink |
I’m having some issues with flickering on my laptop monitor ( elitebook 2540p ) but not on external monitor. Have you seen / resolved this?
levin 12:41 am on September 19, 2010 Permalink |
Hi Travis, you need to update a beta kernel to fix the screen flickering problem, here to download the upstream kernel packages. http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc4-maverick/
levin 12:42 am on September 19, 2010 Permalink |
also update xorg-intel driver from “Synaptic Package” as well.
Travis 3:23 am on September 23, 2010 Permalink |
My Kernel: 2.6.36-020636rc5-generic #201009211328 SMP Tue Sep 21 13:31:25 UTC 2010 x86_64 GNU/Linux
I updated the intel driver as well. Seems to be better than initial install, but still seeing the flicker at times.
It’s odd, with Fedora 13 I get no flicker, but can’t dock it with external monitor, but with Ubuntu I can dock etc.. but get the flicker. Frustrating.
Thanks
-Travis
levin 5:51 pm on September 23, 2010 Permalink
That’s odd, but I’m not sure rc5 is good version or not, since i believe 36.rc4 already fixed the flicker issue.
I just tested with internal display only. So maybe not apply for your case, I’ll try that with a external monitor as I can.
Can you produce the following result, see if it is consistently flickering
For No Docking
1. Boot up with internal display
2. Boot up with external display
3. Bootup with internal display and switch over to external display when reached X login and switch it back to internal display
Repeat 2,3 with docking attached.
Thanks
lets compare with my working version.
libdrm-intel1 2.4.21-1ubuntu2
xorg 1:7.5+6ubuntu2
xserver-xorg-video-intel 2:2.12.0-1ubuntu4
linux-generic 2.6.36-020636rc4.201009130905
linux-headers-2.6.36-020636rc4.201009130905
linux-headers-2.6.36-020636rc4.201009130905-generic 2.6.36-020636rc4.201009130905
linux-image 2.6.36-020636rc4.201009130905
linux-image-2.6.36-020636rc4.201009130905-generic 2.6.36-020636rc4.201009130905
foo 5:46 am on October 29, 2010 Permalink
tried rc4 and rc7 with the same results as Travis. Switching from 60 to 40Hz update freq finally solved the flickering problem.
Travis 7:34 am on September 18, 2010 Permalink |
Great info by the way.. Thanks
Ares 10:46 am on October 4, 2010 Permalink |
You are the man! Honestly I’ve had been trying to make it work for my girlfriends laptop for a while now, and nothing had worked. Thanks!
Justin 12:45 am on October 21, 2010 Permalink |
I tried the rc4 kernel and the rc7 kernel (both i386) but my video is still flashing every few seconds. Do you know if there is a patch to apply or a way to track down why this is happening? I checked the package manager but it appears I already have intel-xorg-video-intel package installed.
Also, the multitouch works great for the track pad but how can I set those settings to automatically apply when the computer turns on? A startup script just seems like the wrong way to do it.
Thanks
levin 12:24 pm on October 30, 2010 Permalink |
put these line in /etc/X11/xorg.conf for auto-enable multitouch
Section “InputDevice”
Identifier “Synaptics Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “SHMConfig” “on”
Option “VertTwoFingerScroll” “1″
Option “HorizTwoFingerScroll” “1″
Option “EmulateTwoFingerMinW” “5″
Option “EmulateTwoFingerMinZ” “50″
EndSection
Haggan 10:05 pm on October 29, 2010 Permalink |
Iam testing 40Hz now seams to be flicker free with rc8 of the 36 kernel. What about the smart card reader?
Any one know how to get it working? Also has any one working N speed with the wifi?
Travis 6:19 am on November 19, 2010 Permalink |
Latest Kernel seems to kill the display on the HP 2540. Docked, or not. The external display when docked works fine. Happened on both of the 2.6.37 releases. Anyone else?
Fredrik 3:29 pm on November 19, 2010 Permalink |
Travis, the same thing happens to me: I get a black (internal) screen with the 2.6.37rc’s.
Haggan 7:36 pm on December 3, 2010 Permalink |
40Hz dont work for me with 2.6.36 rc8 or the 2.6.35-23 kernel. I have tried 2.6.37 I also got blanck screen.
About the smart card HP suggest the following. I cant get it workin I guess it because I am running x86_64
Note: HP does not take any responsibility in doing the same. This would be at the customers own risk.
Step 1:
Run the command – lspcmci -v and get:
Product Name:
Identification: manf_id:
Check for: prod_id(1):
Step 2:
Goto – http://www.scmmicro.com/support/pc-security-support/downloads.html
Download the driver – SCR241 – Linux 32-bit (2.4.x) Driver
Extract the files, and find the file scr241_main.c
Search for the lines containing
PCMCIA_DEVICE_PROD_ID1(“SCR243 PCMCIA”,0x2054e8de),
PCMCIA_DEVICE_PROD_ID1(“SCR24x PCMCIA”,0x54a33665),
and add the line:
PCMCIA_DEVICE_PROD_ID1(“HP”, 0x53cb94f9),
Note: “HP”, 0x53cb94f9 is the prod_id(1) what I have got in my unit – so this has to be changed with what the customer gets on his unit when he runs the lspcmci -v command
Joao 8:08 pm on December 28, 2010 Permalink |
I tried everything. I updated the kernel, verified that I have the newest driver, changed the frequency to 40Hz, updated the bios, disabled the light sensor in the bios.
Nothing helped. Why can I not get rid of the problem?
levin 9:50 pm on December 28, 2010 Permalink |
The flickering issues seems broken in upsteam release, so far as i knew the lastest working kernel is http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-rc4-maverick/
Fredrik 5:57 pm on January 19, 2011 Permalink |
The flickering seems to be solved by the latest daily kernel:
http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2011-01-18-natty/
However I still have some troubles with plugging/unplugging external displays.
levin 6:16 pm on January 19, 2011 Permalink |
actually, the external display problem seems never been fixed… btw thanks for your update! cheers
ediulia 8:19 pm on January 19, 2011 Permalink |
i understand that there is no option at this time to install ubuntu 10.10 or 10.04 on 2540p without to spend at list a week for fix problems after installation. i will wait for 11.04. may be next version will solve screen problems without create new bugs…
david 11:05 pm on February 4, 2011 Permalink |
This kinda works for me, The flickering disappeared..
I installed the kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/
But now the openafs kernel module wont compile..
levin 7:42 pm on April 29, 2011 Permalink |
Just a quick update, 11.04 work flawlessly with HP 2540p. Everything work as expected!