|
||||||||||||||||||||||||||||||
| ISBN: 3930673576 ISBN: 3930673576 ISBN: 3930673576 ISBN: 3930673576 | ||||||||||||||||||||||||||||||
|
|
Wir empfehlen: | |||||||||||||||||||||||||||||
A free Basic UNIX-training with muLinuxNotes: This Text is roughly translated (German to English) by a translating program. Sorry, but I have not time for the translation. Maybe you can do this.
That access to fixed disk partitions takes place similarly as with the access to diskette and CD-ROM-drives.
The substantial difference is that on fixed disks usually extensive, destroyable volume of data is stored.
|
||||||||||||||||||||||||||||||
| Warning :
If the superuser execute e.g. the command rm -r / , all directories on all fixed disks and partitions are deleted. This instruction is substantially more thorough than the format instruction under DOS. Format deletes only one fixed disk. rm -r /deletes all directories in the general statement /. Since however several drives (also of other computers in the network) can be merged with Unix in each case into directories, last the result fatal.
|
/# dmesg | grep "hd" hda: SAMSUNG SV0643A, 6149MB w/482 kB hdc: LTN 362, ATAPI, CDROM drive hda: hda1 hda2 hda3
On my computer the Kernel output the above message. The second line also hdc in the start the CD-ROM drive indicates and does not continue to be not interesting in this paragraph.
(E)IDE fixed disks become also hd characterized in the start. I have thus a SAMSUNG SV064A harddisk with 6149 MByte. This information to the type of fixed disk is not further interesting however for the further work with muLinux.
The names of (E)IDE hard disk start with the letters hd. The first fixed disk becomes also hda defined, the second fixed disk also hdb etc. SCSI fixed disks begin with sd. Afterwards likewise the letters follow a, b or c.
Partitions of fixed disks are indicated by a following number. hda1 is the first partition on the first disk. hdb3 is the third partition on the second disk. The number of partitions can be taken also from the kernel massages. In the above example: hda: hda1 hda2 hda3. The command shows more exact information fdisk with the option -l (lis). Use this command here only with the option -l (lost of dates is possible)!
/# fdisk -l Device Boot Begin Start End Block Id System /dev/hda1 1 1 2 16033+ 83 Linux native /dev/hda2 3 3 15 104422+ 82 Linux swap /dev/hda3 * 16 16 784 6176992+ 83 Linux native hdc : tray open or drive not ready hdc : tray open or drive not ready [Ctrl] [C] /#
The information about hdc (CD-ROM) do not interest here. If no CD is in the drive so muLinux tried nevertheless information about it to keep. We interrupt this curiosity also [Ctrl] [C] .
In this example that has first (E)IDE drive three partitions (hda1, hda2 and hda3). Booted is from hda3 (*). The start and final cylinder are indicated as well as the number of blocks. The last columns indicate the type of the file system. Here Linux native (Id = 83) and Linux swap (Id = 82).
The people who knows its computer, with these specification already which will be able to begin. Interesting is in this example only hda3. Is probable the largest partition, the root partition /. The Swap partition might not be meaningful to the mount. hda1 is very small and contains reliably /boot.
/# mount -r /dev/hda3 /c /#
With ls /c we see contents of this partition.
/# umount /c /#
/# setup -f standby
DO you want set standby (spindown)?:
/# setup -f ntfs
DO you want WinNT file system (READ only) support?: ![]()
Robert.Warnke@giso.de (copyleft) Robert Warnke, Berlin (Germany) - You can write me in English. | http://rowa.giso.de
|
Linux in a Nutshell (Broschiert)
von Jessica Perry Hekman | |
| Siehe auch: | |
| Linux kurz und gut. von Daniel J. Barrett | |
| Linux Kochbuch. Praktischer Rat für Anwender und Systemadministratoren von Carla Schroder | |
| Linux -- Installation, Konfiguration, Anwendung (Jubiläumsausgabe mit 2 DVDs: SUSE 10.1 und Knoppix 5.0) von Michael Kofler | |
| Linux - das distributionsunabhängige Handbuch, inkl. BSD von Johannes Plötner | |
