Here are the commands again.
STEP 1:
Code:
sudo apt-get install build-essential linux-headers-`uname -r`
This is just to install some software that we will need. You only have to do this once.
STEP 2:
This is just to go to a convenient location. It doesn't really matter where. You can make it ~/Escritorio or anywhere else in your home directory.
STEP 3:
Code:
wget -O udf-filesystem-2.5.tar.gz http://ubuntuforums.org/attachment.php?attachmentid=61993&d=1205001057
This is to download an archive file that we need. If it does not download correctly, then visit the other thread and download it from your browser. Put the downloaded file on your desktop (or whatever directory you chose in step 2).
STEP 4:
Code:
tar -xvzf udf-filesystem-2.5.tar.gz
This extracts the contents of the archive. You should see a list of the contents of the archive at this point. If an error occurs, then do not continue to step 5. Download a copy of the archive without errors instead.
If you like, instead of typing this command, you can right-click on the archive on your desktop, and choose “Extract here”.
STEP 5:
Code:
cd udf-filesystem-2.5 && ls
This “cd” (“change directory”) command simply moves you into the directory that step 4 extracted from the archive. You can also do “cd ~/Escritorio/udf-filesystem-2.5”.
The “&& ls” on the end simply prints a list of the contents of the directory, so that you can check that you are in the right one.
STEP 6:
Code:
echo "1150a1151" > tinypatch.patch
echo "> (le16_to_cpu(((__le16 *)upm2->partIdent.identSuffix)[0]) == 0x0201) ||" >> tinypatch.patch
These two lines create a new file called “tinypatch.patch”. We will use it later.
STEP 7:
Code:
patch src/super.c < tinypatch.patch
This uses the patch we created in order to fix an error in the software we downloaded in step 3.
STEP 8:
This compiles the software. It is a complicated process, but you don't have to understand it. You just have to type that one word.
STEP 9:
Code:
sudo rmmod udf
sudo insmod src/udf.ko
sudo cp src/udf.ko /lib/modules/`uname -r`/kernel/fs/udf/
This installs the software. It won't produce much output on the terminal, but it will apparently fix your problem.
If you just go through each step one by one, it will work.
Bookmarks