[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] Re: Problems with patching




Solution 1.
To make ext2 filesystem on the floppy you have to format it (fdformat) and then 
run ("mke2fs /dev/fd0").
Now you can mount the floppy just like any device with ext2 filesystem 
(mount -t ext2 /dev/fd0 /mnt) and save file on it.

Solutionn 2.
If you make the disk under Windows there is a way to retrieve
the files and copy them on your hard drive.
If you use modules for msdos and fat the instead try to compile and insmod
fat.o and vfat.o and then mount floppy with same command 
(mount /dev/fd0 /mnt/floppy - it should recognize filesystem atomatically)
If you don't use modules then you have to recompile the kernel and include
support for Vfat filesystem (Windows 95 extensions for msdos) and after
rebooting mount it with "mount -t vfat /dev/fd0 /mnt/floppy. After this you
should see the original names.

Solution 3: 
DON'T unzip the tar file from the webpage - just save it on the
floppy. And after you mount the floppy just give command:
cp /mnt/floppy/WHATEVER_THE_FILE_NAME_YOU_SEE ./rtlinux_kernel.tar.gz
for example. And after this untar and unzip the file - all names will be just
fine.

About "file to patch". There should be exact instructions in the archive how to
apply the patch - you should stand in the source root directory and apply it 
with -p X, where X should be 1 or 2 - I don't remember.

One more thing. If you going to be brave enough to compile a new kernel, use
2.0.29 or 2.0.33 - "Not encouraged" on the web page means "_NOT ENCOURAGED_"


Good luck, Oleg.

On Wed, 17 Jun 1998, mshsaint wrote:

>  Hi Every one
>  I currently have kernel v2.0.27  running in my computer and would like to
>  patch the rtlinux and do some experience on it.
>  So what I have done so far is I downloaded the patches from this page,
>  unzipped it and stored it in a disk.
>  While listing the files in windows I got these directory names: rtinux-0.5
>  and underneath this directory was kernel_patch and etc...
>  
>  For mounting the files I used the following command in Linux:
>  mount -t msdos /dev/fd0 /mnt
>  But after the mounting in /mnt I had different garbled file names such as
>  rtlinu~1 & kernel~1. As Michael said I should use exts filesystems which
>  now I am using the msdos ones.
>  But the problem is how? Is there anyway I can convert the files from msdos
>  to ext2 in Linux? Which command should I use? 
>  "Please, I am stuck here :)"
>  
>  Another problem was, I tried to patch those files to the kernel and it
>  started asking me the question : File patch to,
>   which files should i mention, or is it another problem because of the
>  original problem?
>  
>  Have a great day
>  
>  Thanks in advance,
>  
>  Maryam Moghaddas
>  Tel/ Fax : (604) 925-4683
>   
> * Plan for Today, Tomorrow comes Next
> --- [rtl] ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
> 

--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/