PDA

View Full Version : HOWTO: dual boot hp zd7140 laptop


killaweegee
20th January 2005, 04:08 PM
First off I would like to say that this is my first HOWTO so if you find any mistakes don't be too harsh :) . I also want to say that I first done this with some help from http://www.zd7000forums.com/ which is an excellent forum for people with the zd7000 and zd8000 series notebooks. Let our jouney begin :D

1. If your windows partion takes up your entire drive, then boot the machine and back up any valuable data (just in case). Chances are you will not loose any data even if the boot loader will not boot windows (there are ways of fixing this). Once your data is backed up defragment the hard drive.

2. Now get a copy of knoppix found at http://www.knoppix.net and boot to the live cd. Once you are to this point in the menu option you will find a tool called qt parted. Open this tool and select your hard drive make a right click on it and select resize. Now you can resize the partion to the size you want. NOTE: I was only able to shrink my partion about 7GB because of some files that would not defragment.

3. Once this is done you are now ready to put in your fedora disk 1 and begin the install.

4. During the install be sure to select fill remaining space on the drive when you get to that option.

5. Also you should always boot to the .smp kernel because it's for symetric multiple processing (hyper threading). Now you can go ahead and get all of your updates except to kernel 2.6.10. I would not advise going to this kernel yet because it brings up some sound issues on this laptop that has not been resolved yet. NOTE: I could not get the sound to work at all in FC3, but everything works great in FC2.

6. Now your ready to get the wireless working. Go to http://sourceforge.net/projects/ndiswrapper/ to get the latest ndiswrapper. Now as root type: tar -zxvf ndiswrapper-x.xx cd to the ndiswrapper directory and do make install Now you will need to goto a windows machine and go to http://www.hp.com and download the latest windows drivers for the broadcom wireless device. Once you do this extract the files and burn them to a cd. Now back on your fedora machine put in the cd and drag the files to you home folder or any other place you wish. Mine was in /home/adam/SPxxxx. Now cd to the /home/adam/SPxxx directory. As root do the command /usr/sbin/ndiswrapper -i bcmw15a.inf Now to make sure things will work do /usr/sbin/ndiswrapper -l If this is successful you should something like this Install ndis drivers: bcmw15a present hardware present. If you do not see that the hardware is preset then something is not working right.

7. To make sure this will run on startup as root do /usr/sbin/ndiswrapper -m

8. Now create a network config file: gedit /etc/sysconfig/network-scripts/ifcfg-wlan0 below is an example of my ifcfg-wlan0 file.

1.# Broadcom wireless G via ndiswrapper

DEVICE=wlan0
BOOTPROTO=dhcp
HWADDR=
ONBOOT=yes
TYPE=Wireless
MODE=Managed
ESSID='your ssid here'
CHANNEL=
IPADDR=
DOMAIN=
NETMASK=
USERCTL=no
PEERDNS=no
GATEWAY=
IPV6INIT=no
RATE=Auto
KEY=

NOTE: If you are using web you need to put your wep key in the KEY= section.

9. Now either restart your network with service network restart or reboot your machine.

10. Now you should have wireless up and working. NOTE if you can ping internally but not out to the internet type in system-config-network and click on your wlan card. Now under general settings select the box that says Automatically Obtain DNS Information from Provider. This will now allow you out to the internet after you restart the network or reactivate it.

11. Now for the nvidia drivers goto http://www.nvidia.com and download the latest drivers. Now you need to switch to run level 3 by doing vi /etc/inittab and changing the runlevel line from 5 to a 3. Now reboot.

12. Now that you are at a prompt do cp /etc/X11/xorg.conf /etc/X11/xorg.conf.original This will make a backup of your good xorg.conf file. Now in the directory that you downloaded the nvidia driver to do the command sh [nvidia driver file] This will take you through a series of screens and when it's finished you should be back at a prompt. Now vi /etc/X11/xorg.conf and make some changes. Delete the line that says LOAD “dri” and add the line that says LOAD “nvidia” then close to the bottom change the line that says driver: “nv” to driver: “nvidia”. Now vi /etc/inittab and change the runlevel from 3 back to 5. Now reboot. If you it doesn't work and you can't see anything then at the grub boot loader type a then after the / type in single and it will drop you to a command line for editing. Check your xorg.conf file and if you see nothing wrong with then copy the original back in place.


Hope this works for you. If any of you see any mistakes or shortcuts please post them becuase I would like to know myself.