Posted by auburn on October 18th, 2008 — Posted in cloning
I’ve had a lot of fun recently cloning a drive to another drive. I had grub and drive identifier problems.
First of all I used cpio to copy the drive that I had mounted through knoppix (so I wasn’t actively using it). I learned this from an article in linux journal.
find ./ -xdev -print0 | cpio -pa0V /mnt/sdb1
But the drive wasn’t bootable, so I tried to reinstall grub, which failed because the device.map file wasn’t populated with an accurate list of available drives. So I called:
grub-install --recheck
Please see my other post about grub-install to see how to do this.
But even after grub-install was successful, I found that I was still booting the original drive, not the clone. I needed to update the drive identifiers in grub’s menu.lst, and fstab. To find the uuid’s for the partitions, I needed to call:
sudo vol_id -u /dev/sda1
Don’t forget to update the swap partition uuid too…
No Comments »
Posted by auburn on October 18th, 2008 — Posted in cloning
I’ve had a lot of fun recently cloning a drive to another drive. I had grub and drive identifier problems.
First of all I used cpio to copy the drive that I had mounted through knoppix (so I wasn’t actively using it). I learned this from an article in linux journal.
find ./ -xdev -print0 | cpio -pa0V /mnt/sdb1
But the drive wasn’t bootable, so I tried to reinstall grub, which failed because the device.map file wasn’t populated with an accurate list of available drives. So I called:
grub-install --recheck
Please see my other post about grub-install to see how to do this.
But even after grub-install was successful, I found that I was still booting the original drive, not the clone. I needed to update the drive identifiers in grub’s menu.lst, and fstab. To find the uuid’s for the partitions, I needed to call:
sudo vol_id -u /dev/sda1
Don’t forget to update the swap partition uuid too…
No Comments »
Posted by auburn on October 5th, 2008 — Posted in miscellaneous tech
I’m trying to share folders on a mythbuntu box and browse them on another ubuntu box. The problem is I browse within the “WIndows Network” to find my computer, but there’re never any visible shares within it. Here are some things I’ve figured out, and tools I’m using to troubleshoot:
1) make sure smbfs is installed on computers that need to mount samba shares
2) after editing up the smb.conf file use these tools to troubleshoot:
smbclient -L 192.168.1.13
For me, it asked for a password but no password worked fine.
3) Also try mounting a share on the commandline:
sudo mount -t smbfs -o username=USERNAME,password=PASSWORD //192.168.x.x/SHARENAME LOCALFOLDER_TO_MOUNT_TO
4) Try specifying the mount with nautilus: nautilus smb://192.168.x.x
No Comments »
Posted by auburn on September 29th, 2008 — Posted in miscellaneous tech
cd /
find ./ -xdev -print0 | cpio -pa0V /mnt/sdb1
source: linuxjournal.com
No Comments »
Posted by auburn on September 14th, 2008 — Posted in nonTech
Sheldon Brown recommends locking the back rim through the triangle. (*not* including the seat tube). This is partially to prevent thieves from mangling the frame while trying to leverage open the lock.
A friend of mine additionally recommended u-locking the front wheel to the frame (and not to anything else) to make the bike impossible to ride away (if only the rear lock is cut) and to keep thieves from getting any leverage to break that lock off.
I’m going to buy the onGuard bulldog mini, which is recommended in the bikeforums. According to them, the plastic housing around the straight bar can be removed to save weight.
-peter
No Comments »
Posted by auburn on September 12th, 2008 — Posted in miscellaneous tech
How to halt/stop use
In ubuntu/edubuntu you don’t need to install skill:
$sudo skill -STOP -u
How to resume a halted user
$sudo skill -CONT -u
How to kill and logout user
$sudo skill -KILL -u
source: Chris @ lab.localfoo.net
No Comments »
Posted by auburn on July 30th, 2008 — Posted in miscellaneous tech
I just discovered this one: it deletes everything upto and including the space:
:%s/.*\ /
so this line:
ernie weinfield e.weinfield@gmail.com
becomes:
e.weinfield@gmail.com
No Comments »
Posted by auburn on July 12th, 2008 — Posted in miscellaneous tech
| Date |
Fasting Glucose |
Total |
HDL |
Triglycerides |
LDL |
Lipoprotein A |
Hemoglobin A1C |
Creatinine |
|
|
|
| 07/29/04 |
91 |
205 |
38 |
93 |
148 |
|
|
1.2 |
| 01/19/07 |
96 |
228 |
47 |
162 |
149 |
137.5 |
5.2 |
|
| 06/17/08 |
100 |
206 |
43 |
126 |
138 |
|
|
0.87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No Comments »
Posted by auburn on July 2nd, 2008 — Posted in miscellaneous tech
My users are having the worst time with gmail suddenly losing their passwords. We are using gmail’s smtp server, which is separate from our primary email’s imap username/password identification. So of course, they freak out and start entering and saving the *wrong* password. According to a Mozilla knowledgebase column, its b/c gmail is temporarily going offline…which makes thunderbird try to log in repeatedly. Unfortunately, it doesn’t seem to eventually login when gmail is back online (if that’s really the case). You have to hit cancel instead of entering your password; then restart thunderbird.
…But somehow I just think this is a problem that’s cropped up with thunderbird 2.0.0.14 because I swear it never occurs with 2.0.0.12
No Comments »