Hi there, I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation? Thanks -- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
The boot disk is not a filesystem. It is a kernal image with a
bootstrap.
Jeffrey
Quoting Yatsen Ng
Hi there,
I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Since it's an image, I can basically copy the kernel from the bootdisk to the harddrive of another PC by doing mcopy a:linux /boot/vmlinuz Right? The reason why I'm asking is because I have this other PC and I'd like to use the same kernel on it. On Tue, 11 Apr 2000, you wrote:
The boot disk is not a filesystem. It is a kernal image with a bootstrap.
Jeffrey
Quoting Yatsen Ng
: Hi there,
I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation?
-- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Yatsen Ng wrote:
Since it's an image, I can basically copy the kernel from the bootdisk to the harddrive of another PC by doing
mcopy a:linux /boot/vmlinuz
Right? The reason why I'm asking is because I have this other PC and I'd like to use the same kernel on it.
Nope, sorry :( The m<whatever> commands only work for DOS formatted floppys. Your best bet is probably copying it off the original computer onto a formatted floppy and copying it off that floppy. I had thought that you could 'dd' it off the floppy, but that wouldn't work, because it would take an image of the whole floppy. Other ideas anyone?
On Tue, 11 Apr 2000, you wrote:
The boot disk is not a filesystem. It is a kernal image with a bootstrap.
Yup, that would be right if it was made by something like 'make bzdisk' or the like.
Quoting Yatsen Ng
: I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation?
Bye, Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC. -- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Yatsen Ng wrote:
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
Right then, how did you copy it onto that floppy in the first place? 'dd', 'make bzdisk', 'cat', 'cp'? If it was one of the first three, you're pretty much stuck, since to get it off using 'dd' or 'rawrite', you would have to know the exact size of the kernel, or else you'ld just take an image of the entire floppy disk (since they won't know when to stop copying). If you used 'cp', the floppy will have a filesystem on it, which brings us back to your original question... ;-) So how did you make this disk? Bye, Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I did it with cp.
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
Right then, how did you copy it onto that floppy in the first place? 'dd', 'make bzdisk', 'cat', 'cp'?
-- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, Apr 12, 2000 at 12:10:36PM +0000, Yatsen Ng wrote:
I did it with cp.
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
Use cp (or mcopy) to copy it to the other computer, then use 'lilo' to install it. Don't forget to edit '/etc/lilo.conf'. If this is the first time you are playing with lilo, first create with lilo a bootdisk on a floppy (boot = /dev/fd0). That's a good excersise and you can only 'destroy' a floppy, not your HD. Before any big change, I always copy 'lilo.conf' to 'lilo.conf.fd0' and with 'lilo -C /etc/lilo.conf.fd0 -b /dev/fd0' I try it first on a floppy. Good luck, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I know how to configure lilo, it's just that I can't copy the image off the floppy. I can't mount the floppy, to be more specifig. My kernel supports every fat type and the minix filesystem but still... On Wed, 12 Apr 2000, you wrote:
On Wed, Apr 12, 2000 at 12:10:36PM +0000, Yatsen Ng wrote:
I did it with cp.
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
Use cp (or mcopy) to copy it to the other computer, then use 'lilo' to install it.
Don't forget to edit '/etc/lilo.conf'.
If this is the first time you are playing with lilo, first create with lilo a bootdisk on a floppy (boot = /dev/fd0). That's a good excersise and you can only 'destroy' a floppy, not your HD.
Before any big change, I always copy 'lilo.conf' to 'lilo.conf.fd0' and with 'lilo -C /etc/lilo.conf.fd0 -b /dev/fd0' I try it first on a floppy.
Good luck, Cees.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Yatsen!
I don`t think, it would help, but just a note:
Try to copy /dev/fd0 file (or /dev/fd1, if that`s your secondary floppy) to
different name, onto your harddrive. And then try to mount that file instead
of a device. Don`t forget to add "-o loop" switches to "mount" command.
Anyhow, if you can do nothing with that floppy, you can upload that file to
someone, who will dig it precisely. I bet, I can detect most of filesystems,
using just hexviewer of MC.
On Wed, Apr 12, 2000 at 12:10:36PM +0000, Yatsen Ng wrote:
I did it with cp.
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
Use cp (or mcopy) to copy it to the other computer, then use 'lilo' to install it.
Don't forget to edit '/etc/lilo.conf'.
If this is the first time you are playing with lilo, first create with lilo a bootdisk on a floppy (boot = /dev/fd0). That's a good excersise and you can only 'destroy' a floppy, not your HD.
Before any big change, I always copy 'lilo.conf' to 'lilo.conf.fd0' and with 'lilo -C /etc/lilo.conf.fd0 -b /dev/fd0' I try it first on a floppy.
Good luck, Cees.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Wed, Apr 12, 2000 at 03:53:58PM +0000, Yatsen Ng wrote:
On Wed, 12 Apr 2000, you wrote:
On Wed, Apr 12, 2000 at 12:10:36PM +0000, Yatsen Ng wrote:
Basically what it comes down to is this: I've copied vmlinuz to a floppy and now I want to coppy it to another PC. So far I haven't been able to copy it to the other PC.
I did it with cp.
Use cp (or mcopy) to copy it to the other computer, then use 'lilo' to install it.
Don't forget to edit '/etc/lilo.conf'.
I know how to configure lilo, it's just that I can't copy the image off the floppy. I can't mount the floppy, to be more specifig. My kernel supports every fat type and the minix filesystem but still...
Did you use 'cp /boot/vmlinuz /dev/fd0' or something simulair as root? If you did this, you destroyed your filesystem on the floppy. There is no way to mount it... If you feel lucky (maybe, I never tried this...) you can copy the file with 'cp /dev/fd0 vmlinuz'. In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user. Good luck, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Did you use 'cp /boot/vmlinuz /dev/fd0' or something simulair as root?
Yes
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
If you feel lucky (maybe, I never tried this...) you can copy the file with 'cp /dev/fd0 vmlinuz'.
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
Good luck, Cees.
-- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Yatsen, On Wed, Apr 12, 2000 at 08:32:30PM +0000, Yatsen Ng wrote:
Did you use 'cp /boot/vmlinuz /dev/fd0' or something simulair as root?
Yes
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
Under Unix, everything is a file. You probably know that you can print with 'cat [file] > /dev/lp0'. In the same manner you can copy a complete floppy to a file: 'dd if=/dev/fd0 of=/tmp/floppy', an image of fd0. To copy this image back to floppy, you can use a command like: 'dd if=/tmp/floppy of=/dev/fd0'. You can even mount this image under Linux. (I don't know if this is true for all Unix-es.) Try: 'mount -t vfat -o loop,ro /tmp/floppy /mnt/tmp' and you can use this image as a mounted floppy! (I do this a lot with CD's. If you mount them and them copy them, you don't copy the boot-sector, with the dd-methode, you make an exact copy.) Even so, a floppy is not 'a normal' file of 1.44MB. It is formated, has entries for directories, etc. So, if you copy a file to /dev/fd0, it first overwrites record 0 (the MBR with all the formatting information), next record 1, etc. You get the idea... With other words: you destroyed all formating information!
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
You shouldn't be... all will be clear in the end... <grin> A 3.5" floppy with 1.44MB is normally formatted with FAT, i.e. you can use it with MS-Dos, i.e. a Dos formatted floppy. (You can even buy them preformatted in the store.) The 'Unix' way is to mount the floppy (i.e. mount -t vfat /dev/fd0 /mnt/floppy) and then copy all files to it and then unmount (with 'umount'; can someone tell me where the N is?) the floppy. This is a lot of work for something simple as copying some files. So someone wrote the mtools-package a long time ago. Now you can use the floppies as in the good old times of MS-Dos, i.e. - 'mdir a:' - 'mcopy [file] a:' The floppies are called Dos-formatted, but almost all operating systems knows how to read/write them. It is probably the most simple way to exchange files between systems. Offcourse there are a lot of ways to copy files between systems, but we will keep that for the next lesson <grin>. Regards, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi Cees, Thank you very much for the advice - this is very cool stuff indeed!
Hello Yatsen,
On Wed, Apr 12, 2000 at 08:32:30PM +0000, Yatsen Ng wrote:
Did you use 'cp /boot/vmlinuz /dev/fd0' or something simulair as root?
Yes
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
Under Unix, everything is a file. You probably know that you can print with 'cat [file] > /dev/lp0'.
In the same manner you can copy a complete floppy to a file: 'dd if=/dev/fd0 of=/tmp/floppy', an image of fd0. To copy this image back to floppy, you can use a command like: 'dd if=/tmp/floppy of=/dev/fd0'.
You can even mount this image under Linux. (I don't know if this is true for all Unix-es.) Try: 'mount -t vfat -o loop,ro /tmp/floppy /mnt/tmp' and you can use this image as a mounted floppy!
(I do this a lot with CD's. If you mount them and them copy them, you don't copy the boot-sector, with the dd-methode, you make an exact copy.)
Even so, a floppy is not 'a normal' file of 1.44MB. It is formated, has entries for directories, etc.
So, if you copy a file to /dev/fd0, it first overwrites record 0 (the MBR with all the formatting information), next record 1, etc. You get the idea...
With other words: you destroyed all formating information!
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
You shouldn't be... all will be clear in the end... <grin>
A 3.5" floppy with 1.44MB is normally formatted with FAT, i.e. you can use it with MS-Dos, i.e. a Dos formatted floppy. (You can even buy them preformatted in the store.)
The 'Unix' way is to mount the floppy (i.e. mount -t vfat /dev/fd0 /mnt/floppy) and then copy all files to it and then unmount (with 'umount'; can someone tell me where the N is?) the floppy.
This is a lot of work for something simple as copying some files. So someone wrote the mtools-package a long time ago. Now you can use the floppies as in the good old times of MS-Dos, i.e. - 'mdir a:' - 'mcopy [file] a:'
The floppies are called Dos-formatted, but almost all operating systems knows how to read/write them. It is probably the most simple way to exchange files between systems.
Offcourse there are a lot of ways to copy files between systems, but we will keep that for the next lesson <grin>.
Regards, Cees.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Yatsen, On Thu, Apr 13, 2000 at 01:39:46PM +0000, Yatsen Ng wrote:
Hi Cees,
Thank you very much for the advice - this is very cool stuff indeed!
Welcome to the very cool world of Linux <grin>... It's symbol is a pinguin <grin>... Regards, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
I did it the correct way (and mounted the floppy the UNIX way - I feel more comfortable doing it like this) and this time everything went smoothly. I copied vmlinuz (2.2.14) to a floppy and copied it from the floppy to /boot on my other PC. After booting I'll still get the message that I'm running kernel 2.2.10 but that's probably because I installed an image of 2.2.14 rather then doing it 'the other way', e.g. get the source, compile, etc. On Thu, 13 Apr 2000, you wrote:
Hello Yatsen,
On Wed, Apr 12, 2000 at 08:32:30PM +0000, Yatsen Ng wrote:
Did you use 'cp /boot/vmlinuz /dev/fd0' or something simulair as root?
Yes
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
Under Unix, everything is a file. You probably know that you can print with 'cat [file] > /dev/lp0'.
In the same manner you can copy a complete floppy to a file: 'dd if=/dev/fd0 of=/tmp/floppy', an image of fd0. To copy this image back to floppy, you can use a command like: 'dd if=/tmp/floppy of=/dev/fd0'.
You can even mount this image under Linux. (I don't know if this is true for all Unix-es.) Try: 'mount -t vfat -o loop,ro /tmp/floppy /mnt/tmp' and you can use this image as a mounted floppy!
(I do this a lot with CD's. If you mount them and them copy them, you don't copy the boot-sector, with the dd-methode, you make an exact copy.)
Even so, a floppy is not 'a normal' file of 1.44MB. It is formated, has entries for directories, etc.
So, if you copy a file to /dev/fd0, it first overwrites record 0 (the MBR with all the formatting information), next record 1, etc. You get the idea...
With other words: you destroyed all formating information!
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
You shouldn't be... all will be clear in the end... <grin>
A 3.5" floppy with 1.44MB is normally formatted with FAT, i.e. you can use it with MS-Dos, i.e. a Dos formatted floppy. (You can even buy them preformatted in the store.)
The 'Unix' way is to mount the floppy (i.e. mount -t vfat /dev/fd0 /mnt/floppy) and then copy all files to it and then unmount (with 'umount'; can someone tell me where the N is?) the floppy.
This is a lot of work for something simple as copying some files. So someone wrote the mtools-package a long time ago. Now you can use the floppies as in the good old times of MS-Dos, i.e. - 'mdir a:' - 'mcopy [file] a:'
The floppies are called Dos-formatted, but almost all operating systems knows how to read/write them. It is probably the most simple way to exchange files between systems.
Offcourse there are a lot of ways to copy files between systems, but we will keep that for the next lesson <grin>.
Regards, Cees.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 13 Apr 2000, you wrote:
I did it the correct way (and mounted the floppy the UNIX way - I feel more comfortable doing it like this) and this time everything went smoothly. I copied vmlinuz (2.2.14) to a floppy and copied it from the floppy to /boot on my other PC. After booting I'll still get the message that I'm running kernel 2.2.10 but that's probably because I installed an image of 2.2.14 rather then doing it 'the other way', e.g. get the source, compile, etc.
My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
Under Unix, everything is a file. You probably know that you can print with 'cat [file] > /dev/lp0'.
In the same manner you can copy a complete floppy to a file: 'dd if=/dev/fd0 of=/tmp/floppy', an image of fd0. To copy this image back to floppy, you can use a command like: 'dd if=/tmp/floppy of=/dev/fd0'.
You can even mount this image under Linux. (I don't know if this is true for all Unix-es.) Try: 'mount -t vfat -o loop,ro /tmp/floppy /mnt/tmp' and you can use this image as a mounted floppy!
(I do this a lot with CD's. If you mount them and them copy them, you don't copy the boot-sector, with the dd-methode, you make an exact copy.)
Even so, a floppy is not 'a normal' file of 1.44MB. It is formated, has entries for directories, etc.
So, if you copy a file to /dev/fd0, it first overwrites record 0 (the MBR with all the formatting information), next record 1, etc. You get the idea...
With other words: you destroyed all formating information!
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
You shouldn't be... all will be clear in the end... <grin>
A 3.5" floppy with 1.44MB is normally formatted with FAT, i.e. you can use it with MS-Dos, i.e. a Dos formatted floppy. (You can even buy them preformatted in the store.)
The 'Unix' way is to mount the floppy (i.e. mount -t vfat /dev/fd0 /mnt/floppy) and then copy all files to it and then unmount (with 'umount'; can someone tell me where the N is?) the floppy.
This is a lot of work for something simple as copying some files. So someone wrote the mtools-package a long time ago. Now you can use the floppies as in the good old times of MS-Dos, i.e. - 'mdir a:' - 'mcopy [file] a:'
The floppies are called Dos-formatted, but almost all operating systems knows how to read/write them. It is probably the most simple way to exchange files between systems.
Offcourse there are a lot of ways to copy files between systems, but we will keep that for the next lesson <grin>.
Regards, Cees.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net
It said "Needs Windows 95 or better". So I installed Linux...
-- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, Apr 13, 2000 at 05:51:38PM +0000, Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
You copied the kernel, but you still have to copy the modules. Then run 'depmod -a' to avoid the last error message. You are almost done... Regards, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 13 Apr 2000, you wrote:
On Thu, Apr 13, 2000 at 05:51:38PM +0000, Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
You copied the kernel, but you still have to copy the modules. Then run 'depmod -a' to avoid the last error message.
You are almost done...
As usually I was too quick to send a message! Soon afterwards I did copy the modules and everything works quite nicely now. I haven't run 'depmod -a' yet though... Ok, now I have. Are there any additional procedures I need to take care of? At the moment I can't think of any. -- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
On Thu, Apr 13, 2000 at 05:51:38PM +0000, Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
You copied the kernel, but you still have to copy the modules. Then run 'depmod -a' to avoid the last error message.
You are almost done...
As usually I was too quick to send a message! Soon afterwards I did copy the modules and everything works quite nicely now. I haven't run 'depmod -a' yet though... Ok, now I have. Are there any additional procedures I need to take care of? At the moment I can't think of any.
That should be just about it then. Nice that you don't have any other error messages... Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Fri, Apr 14, 2000 at 01:11:25AM +0000, Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
On Thu, Apr 13, 2000 at 05:51:38PM +0000, Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote: My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
You copied the kernel, but you still have to copy the modules. Then run 'depmod -a' to avoid the last error message.
You are almost done...
As usually I was too quick to send a message! Soon afterwards I did copy the modules and everything works quite nicely now. I haven't run 'depmod -a' yet though... Ok, now I have. Are there any additional procedures I need to take care of? At the moment I can't think of any.
None that I can think of. SuSE also does a 'depmod -a' during the booting... So just reboot and you're done. Regards, Cees. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Yatsen Ng wrote:
On Thu, 13 Apr 2000, you wrote:
I did it the correct way (and mounted the floppy the UNIX way - I feel more comfortable doing it like this) and this time everything went smoothly. I copied vmlinuz (2.2.14) to a floppy and copied it from the floppy to /boot on my other PC. After booting I'll still get the message that I'm running kernel 2.2.10 but that's probably because I installed an image of 2.2.14 rather then doing it 'the other way', e.g. get the source, compile, etc.
Glad you got this sorted. There was no way you could have pulled that kernel off the floppy without copying the whole floppy...
My mistake - it does show 2.2.14. I do get a lot of error messages though: modprobe: modprobe: Can't open dependencies file /lib/modules/2.2.14/modules.dep (No such file or directory)
You also need to copy over the modules directory. After that you'll probably want to run the command 'depmod -a' to update the dependencies file that it's looking for.
If you did this, you destroyed your filesystem on the floppy. There is no way to mount it...
I'm surprised to hear that - I didn't know about this. However, it sure explains a lot! Why does this distroy the filesystem? I thought this was the way it should be done.
Under Unix, everything is a file. You probably know that you can print with 'cat [file] > /dev/lp0'.
In the same manner you can copy a complete floppy to a file: 'dd if=/dev/fd0 of=/tmp/floppy', an image of fd0. To copy this image back to floppy, you can use a command like: 'dd if=/tmp/floppy of=/dev/fd0'.
You can even mount this image under Linux. (I don't know if this is true for all Unix-es.) Try: 'mount -t vfat -o loop,ro /tmp/floppy /mnt/tmp' and you can use this image as a mounted floppy!
(I do this a lot with CD's. If you mount them and them copy them, you don't copy the boot-sector, with the dd-methode, you make an exact copy.)
Even so, a floppy is not 'a normal' file of 1.44MB. It is formated, has entries for directories, etc.
So, if you copy a file to /dev/fd0, it first overwrites record 0 (the MBR with all the formatting information), next record 1, etc. You get the idea...
With other words: you destroyed all formating information!
In the future, use 'mcopy' to copy a file to a floppy. You can do this as a normal user.
Now I'm confused. Someone mentioned before that mcopy is only used to copy files off a DOS formatted device (in this case a floppy).
You shouldn't be... all will be clear in the end... <grin>
A 3.5" floppy with 1.44MB is normally formatted with FAT, i.e. you can use it with MS-Dos, i.e. a Dos formatted floppy. (You can even buy them preformatted in the store.)
The 'Unix' way is to mount the floppy (i.e. mount -t vfat /dev/fd0 /mnt/floppy) and then copy all files to it and then unmount (with 'umount'; can someone tell me where the N is?) the floppy.
This is a lot of work for something simple as copying some files. So someone wrote the mtools-package a long time ago. Now you can use the floppies as in the good old times of MS-Dos, i.e. - 'mdir a:' - 'mcopy [file] a:'
The floppies are called Dos-formatted, but almost all operating systems knows how to read/write them. It is probably the most simple way to exchange files between systems.
Offcourse there are a lot of ways to copy files between systems, but we will keep that for the next lesson <grin>.
Have fun, Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Yatsen Ng wrote:
I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available
Have your tried automounting it? Try the minix filesystem - that's used a lot on Linux floppies.
filesystem somewhere in the documentation?
/usr/src/linux/Documentation/filesystems/00-INDEX That gives a list of the files contained in the directory, and what filesystems they apply to, in case it's not obvious. More details can be found in the individual files. Hope that helps, Chris -- Apologies to everyone who has been waiting for replies off me over the past few weeks - I've been away from my computer. I'll try to catch up with my email over the coming days, but don't be surprised if you get a reply in a month's time... __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
...
I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation? ...
Try: man mount then look for option {-t vfstype}, pretty much everything is listed there. Don't know what to say about the boot disk, maybe it's ext2. Never tried to mount mine personally. Cheers, Jason Hackney Academic Support WMU Technical Computing Services 20hackney@wmich.edu 616.387.5470 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
from 'man mount': [...] -t vfstype The argument following the -t is used to indicate the file system type. The file system types which are currently supported are listed in linux/fs/filesystems.c: minix, xiafs, ext, ext2, msdos, umsdos, vfat, proc, autofs, devpts, nfs, iso9660, smbfs, ncpfs, adfs, affs, coda, hfs, hpfs, ntfs, qnx4, romfs, ufs, sysv, xenix, coherent. Note that the last three are equivalent and that xenix and coherent will be removed at some point in the future -- use sysv instead. Since kernel [...] You can try 'auto' as vfstype also... Health, Yatsen Ng wrote:
Hi there,
I' trying to mount my boot disk but I don't know exactly which filesystem I need to use as an option. By the way, is there a listing of every available filesystem somewhere in the documentation?
Thanks -- Yatsen Ng Den Haag, The netherlands yatsenng@casema.net
It said "Needs Windows 95 or better". So I installed Linux...
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Francisco M. Marzoa Alonso Nuevo Mundo - Dpto. Informático ICQ#: 62850923 Henri Dunant, 19 - 28036 Madrid tfno: +34 91 343 18 40 Ext. 207 España / Spain fax: +34 91 350 28 45 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (7)
-
cees-list@griend.xs4all.nl
-
chris.reeves@iname.com
-
egm@csie.nsys.by
-
fmmarzoa@idecnet.com
-
muskrat@texas.net
-
x98hackney1@wmich.edu
-
yatsenng@casema.net