Results 1 to 7 of 7
linux-30jh:~ # mount /dev/hda /home/
mount: you must specify the filesystem type
linux-30jh:~ #
I don't quite understand. How do I specify the filesystem type? I think it is reiserfs....
- 12-17-2006 #1Linux Newbie
- Join Date
- Nov 2006
- Posts
- 125
How To Mount?
linux-30jh:~ # mount /dev/hda /home/
mount: you must specify the filesystem type
linux-30jh:~ #
I don't quite understand. How do I specify the filesystem type? I think it is reiserfs.
- 12-17-2006 #2
specify file system with '-t' option.
in command you posted, partition number is missing and you should create new mount point other than /home.Code:mount -t reiserfs /dev/hda1 <mount_point>
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-17-2006 #3Linux Newbie
- Join Date
- Nov 2006
- Posts
- 125
Any way to find out the filesystem? I tried dmesg | tail and it told me it couldn't find ReiserFS on hda. What is the default filesystem for 10.1? if not, 10.2?
- 12-17-2006 #4
default file system is 'reiserfs' in both 10.1 and 10.2. post the contents of /etc/fstab file and output of 'fdisk -l'. i think entries are wrong in fstab file.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-17-2006 #5Linux Newbie
- Join Date
- Nov 2006
- Posts
- 125
fdisk -l returned:
bash: /etc/fstab: Permission denied
linux-30jh:~ # su
linux-30jh:~ # cd /etc/fstab
bash: cd: /etc/fstab: Not a directory
linux-30jh:~ # fdisk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 262 2104483+ 82 Linux swap / Solaris
/dev/hda2 * 263 2873 20972857+ 83 Linux
/dev/hda3 2874 9729 55070820 83 Linux
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 2611 20972826 83 Linux
/dev/sda2 2612 30025 220202955 f W95 Ext'd (LBA)
/dev/sda3 30026 30401 3020220 82 Linux swap / Solaris
/dev/sda5 2612 5222 20972826 83 Linux
/dev/sda6 5223 30025 199230066 83 Linux
linux-30jh:~ #
fstab:
/dev/sda5 / ext3 acl,user_xattr 1 1
/dev/sda6 /home ext3 acl,user_xattr 1 2
/dev/sda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
By the way, I forgot how to open text files in terminal :$..
Thanks!!
- 12-17-2006 #6
hda1 is a SWAP partition and you can't open/mount it like other partitions.
for hda2 and hda3, create mount points and mount manually.
check /media folder after executing these commands. if it works, add code in /etc/fstab file for automatic mounting at boot up.Code:su - cd media mkdir hda2 hda3 mount -t reiserfs /dev/hda2 /media/hda2 mount -t reiserfs /dev/hda3 /media/hda3
Code:/dev/hda2 /media/hda2 reiserfs defaults,umask=0 0 0 /dev/hda3 /media/hda3 reiserfs defaults,umask=0 0 0
to view contents, you can use 'cat <filename>' or 'less <filename>'.By the way, I forgot how to open text files in terminal :$..
for editing files.. vi, nano or any other editor you like.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-17-2006 #7Linux Newbie
- Join Date
- Nov 2006
- Posts
- 125
THANKYOU OH HOLY ONE! Now I can finally install suse 10.2 to my HD.

I'm backing up data now.
. Yeah!
I reckon I'll install PC-BSD now though, while I have the chance. It looks real nice.
Once again, thankyou. I've spent a whole weekend on this.
EDIT: Not just figuring out how to mount. xD. I had trouble installing and ran into so many troubles it wasn't funny. I know Linux is great because it is so damn hard once you have a problem that you end up learning heaps, but this was TOO much learning!


Reply With Quote