RE: newbie - hard drive install

"John" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <000001c2df53$0529f2b0$0200000a@JOHN>
This is great info... just what I need and I sure appreciate it.

I can see the drive recognized at startup.  It's a slave on the first
IDE.  There is a CD as the master on the 2nd IDE.   

I can find the drive and the partition seemed to work... when I try and
mount it:

mount: block device /dev/hdb1 is write-protected, mounting read-only
mount: cannot mount block device /dev/hdb1 read-only

any clues?

john

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Bill Gradwohl
Sent: Thursday, February 27, 2003 11:26 AM
To: [email protected]
Subject: Re: newbie - hard drive install

ADDING A PHYSICAL VOLUME: 

Physically install the drive and have the controller recognize it.

For the purpose of example, assume the drive to be added is the first
volume on the second IDE controller, which makes it device hdc. Further
assume that the mount point for this new device will be /samba, and that
the entire device will be partitioned as one large area.

Only 4 partitions can be made on a device. If more segmentation is
required, then one of the partitions can be made an extended partition,
in which other logical partitions can be accommodated. Partition numbers
1 thru 4 are reserved for real partitions. Logical partitions start
their numbering at 5 regardless of how many real partitions are on the
device.

mkdir /samba - This will create a directory on the already mounted file
system to act as the mount point.	

fdisk /dev/hdc - This will create a partition on the device. If several
partitions are required, make them here.

mkfs.ext2 /dev/hdc1 - This will put an ext2 file system on the first (1)
partition of the device (hdc). If more partitions are on the device,
make more file systems for hdc2, hdc3, etc.
Alternately, use mke2fs -j /dev/hdc1 for an ext3 file system.

mount -t [ext2 or ext3] /dev/hdc1 /samba - This will mount the partition
at the mount point.

umount /samba - This will unmount the partition.

To have the partition automount at system startup, create an entry in
the /etc/fstab file similar to: 
/dev/hdc1          /samba           ext[2 or 3]    defaults        2 1


Bill Gradwohl
[email protected]
(817) 224-9400 x211
www.ycc.com



_______________________________________________
enigma-list mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/enigma-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.