
14
format a: (floppy)
as Linux -->
as DOS -->
Linux
fdformat /dev/fd0
then
mkfs –t ext2 /dev/fd0
DOS
fdformat /dev/fd0
then
mkfs –t msdos /dev/fd0
Make a boot disk
1. Check /etc/lilo.conf (or /etc/grub.conf) and right down the version of
the image being loaded at boot. The line will look as follows:
image = /boot/vmlinuz-x.x.x-x.x
2. Login as root
3. Insert a blank floppy – type mkbootdisk –device /dev/fd0 x.x.x-x.x
4. Reboot with floppy and see if works
Zipped files .tar – usually means that the file is not compressed
.tar.gz or .tgz – usually means that the file was first combined into a tar file,
then compressed into a zip format with gunzip.
.tar.bz – usually means that the file was again first combined into a tar file,
then compressed with bzip2
Extracting: for a simple .tar file called myfile.tar, type the following –
tar -xvf myfile.tar
For a file that’s both tar and zipped, such as myfile.tar.gz or myfile.tgz, type
the following –
tar –xvzf myfile.tar.gz
To tar files, do this:
tar –cvf tar_filename [files/directory]
To tar and zip files, do this:
tar –zcvf tar_filename [files/directory]
Comentários a estes Manuais