[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] hard disk problem
Ian,
On Fri, May 26, 2000 at 04:59:07PM +0100, Ian Wright wrote:
>
> However, I now seem to be running short of space on the main disk and so I
> would like to make the dos disk into a linux one and mount it on the system
> somehow. So, how do I do it? I tried fdisk and can change the partition type
> to 'linux' but I don't know then a) how to 'format' it to make it '/usr1' or
mkfs.ext2 is your friend! Just do a mkfs.ext2 /dev/XXXX, and
that's it. Check the man page for mkfs.ext2 (or mkfs, the wrapper for
all the different FS available) before you do it.
> something, b) how to stop it mounting as /mnt/DOS_hdb1 and mount it as a
> part of the main system. I have tried to find info in the 'man' pages etc
You want to have a look at /etc/fstab, and comment out/delete
the line that tells init to mount the dos drive as /mnt/sumthing. Of
course, you can now have a similar line that mounts your new drive.
Something along these lines will do the trick
/dev/hdb1 /MOUNTPOINT ext2 defaults,errors=remount-ro 0 1
That should sort you out!
Regards,
José
--
José L Gómez Dans PhD student
Radar & Communications Group
Department of Electronic Engineering
University of Sheffield UK
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.