mount question

Hi,
I have a 160GB hard drive. The first partition is 4GB (QNX4), the second is
up to the limit of a non-lba48 BIOS (137GB), and the last is whatever space
is available with an lba48 capable BIOS. I’m trying to get the drive to
boot, but having a problem when I do mount -p.

If I boot off of another drive, and do mount -p /dev/hd1.0, I get an error
about the last partition being beyond the drive capacity (as it doesn’t know
how to address that high). It will list the partitions in /dev that it was
able to mount, and I can then mount those partitions and use them.

When I boot off the drive itself, when the boot image is being run, the same
mount error occurs and stops. What I’d like it to do is fail to mount that
paritition, but continue on and do what it can. Anybody know of a way I can
do this?

Thanks,
Ron

Ron Cococcia <ron.nospam@request.nospam.com> wrote:

I have a 160GB hard drive. The first partition is 4GB (QNX4), the second is
up to the limit of a non-lba48 BIOS (137GB), and the last is whatever space
is available with an lba48 capable BIOS. I’m trying to get the drive to
boot, but having a problem when I do mount -p.
If I boot off of another drive, and do mount -p /dev/hd1.0, I get an error
about the last partition being beyond the drive capacity (as it doesn’t know
how to address that high). It will list the partitions in /dev that it was
able to mount, and I can then mount those partitions and use them.
When I boot off the drive itself, when the boot image is being run, the same
mount error occurs and stops. What I’d like it to do is fail to mount that
paritition, but continue on and do what it can. Anybody know of a way I can
do this?

Sound like you’re running all your mount commands together in the boot
file on the same line (like “mount -p /dev/hd0 /dev/hd0t77 /”). The
“mount -p” part will exit on an invalid partition error. I can’t see a
way to stop it doing this. So, use two invocations of mount in the boot
file (one to do the ‘-p’ and another to mount the filesystems) … ?!