Create file system on Linux 9 and change fstab file
Posted on 2006-10-23
I have nstall second on my linux box. I used fdisk created 3partitions /dev/sdb1, /dev/sdb2, /dev/sdb3. I can see them fdisk -l.
I want to mount them to linux but have some errors.
1. I used command
mount -t ext3 /dev/sdb1 /work1
is ok without problem but I used another command
mount -t ext3 /dev/sdb2 /work2
gave me error msg, Wrong fs type, bad option, bad superblock...
How can I make it work?
2. I want to put them in fstab file to mount them when I reboot machine
/dev/hdb1 /work1 ext3 defaults 0 0
/dev/hdb2 /work2 ext3 defaults 0 0
but they did not work.
What is the correct configuration?