Archive for the ‘useless bits of information’ Category

libdvdread and ISO 9660 file systems

March 3, 2011 Leave a comment

Apparently libdvdread only works with UDF file systems. I tried to point VLC to an ISO 9660 image file, but libdvdread only complained:

$ vlc dvd://foo.iso
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
$ file foo.iso
foo.iso: # ISO 9660 CD-ROM filesystem data 'CDROM                          '

However, after I extracted the image file to a folder, everything went as expected. (OPf course also with an image file containing an UDF file system :-))

Flattr this

Change partition type without reformatting

January 2, 2011 Leave a comment

Note to myself: it is possible to change the partition type of a already formatted (and used) partition. For example, if you have already formatted the partition with NTFS, but accidentally had created it with partition type 0x83 (Linux), so Windows can’t read it, since it expects 0x07 (HPFS/NTFS). On Linux, you can use sfdisk for that purpose:

# Be root
dd if=/dev/sdb of=sdb-bootsector count=1  # backup boot sector
sfdisk -d /dev/sdb | sed -e 's/Id=83/Id=07/' > /tmp/sdb.txt   
sfdisk /dev/sdb < /tmp/sdb.txt

(fill in the right values for your case)

Of course, good old fdisk works also, use the t command.


Flattr this

Windows Device Manager: Code 39 with CDROM drive

November 14, 2010 Leave a comment

My sister asked me to have a look at her notebook (a Medion Akoya P6612 with Windows Vista) because the CDROM drive wouldn’t work, and it was not even displayed in the Windows Explorer. I looked into the Device Manager and noticed that the CDROM device (TSSTCorp SN-S083a) was displayed with a small yellow exclamation mark besides its icon, and it said on the Properties page that the device could not be started and referred to Code 39. Reinstalling the drivers had no effect, but after I had a little chat with Big Blue G, I found a howto entry which suggested the following:

  1. Be logged in with an administrator account
  2. Open the Registry Editor (choose it from the Start Menu or press Win+R and type regedit)
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
  4. Then, in the right pane, delete all of the following keys:
    • UpperFilters
    • LowerFilters
    • UpperFilters.bak
    • LowerFilters.bak
  5. Restart your computer

This worked fine for me.

Flattr this

Greetings from GNOME

December 27, 2009 Leave a comment

Now this is really useful: there is a GNOME panel applet for writing blog posts (for the Debian/Ubuntu folks: it’s in the package gnome-blog). Just gotta try it out 🙂

Edit: Unfortunately, there is no possibility to assign tags or categories this way 😦