Nothing has changed. You are doing something wrong.Originally Posted by doggiebone
Post a copy of /etc/fstab and the output of sfdisk -l
Jim H
Hi guys
in redat 7.3 I was able to mount my windows 98 partition and access. however, in redhat 8.0 its not the same. Simply how do I mount my windows partitions in RH8.0 and access it.
this is the error I'm currently getting
Could not mount device.
The reported error was:
[mntent]: warning: no final newline at the end of /etc/fstab
mount: can't find /mnt/hda1 in /etc/fstab or /etc/mtab
Nothing has changed. You are doing something wrong.Originally Posted by doggiebone
Post a copy of /etc/fstab and the output of sfdisk -l
Jim H
Hi Jim
sorry for taking so long to get back to you.
---------------------------------------------------------
Disk /dev/sda: 522 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 * 0+ 521 522- 4192933+ b Win95 FAT32
/dev/sda2 0 - 0 0 0 Empty
/dev/sda3 0 - 0 0 0 Empty
/dev/sda4 0 - 0 0 0 Empty
Disk /dev/hdc: 13328 cylinders, 15 heads, 63 sectors/track
Units = cylinders of 483840 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hdc1 * 0+ 1852 1853- 875511 82 Linux swap
/dev/hdc2 0 - 0 0 0 Empty
/dev/hdc3 0 - 0 0 0 Empty
/dev/hdc4 0 - 0 0 0 Empty
Disk /dev/hda: 2434 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 1215 1216- 9767488+ c Win95 FAT32 (LBA)
/dev/hda2 1216 2433 1218 9783585 f Win95 Ext'd (LBA)
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty
/dev/hda5 1216+ 2324 1109- 8908011 83 Linux
without a copy of /etc/fstab i can only guess, but this is what i think:
you are tying to mount the drive onto a folder called /mnt/hda1. maybe your old one was called /mnt/windows?mount: can't find /mnt/hda1 in /etc/fstab or /etc/mtab
you will have to edit /etc/fstab and fix the line relating the windows drive to point to the correct folder name.
maybe if you post /etc/fstab, and the output of : ls /mnt
Alastair
whatdoyougetwhenyoumultiplysixbynine??
Hi m8
when I mounted my windows partition in RH7.3 I only edited the /etc/fstab. As you've pointed out the /etc/mtab do I need to edit this too?. Cos I only edited the /etc/fstab in Rh8.0
doggiebone
no, you only have to edit one of them.
post the things I/JimH told you to post and we should be able to get you fixed up
whatdoyougetwhenyoumultiplysixbynine??
ok heres the last bit the /etc/fstab this works on RH7.3
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdc1 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1/mnt/winhdauto user,defaults 0 0
right i think this is your problem.
there is a folder in /mnt called hda1, but the line in /etc/fstab says it should be called /mnt/winhd
you will have to change one of them so they both say the same thing (im refering to the last line on fstab)
Alastair
whatdoyougetwhenyoumultiplysixbynine??
Ok m8
I'll check it out when I get home as I'm at work and I'll let you know if it worksMind you I can't see why it should not.
thanks for your help
Bookmarks