/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.6 2004/08/02 15:54:00 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.7 2004/08/17 00:01:21 vapier Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Introduction to Block Devices</title> 11<title>Introduction to Block Devices</title>
12<subsection> 12<subsection>
181<p> 181<p>
182To figure out what disks you have running, use the following commands: 182To figure out what disks you have running, use the following commands:
183</p> 183</p>
184 184
185<pre caption="Identifying available disks"> 185<pre caption="Identifying available disks">
186<comment>(For IDE disks)</comment> # <i>dmesg | grep 'drive$'</i> 186# <i>dmesg | grep 'drive$'</i> <comment>(For IDE disks)</comment>
187<comment>(For SCSI disks)</comment> # <i>dmesg | grep 'scsi'</i> 187# <i>dmesg | grep 'scsi'</i> <comment>(For SCSI disks)</comment>
188</pre> 188</pre>
189 189
190<p> 190<p>
191From this output you should be able to see what disks were detected and their 191From this output you should be able to see what disks were detected and their
192respective <path>/dev</path> entry. In the following parts we assume that the 192respective <path>/dev</path> entry. In the following parts we assume that the
204</body> 204</body>
205</subsection> 205</subsection>
206<subsection> 206<subsection>
207<title>Deleting All Slices</title> 207<title>Deleting All Slices</title>
208<body> 208<body>
209
210<p>
211If your hard drive is completely blank, then you'll have to first create
212a BSD disklabel.
213</p>
214
215<pre caption="Creating BSD disklabel">
216Command (m for help): <i>b</i>
217/dev/sda contains no disklabel.
218Do you want to create a disklabel? (y/n) <i>y</i>
219<comment>A bunch of drive-specific info will show here</comment>
2203 partitions:
221# start end size fstype [fsize bsize cpg]
222 c: 1 5290* 5289* unused 0 0
223</pre>
209 224
210<p> 225<p>
211We start with deleting all slices <e>except</e> the 'c'-slice. The following 226We start with deleting all slices <e>except</e> the 'c'-slice. The following
212shows how to delete a slice (in the example we use 'a'). Repeat the process to 227shows how to delete a slice (in the example we use 'a'). Repeat the process to
213delete all other slices (again, except the 'c'-slice). 228delete all other slices (again, except the 'c'-slice).

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20