[SLUG] OOps fstab

Paul Teasdale pdt at rcsuk.demon.co.uk
Sun Apr 16 19:22:18 BST 2006


On Sun, April 16, 2006 17:53, john at johnallsopp.co.uk wrote:
>> What determines the owner of my new partitions. My first work
>> partition is owned by me, these new ones are owned by root, how can I
>> change that? fstab doesn't seem to control that.
>
> I thought mkfs would work but it's not allowing me (permissions) to
> create a file system. I can't access /dev/sda from fdisk unless I'm
> root. So I can't create partitions unless I'm root, and I can't create
> a filesystem unless I'm root, so where do I get to say I own the thing
> .. in the mount, I'd have thought, which is fstab, which doesn't seem
> to provide that facility.
>
> J
>
I don't really follow what you are trying to do. Running mkfs will surely
loose all the data on your disk partition.

I thought it was simply a case that you had corrupted your fstab and
needed to recover it. As I have already said all you need to do is boot
Knoppix, login as root, mount the disk partition with your corrupted
fstab, correct error, save fstab and then reboot.

Also you mention /dev/sda. Do you have a SCSI disk drive?

If you explain a little bit more about what you are trying to then I'll
try and help.

Rgds,
Paul.






More information about the Scarborough mailing list