Russell Nordquist on 31 Aug 2004 22:05:04 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Fwd: Re: [PLUG] Adding a new HD


On Tue, 2004-08-31 at 16:23, Art Alexion wrote:
> LeRoy Cressy wrote:
> 
> > First you need to use a disk partitioning tool like fdisk or cfdisk to
> > partition the new drive.
> 
> 
> I am getting fdisk errors and segfaults.  Here is the output of 
> /sbin/fdisk /dev/hdb:
>
>     Warning: too many partitions (16, maximum is 8).
> 

It sound like your partition map is messed up. Try using "cfdisk" and
see if it can handle it. Other wise clear the partition map by
dd if=/dev/zero of=/dev/hdb count=1 bs=512
*I am assuming you don't want the data on this drive and are trying to
start from scratch. Don't do the above dd command if you still want
whats on the drive. It won't delete it, but it will make the data hard
to find.


> I can mount the drive as /dev/hdb1.  I get the full 20 g in that single 
> partition, and can read the contents, but not execute any of the 
> executables (I tried some safe ones just to see if they would run.)
> 

what does it say when you try run the executable? Could the drive be
mounted "noexec". Of course this doesn't matter much if you are going to
repartition and start over?

russell 


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug