Tuesday, January 20, 2009

Experiment 2 - Day 2

ok, I am rested and less frustrated by this, I went to sleep last night thinking, "If this was a Windows box, what would I do? well, I would use the CD with the drivers, nope. no driver disk for this project." So, I started with the next thought process... lets see if the world out there is having the same problem. I googled the following keywords, Lenovo 3000 C100 Ubuntu Wireless, and came across this article, http://ubuntuforums.org/archive/index.php/t-203783.html, which took me to this article, http://ubuntuforums.org/showthread.php?t=274987&highlight=lenovo+c100, which told me to try and blacklist the ndisWrapper, and install a driver via some interesting statements,

i finally set up the wireless broadcom wireless chipset on a lenovo 3000
c100what i did wrong before it worked was using ndiswrapper and then fwcutter
with the wrong windows drivers so i reccomend people using this laptop not to use
ndiswrapper or to put it in the blacklist by doing in a terminal:
sudo gedit
/etc/modprobe.d/blacklist
and writing in the last line
"blacklist
ndiswrapper"
then just download and install bmc43xx-fwcutter with
synaptic
then download on the desktop also this firmware "wl_apsta.o" from
this link
http://drinus.net/airport/wl_apsta.o
after that move it to
/lib/firmware by writing in terminal
sudo mv
/home/YOURNAME/Desktop/wl_apsta.o /lib/firmware/so
now we can set the driver
by writing in terminal
sudo bcm43xx-fwcutter -w /lib/firmware/wl_aspta.othen
also
sudo modprobe bcm43xxnow
reboot
after this i was able to choose
wireless networks and to set connections with pppoeconfif you have problems due
by eth1 instead of wlan0 look this http://ubuntuforums.org/showthread.php?t=259355
Ok, I will give that a go. Guess what... the website is nothing more then a Domain For Sale site now... this post about the fix was made in 2005, hmmm, now lets try and search for airport wl_apsta.o. All the searches seem to point to drinus.net. At this point, I think that a mere computer user would be throwing the computer out the window and heading back to windows... I haven't even begun to fight yet, I keep searching till I find another blogger (http://howto.aumitahmed.com/2008/11/how-to-make-broadcom-wireless-cards.html) who happens to have a listing for other things (that was a wasted 30 minutes) onto my little flash drive the tarball goes from http://www.omattos.com/broadcom/ with the instructions to plop them into /lib/firmware/ so, I try it, "No permission" b#st#rd... ok, I drag them onto my desktop and using a terminal command go to my desktop and try to move them.

  1. cd Desktop
  2. sudo mv b43 /lib/firmware/
  3. enter my password
  4. sudo mv b43legacy /lib/firmware

now to reboot and hope it works. OOk, I now have a new interesting error... 34.852175 YSB 5-6 device descriptor read/64 error, -110 and counting... then it states unable to enumerate usb device on port 6... hmmm, it doesn't like one of my flash drives that are currently plugged in... have to pull them and reboot. after another 2 minutes thinking my system had crashed waiting for the swapfile, it works... and it is finding a wireless network (HURAY!), now to test my flash drives... one worked... then I plugged in the USB External drive, that one did not start so readily... oh well. figure that out later... now to check the system being up2date. after starting the update manager and hitting the check button, I get confronted with the password again (in windows vista, this was considered an irratating nusance, in ubuntu and mac, it is considered a security feature). after it finds 224 updates (jes, I just downloaded the image three days ago), I wait for the 225 mb download to finish. it starts with 15 minutes to download, then jumps to 19, then 13, and following 12 (don't think so, my internet isn't that good...) After it was done (yep, 30 minute download) it installed, and I rebooted. Unfortunately I wasn't fast enough to catch the switch to windows, and instead of letting it finish booting, I just killed it and tried to start Ubuntu, not a smart idea, it couldn't mount the NTFS partition and then crashed, I rebooted into windows fully, rebooted into ubuntu. at this point, I can safely say that it went in. after I had gotten in, the Hardware Drivers dialog box appeared and wanted me to activate new drivers for my b43 wireless device, I did so and it went back online. I tried the physical connection, still no joy, not terribly worried. Now to try and repartition the entire thing to linux. well, my first thought is that the live cd actually has a shortcut, if I can find out the command line from that, I might be in business... to start with, I need my external HD back...., I use windows to load it, then click the "Safely remove" button and presto, I am back in business. this looks more sensitive then windows when it comes to NTFS, so I have to be careful.

