Re: Converting the Pastor

Top Page
Attachments:
Message as email
+ (text/plain)
+ (application/pgp-signature)
Delete this message
Reply to this message
Author: Bill Jonas
Date:  
To: plug-discuss
Subject: Re: Converting the Pastor
On Sun, May 02, 2004 at 06:58:00AM -0700, Ed Skinner wrote:
>      But something I see about the single physical disk drive has left me 
> confused: Booting a Knoppix CDROM and doing "cat /etc/fstab" I see a single 
> partition, hda1.


Well, doesn't Knoppix build the fstab automatically? If there's no
filesystem on a partition, you can't mount it, so it wouldn't make sense
for it to be in the automatically-generated fstab.

> Similarly, "cat /proc/partitions" shows hda and hda1 with hda1
> *almost* the same as hda. I think that says there is one partition on
> the hard disk. Period.


You mean as far as size? I'm not sure what kernel Knoppix uses and/or
how it's changed from 2.4, but in 2.6, /proc/partitions shows only
major, minor, number of blocks, and name. If they look nearly the same,
it could just be that they have a near-identical number of blocks in
them.

My guess is that you have two partitions on the drive, but the
non-primary partition might not be formatted. Try doing "file -s
/dev/hda*" (and if those are symbolic links to files in
/dev/ide/host0/bus0/target0/lun0/, do it on the targets as well) to see
what kinds of filesystems and such are on the partitions and
"fdisk -l /dev/hda" to see what the partition table says.

-- 
Bill Jonas    *        *    http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door.  You step
into the Road,  and if you don't keep your feet,  there  is  no knowing
where you might be swept off to."  --  Bilbo Baggins