I have many, many copies of some files in a unstructured and messy hierarchy. Today, I found my solution to the challenge of cleaning out duplicates; FSlint!
sudo aptitude install fslint
gives you the package.
It has a nice GUI;
fslint-gui
Enjoy!
Monday, October 6, 2008
Saturday, September 20, 2008
VirtualBox: Screen Resolution
I've tested Ubuntu 8.10 in Virtualbox 2.0.2 on my Ubuntu 8.04-system.
I have always had issues with the screen resolution for my guest OS when using Virtualbox.
Solution: After installing the guest OS, Run "Guest additions" under "Devices" in the Virtualbox window. This will mount a CD-image in your guest. Run the appropriate file on that CD as root.
I also had to edit my xorg.conf
gksu gedit /etc/X11/xorg.conf
And ad a line:
(Italic line added).
Restart and everything worked great.
This is a good link for more info
I have always had issues with the screen resolution for my guest OS when using Virtualbox.
Solution: After installing the guest OS, Run "Guest additions" under "Devices" in the Virtualbox window. This will mount a CD-image in your guest. Run the appropriate file on that CD as root.
I also had to edit my xorg.conf
gksu gedit /etc/X11/xorg.conf
And ad a line:
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection
(Italic line added).
Restart and everything worked great.
This is a good link for more info
Monday, July 21, 2008
My paranoid TrueCrypt VirtualBox
This is the set-up for the paranoid:
VirtualBox installed on an encrypted partition in Ubuntu. WinXP in VirtualBox with TrueCrypt Whole Disk Encryption and - of course - the external USB encrypted hard drive.
If only I could remember the password ....
VirtualBox installed on an encrypted partition in Ubuntu. WinXP in VirtualBox with TrueCrypt Whole Disk Encryption and - of course - the external USB encrypted hard drive.
If only I could remember the password ....
VirtualBox with external USB drive
(Ubuntu 8.04 - VirtualBox 1.6)
I use the obsolete WinXP-OS from time to time under VirtualBox. VirtualBox is a great visualization program that gives you the opportunity to try out various distros, run WinXP on you Linux-box, etc.
In it's "basic" configuration, the virtual machine has no connection with the outside world. However, you can enable network, share folders with the host OS, use the CD/DVD-drive, etc. Everything is easily enabled via the control panel for VirtualBox.
External USB-drives can be a bit tricky to enable. This link provides great instructions to get the USB drives to work.
sudo gedit /etc/init.d/mountdevsubfs.sh
Look for this section and uncomment the last four lines (which is already uncommented here):
I also had to add this to my fstab (check your correct USB-group number under "System" "Administration" "Users and Groups", mine was no. 124):
none /proc/bus/usb usbfs devgid=124,devmode=664 0 0
Now, I needed more editing of my /etc/init.d/mountdevsubfs.sh
sudo gedit /etc/init.d/mountkernfs.sh
I use the obsolete WinXP-OS from time to time under VirtualBox. VirtualBox is a great visualization program that gives you the opportunity to try out various distros, run WinXP on you Linux-box, etc.
In it's "basic" configuration, the virtual machine has no connection with the outside world. However, you can enable network, share folders with the host OS, use the CD/DVD-drive, etc. Everything is easily enabled via the control panel for VirtualBox.
External USB-drives can be a bit tricky to enable. This link provides great instructions to get the USB drives to work.
sudo gedit /etc/init.d/mountdevsubfs.sh
Look for this section and uncomment the last four lines (which is already uncommented here):
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb
I also had to add this to my fstab (check your correct USB-group number under "System" "Administration" "Users and Groups", mine was no. 124):
none /proc/bus/usb usbfs devgid=124,devmode=664 0 0
Now, I needed more editing of my /etc/init.d/mountdevsubfs.sh
sudo gedit /etc/init.d/mountkernfs.sh
Paste the 2 lines below above the line: "# Mount spufs, if Cell Broadband processor is detected"
## Mount the usbfs for use with Virtual Box
domount usbfs usbdevfs /proc/bus/usb -onoexec,nosuid,nodev,devgid=124,devmode=664
After having used my USB-drive, VirtualBox still holds on to the USB-drive. I guess there is an easy way to fix this, but for now, I log out and in again after finishing my virtual session.
Tuesday, June 10, 2008
Subscribe to:
Posts (Atom)