At the same time I do a windows search for the command line, I run a internet search and find this article, https://help.ubuntu.com/community/Installation/FromLinux, which sounds exactly like what I want to do. so I use the synaptic package manager to find GPart, and I have to enable the third party repositories, still no luck, I ensure that the multiverse, universe, and all other repositories are checked, do the reload, still nothing... hmm, over to add/remove applications? AHA, there it is. download and install it baby... if things work, I will have a partition for Linux, and a partition for the CD-Rom of about 750 mb. Finished installing partition editor, went to System - Administration - Partition Editor, typed in my password (God this is getting old), and... DOH, the system won't let me mess with the main partition. Thank God that the Lenovo System has some free space, I steal all of the free space from that (about 729 mb) and move it so that the lenovo is at the end, the freespace is in the middle, and then follow the directions from the website. After a second look, I figured out that the partition editor wouldn't work with an NTFS file system (hohum, yet another disappointment). And then away we go, the system started going on its merry way. I then followed the step by step commands from the website but since it was sda3, I changed it from sda1.

mkdir /tmp/install_cd
sudo mount ubuntu-8.10-desktop-amd64.iso -o loop /tmp/install_cd
sudo mkdir /mnt/installer
sudo mount /dev/sda3 /mnt/installer
sudo cp -r /tmp/install_cd/* /mnt/installer
sudo cp -r /tmp/install_cd/.disk /mnt/installer
sudo umount /tmp/install_cd

Then I edited the menu.lst located in the /boot/grub directory. Well, time to reboot and see if hell is here, or if it is going to work.

Well, it almost worked... started nicely, had to hit the escape key in order to access the grub menu, but... I tried to stick a 64 bit OS onto a 32 bit OS, not so good, so I am going back to redo the copy from the 32 bit OS, same steps, except I am using ubuntu-8.10-desktop-i386.iso.

I did delete everything there first using sudo rm -r /mnt/installer and then recopied everything over. Rebooted, and so far, it looks good. after a few minutes of booting, I see my new Temp ubuntu screen, with my install Icon! Alas, it doesn't see any of my partitions (CRAP!). I use the gpart, delete my existing partition (no going back easily now) and then try it agian, nope... notihing in the partition to choose from. I choose the GPart again, and create a primary partition using ext3 to see if it will work. nope, how about fat32... FRACK! still nothing... maybe I had to reboot after blowing the partition, but then how am I going to get back in...

As expected, rebooted computer, computer gave me an invalid partition error, but I messed in the bios enough to find that Lenovo thinks of USB as hard drives, not removable media, changed the boot order, and up I went to my USB Ubuntu... here we go again!

  1. Boot up
  2. Click Install Icon
  3. Choose English
  4. Choose Location
  5. Choose Keyboard
  6. and partitioner is STILL BLANK!!!!!!! F*CK!

well, lets try and get internet. I move the data for my wireless card into the firmware, (thank you this is flashdrive not CD, and then try it, then I reboot... wait, I have another idea, I could use try the command line of the system, instead of demo and install, how about just install? hmmm... as it is booting up, my frustration level is increasing. anybody who is reading this should see why. I get to the ubunto screen, choose the same steps, and.... WAHOO, it is working.... I see the whole thing, or do I... upon closer inspection, all I see is the f*cking USB flash drive... apparently, it doesn't know about my hard drive!

Well, this is interesting, I have been booting to the "CDRom" that I created on my hard drive, but I still don't know why it won't install. I have to recreate the Live USB drive, using my infamous Virtual Computer. Ok, after killing my hard drive CD-Rom from what I did earlier, it caused some of the headache of the day. Apparently the USB launcher would pull the data from the data stored on the hard drive. I burned the on-drive partition, and then was FINALLY able to install the system. This process only took from 10 am to 9 pm, minus 2 hours for lunch and desteaming, now I can get the driver for my wireless, get the system up-todate, and then go forward from there. after I do that, I am calling it a night, so this is where I say good night... To Be Continued

No comments: