I have a bunch of 2.5" HDD's that I used to 'ferry' data back an forth between my laptop and various computers. I have not taken the time to setup a file share on my Windows box and like most people I have a wife, who would devorce me if I started spending all our disposable income on FIle Servers, Web Servers, Firewalls, a DVR and a T1 line... trust me I've asked!
Anyway, a while ago I noticed that my laptop would not mount one of my HDD's after I unplugged it from my windows box. This drove me crazy for hours... I could not find any easy way to mount the drive and all the suggestions I did find online were fstab hacks.
Basically when you unplug a drive from windows, it locks the drive or marks the drive as inuse. (To get around this, you need to open the small green arrow hardware icon and then stop the drive and then unplug the device). So when ubuntu tries to mount this drive it sees it as being locked or in use and you get an error like so:
In order to get this drive to mount you must do the following. First create a directory in the /media directory (I called mine 'usb')
sudo mkdir /media/usb
Now you can 'force mount' the drive using the option flag and force command
sudo mount /dev/sdb1 /media/usb -o force
You will need to change the device name, mine is usually sdb1. Once you are done, you will need to unmount the drive. Now since we did this via the command line, you will need to issue the following command to unmount the drive via the command line as well.
sudo umount /dev/sdb1
That's it! I use these commands on a daily basis, I guess I'm a creature of habit and dont' really want to take the time to find an automated way to do this. Ussually if I can remember or I'm not in a hurry I'll eject the drive from windows first. Good Luck!
Monday, May 26, 2008
Ubuntu 8.04 Hardy Heron Upgrade...
So here is the first part of my upgrade process. I am still compiling the sources and commands, but this is the very basic steps for my D630 install.
#Hardy Backports
deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted
#Google software repository http://www.google.com/linuxrepositories/apt.html
deb http://DL.Google.Com/linux/deb/ stable non-free
#“Illegal” multimedia stuff
wget http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
#Google desktop
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free
#Wine, official packages
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
deb http://wine.budgetdedicated.com/apt hardy main
#Screenlets
deb http://ppa.launchpad.net/gilir/ubuntu hardy main universe
#Avant-Window-Navigator
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
- Backed up all Files to external Drive
- Clean install of Hardy Heron
- Added other Sources
- sudo gedit /etc/apt/sources.list
#Hardy Backports
deb http://archive.ubuntu.com/ubuntu hardy-backports main universe multiverse restricted
#Google software repository http://www.google.com/linuxrepositories/apt.html
deb http://DL.Google.Com/linux/deb/ stable non-free
#“Illegal” multimedia stuff
wget http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
#Google desktop
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free
#Wine, official packages
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
deb http://wine.budgetdedicated.com/apt hardy main
#Screenlets
deb http://ppa.launchpad.net/gilir/ubuntu hardy main universe
#Avant-Window-Navigator
deb http://ppa.launchpad.net/awn-testing/ubuntu hardy main
- Updated system
- sudo apt-get update
Saturday, May 10, 2008
Preview - Ubuntu AMD64 on a Dell Latitude D630
First I really like my laptop, the keyboard is comfortable to type on, I think it's fairly easy to upgrade (Memory, Bluetooth, HDD, Media Drive, WAN card (mobile broadband from say Verizon or Sprint)) I like the layout of the ports compared to the Lenovo laptops... Anyway, the last time I upgraded my system I had a hard time getting things up and running fully. First eye candy is very important to me and the Intel 965 chipset was a huge hurdle to overcome, then my intel wireless kept freaking out. So when the wifey is surfing www.thenest.com and the network manager keeps crashing and she has to reboot, makes a not so fun evening at home. I would say it took me a couple weeks to work out those issues, and after that it was pretty much smooth sailing... most of the time...
So, today I finally backed up my files (Mainly some movies & programs I had on my laptop) and installed the highly touted release Hardy Heron. To be more specific I installed the 64-Bit edition... There is a really good Pro vs. Con on installing the 64-Bit edition on the Ubuntu Forums, so I decided to at least give it a try.
It's just after Midnight CST here in Chicago and I've been up and running with my upgraded system for over 4 hours... Needless to say I'm EXTREMELY impressed with this release... I have compiled my notes and hopefully will have time soon to walk through the detailed steps, until then you'll just have to be satisfied with a screen shot.
First I really like my laptop, the keyboard is comfortable to type on, I think it's fairly easy to upgrade (Memory, Bluetooth, HDD, Media Drive, WAN card (mobile broadband from say Verizon or Sprint)) I like the layout of the ports compared to the Lenovo laptops... Anyway, the last time I upgraded my system I had a hard time getting things up and running fully. First eye candy is very important to me and the Intel 965 chipset was a huge hurdle to overcome, then my intel wireless kept freaking out. So when the wifey is surfing www.thenest.com and the network manager keeps crashing and she has to reboot, makes a not so fun evening at home. I would say it took me a couple weeks to work out those issues, and after that it was pretty much smooth sailing... most of the time...
So, today I finally backed up my files (Mainly some movies & programs I had on my laptop) and installed the highly touted release Hardy Heron. To be more specific I installed the 64-Bit edition... There is a really good Pro vs. Con on installing the 64-Bit edition on the Ubuntu Forums, so I decided to at least give it a try.
It's just after Midnight CST here in Chicago and I've been up and running with my upgraded system for over 4 hours... Needless to say I'm EXTREMELY impressed with this release... I have compiled my notes and hopefully will have time soon to walk through the detailed steps, until then you'll just have to be satisfied with a screen shot.
Subscribe to:
Posts (Atom)