You are not logged in.

#1 2006-09-13 13:45:10

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

New partition.. Cant mount..

Hello.. I since I am not using windows anymore i have formated my NTFS partition and made it a reiserfs... When I ty to mount it i am just getting this error:

mount: wrong fs type, bad option, bad superblock on /dev/sda1,

       missing codepage or other error

       in some cases useful info is found in syslog - try

       dmesg | tail  or so

I remember that my mate, jaboua, did something in some files to set the mountoptions etc.. Do I have to edit those? How?

Offline

#2 2006-09-13 14:04:23

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: New partition.. Cant mount..

put an entry in /etc/fstab like the following:

/dev/sda1 /mountpoint reiserfs defaults 0 1

Now it will be automounted on system startup.

If you want to mount it manually (you don't need the above entry), do as root:

mount -t reiserfs /dev/sda1 /mountpoint

There are also ways to mount as user, not sure if you need them ?

Offline

#3 2006-09-13 14:41:31

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: New partition.. Cant mount..

Thank you! On my other reiserfs partition i see that i got this:
/dev/sda3   /   reiserfs notail,noatime  0  0
Why notail,noatime? Do I need that too on the other one?

Offline

#4 2006-09-13 15:14:30

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: New partition.. Cant mount..

# noatime turns off atimes for increased performance (atimes normally aren't needed)
# notail increases performance of ReiserFS (at the expense of storage efficiency).

So it is your call if you want to include them or not wink

Offline

#5 2006-09-13 15:34:08

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: New partition.. Cant mount..

Thank you.. aand .. Why do I have to use 0 1 ? I am using 0 0 on all of the other stuff..?

Offline

#6 2006-09-13 15:46:29

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: New partition.. Cant mount..

those entries are

<dump> <pass>

the <dump> entry is used by the dump utility to decide when to make a backup. In most cases you want to use 0 here.

the <pass> entry has 3 possible values, '0', '1', or '2'. It is used by fsck to decide in which order the filesystems should be checked at system boot. For the root partition this should be 1, for partitions which should never be checked (like swap) you should have 0, for all other partitions you should have 2.

To wrap up, if your reiserfs partition is not your root partition, you most likely will need 0 2  big_smile

[edit]
most likely you may want to change your root partition to 0 1

Offline

#7 2006-09-13 15:50:57

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: New partition.. Cant mount..

#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/hdc               /cd       udf,iso9660   ro,user,noauto      0      0
/dev/fd0               /mnt/fl   vfat,ext2     user,noauto         0      0

/dev/sda2              swap      swap          defaults            0      0
/dev/sda3              /         reiserfs      notail,noatime      0      0
/dev/sda1              /imbalol  reiserfs      notail,noatime      0      1
/dev/sdb1              /win_d    ntfs          uid=1000,gid=100,utf8 0    0


What can I do with this to make it "better"?

EDIT:
Now it is like this:

#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/hdc               /cd       udf,iso9660   ro,user,noauto      0      0
/dev/fd0               /mnt/fl   vfat,ext2     user,noauto         0      0

/dev/sda2              swap      swap          defaults            0      0
/dev/sda3              /         reiserfs      notail,noatime      0      1
/dev/sda1              /imbalol  reiserfs      notail,noatime      0      2
/dev/sdb1              /win_d    ntfs          uid=1000,gid=100,utf8 0    0

What can I make better?

EDIT2:
Now I am just getting "mountpoint imbalol does not exist" or something like that.. How do I create a mountpoint? I wont have it on the old one.. (win_c)

Offline

#8 2006-09-13 16:30:56

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: New partition.. Cant mount..

Ole Erik wrote:

EDIT:
Now it is like this:

#
# /etc/fstab: static file system information
#
# <file>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/hdc               /cd       udf,iso9660   ro,user,noauto      0      0
/dev/fd0               /mnt/fl   vfat,ext2     user,noauto         0      0

/dev/sda2              swap      swap          defaults            0      0
/dev/sda3              /         reiserfs      notail,noatime      0      1
/dev/sda1              /imbalol  reiserfs      notail,noatime      0      2
/dev/sdb1              /win_d    ntfs          uid=1000,gid=100,utf8 0    0

What can I make better?

this looks fine

Ole Erik wrote:

EDIT2:
Now I am just getting "mountpoint imbalol does not exist" or something like that.. How do I create a mountpoint? I wont have it on the old one.. (win_c)

A mountpoint is just a directory where the filesystem should be mounted.
So you should create the directory /imbalol (you need to be root to do this)

Offline

#9 2006-09-13 17:02:19

Ole Erik
Member
Registered: 2006-08-06
Posts: 85

Re: New partition.. Cant mount..

pressh wrote:

A mountpoint is just a directory where the filesystem should be mounted.
So you should create the directory /imbalol (you need to be root to do this)

Thank you for assisting me! 8)

Offline

#10 2006-09-13 17:17:07

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: New partition.. Cant mount..

Ole Erik wrote:

Thank you for assisting me! 8)

no problem  big_smile

Offline

Board footer

Powered by FluxBB