Results 1 to 10 of 13
I've just created a new ext3 partition, how should I edit the /etc/fstab file to mount it the right way?
Thanks....
- 12-09-2006 #1Just Joined!
- Join Date
- Sep 2006
- Location
- Moscow
- Posts
- 18
Mounting a new ext3 partition
I've just created a new ext3 partition, how should I edit the /etc/fstab file to mount it the right way?
Thanks.
- 12-09-2006 #2
create mount point for new partition, open /etc/fstab file
and add this line in /etc/fstab fileCode:sudo mkdir /media/new_p sudo gedit /etc/fstab
press 'Enter' key at the end of this line. Last line should be blank in 'fstab' file.Code:/dev/<new_partition> /media/new_p ext3 defaults,umask=0 0 0
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-09-2006 #3Just Joined!
- Join Date
- Sep 2006
- Location
- Moscow
- Posts
- 18
I've done it and then tried to 'mount sda3', but had an error about sda3 not listed in /etc/fstab or /etc/mtab. What's wrong? Should I reboot?
I've checked, if I saved my edits, fortunately.
- 12-09-2006 #4
post the contents of /etc/fstab file and output of 'fdisk -l' command.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-09-2006 #5Just Joined!
- Join Date
- Sep 2006
- Location
- Moscow
- Posts
- 18
/etc/fstab/:
fdisk -l:Code:# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # /dev/hda1 UUID=02c74b1f-fcd3-4777-851d-f15686d769a8 / ext3 defaults,errors=remount-ro 0 1 # /dev/hdb2 UUID=b686bf9c-4904-11db-8a1c-83a57722edfc /media/hdb2 ext3 defaults 0 2 # /dev/sda1 UUID=9A44F7C48C2C597E /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1 # /dev/sda5 UUID=A45053035052DC1C /media/sda5 ntfs defaults,nls=utf8,umask=007,gid=46 0 1 # /dev/hda2 UUID=4ac46b4c-eb5b-4033-85e8-6cb50e13400f none swap sw 0 0 /dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/sda3 /media/music ext3 defaults,umask=0 0 0
The same as above, translated to engish by meCode:Диск /dev/sdb: 40.0 ГБ, 40000536576 байт 255 головок, 63 секторов/дорожку, 4863 цилиндров Единицы = цилиндры по 16065 * 512 = 8225280 байт Устр-во Загр Начало Конец Блоки Id Система /dev/sdb1 1 4863 39062016 c W95 FAT32 (LBA)
:
Code:Disc /dev/sdb: 40.0 ГБ, 40000536576 байт 255 heads, 63 sectors/дорожку, 4863 cylinders Единицы = cylinders by 16065 * 512 = 8225280 bytes Device Load Begin End Blocks Id System /dev/sdb1 1 4863 39062016 c W95 FAT32 (LBA)
sdb1 is my player
- 12-09-2006 #6
its confusing. how many Harddisks are plugged in? did you commented entries of hda, hdb and sda yourself in fstab file?
output of fdisk is showing only one HardDisk ( sdb ).
is this complete output of 'fdisk'? if yes, then second HardDisk ( sda ) is not plugged-in correctly and OS is not recognizing it.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-09-2006 #7NO:
Originally Posted by GolerGkA
mount sda3
YES:
sudo mount /dev/sda3
- 12-09-2006 #8did you check the output of 'fdisk' command posted by GolerGkA
Originally Posted by felipe1982
there isn't any sda3 partition listed in output.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-09-2006 #9Just Joined!
- Join Date
- Sep 2006
- Location
- Moscow
- Posts
- 18
All discs working, playing music from sda5 right now, fortunately sdb isn't the only one.
my translation:Code:$ sudo mount /dev/sda3 mount: неверный тип ФС, неверная опция, неверный суперблок на /dev/sda3, отсутствует кодовая страница или другая ошибка В некоторых случаях полезная информация может быть найдена в syslog - попробуйте dmesg | tail или что-то в этом роде
Code:$ sudo mount /dev/sda3 mount: incorrect FS type, incorrect option, incorrect superblock /dev/sda3 - no coding page or other error In some cases useful information can be found in syslog - try dmesg | tail or smth like that
- 12-09-2006 #10
i can't suggest you anything unless you post the 'complete' output of 'fdisk -l' command.
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


