|
|
Views
Edit history
changed:
-
Questions and Answers about Hard Drives and Linux
How can I mount a HD on the cdrom cable?
Operating under the assumption you are talking about IDE, first, you need to know which controller it's on, and whether it's master or slave. On the primary controller, master is /dev/hda and slave is /dev/hdb On the secondary controller, master is /dev/hdc and slave is /dev/hdd
Next, you need to fdisk the new disk::
fdisk /dev/hdc
Then, you have to create a filesystem on the new partition(s) mke2fs will create an ext2 filesystem. If you want to create ext3 partitions, the command is::
mke2fs -j -L /somelabel
where somelabel is the name of a mountpoint. The -L argument puts a drive label on the partition.
Then you can mount the disk::
mount -t ext3 /dev/hdc1 /somelabel
If you want to make the partition mount every time you boot add an entry to your /etc/fstab::
LABEL/somelabel /somelabel ext3 defaults 1 2
see also "What's a good HD for Linux OS":LinuxHD
|
|
«
|
January
2009
|
»
|
| Su |
Mo |
Tu |
We |
Th |
Fr |
Sa |
|
|
|
|
1 |
2 |
3 |
| 4 |
5 |
6 |
7 |
8
|
9 |
10
|
| 11 |
12 |
13 |
14 |
15 |
16 |
17 |
| 18 |
19 |
20 |
21 |
22 |
23 |
24 |
| 25 |
26 |
27 |
28
|
29
|
30 |
31 |
-
General Meeting January 8, 2009
San Diego County Office of Education 6401 Linda Vista Rd Room 301,
2009-01-08
-
Installfest January 10, 2009
National City Adult Education Center: 517 Mile of Cars Way; National City, CA 91950,
2009-01-10
-
Open Source Conference, January 28,29 2009
Ramada Inn & Conference Center
5550 Kearny Mesa Rd.
San Diego, CA 92111,
2009-01-28
-
General Meeting, February 12, 2009
San Diego County Office of Education 6401 Linda Vista Rd Rooms 401 & 401,
2009-02-12
|