Dear All
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Thanks in advance,
Paul
On 28/08/05, Paul Smith phhs80@gmail.com wrote:
Dear All How can I mount the following at the startup: mount /dev/hda1 /mnt/windows Thanks in advance, Paul
Make an entry for the partition in /etc/fstab see 'man fstab' for more details.
Paul Smith wrote:
Dear All
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Thanks in advance,
Paul
Maybe this will help. It will mount under /media though.
http://darkknight9.blogspot.com/2005/08/ntfs-volume-labels-on-gnome-computer...
I didn't want to tinker with any of the default HALD settings. So, if you just drop this in /usr/share/hal/fdi/policy/10osvendor/ your ntfs drives should be automounted (provided you have NTFS support).
Best, -M
On 8/28/05, Mostafa Z. Afgani mostafa.afgani@world.iu-bremen.de wrote:
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Maybe this will help. It will mount under /media though.
http://darkknight9.blogspot.com/2005/08/ntfs-volume-labels-on-gnome-computer...
I didn't want to tinker with any of the default HALD settings. So, if you just drop this in /usr/share/hal/fdi/policy/10osvendor/ your ntfs drives should be automounted (provided you have NTFS support).
Thanks, Mostafa. My MS Windows partition is fat32 formatted.
Paul
Paul Smith wrote:
On 8/28/05, Mostafa Z. Afgani mostafa.afgani@world.iu-bremen.de wrote:
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Maybe this will help. It will mount under /media though.
http://darkknight9.blogspot.com/2005/08/ntfs-volume-labels-on-gnome-computer...
I didn't want to tinker with any of the default HALD settings. So, if you just drop this in /usr/share/hal/fdi/policy/10osvendor/ your ntfs drives should be automounted (provided you have NTFS support).
Thanks, Mostafa. My MS Windows partition is fat32 formatted.
Paul
Then you just need to change the options accordingly.
<match key="volume.partition.msdos_part_table_type" int="0x07">
will probably become
<match key="volume.partition.msdos_part_table_type" int="0x0b">
or if you use LBA
<match key="volume.partition.msdos_part_table_type" int="0x0c">
Also, you will want to change the 'umask', 'ro', and other options as you see fit.
On 8/28/05, Mostafa Z. Afgani > >>>How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Maybe this will help. It will mount under /media though.
http://darkknight9.blogspot.com/2005/08/ntfs-volume-labels-on-gnome-computer...
I didn't want to tinker with any of the default HALD settings. So, if you just drop this in /usr/share/hal/fdi/policy/10osvendor/ your ntfs drives should be automounted (provided you have NTFS support).
Thanks, Mostafa. My MS Windows partition is fat32 formatted.
Then you just need to change the options accordingly.
<match key="volume.partition.msdos_part_table_type" int="0x07">
will probably become
<match key="volume.partition.msdos_part_table_type" int="0x0b">
or if you use LBA
<match key="volume.partition.msdos_part_table_type" int="0x0c">
Also, you will want to change the 'umask', 'ro', and other options as you see fit.
Thanks again, Mostafa.
Paul
Paul Smith wrote:
On 8/28/05, Mostafa Z. Afgani > >>>How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Maybe this will help. It will mount under /media though.
http://darkknight9.blogspot.com/2005/08/ntfs-volume-labels-on-gnome-computer...
I didn't want to tinker with any of the default HALD settings. So, if you just drop this in /usr/share/hal/fdi/policy/10osvendor/ your ntfs drives should be automounted (provided you have NTFS support).
Thanks, Mostafa. My MS Windows partition is fat32 formatted.
Then you just need to change the options accordingly.
<match key="volume.partition.msdos_part_table_type" int="0x07">
will probably become
<match key="volume.partition.msdos_part_table_type" int="0x0b">
or if you use LBA
<match key="volume.partition.msdos_part_table_type" int="0x0c">
Also, you will want to change the 'umask', 'ro', and other options as you see fit.
Thanks again, Mostafa.
Paul
A simpler fix (IMHO) is to add a line like this to your /etc/fstab
/dev/hdc5 /media/windows vfat pamconsole,users,exec 0 0
Just change the /dev/hdc5 to wherever your vfat partition is located. This will do what you want though it is slightly less elegant, as the hal fixes will autofind any vfat partitions you make.
Scott
Paul Smith wrote:
Dear All
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
?
Thanks in advance,
Paul
as root, mkdir /windows/c
From my /etc/fstab:
/dev/sda1 /windows/c ntfs users,owner,ro,umask=000 0 0
You'd use /dev/hda1 for the Windows C: drive
On 8/28/05, Steven Stern subscribed-lists@sterndata.com wrote: ...
How can I mount the following at the startup:
mount /dev/hda1 /mnt/windows
...
as root, mkdir /windows/c
From my /etc/fstab:
/dev/sda1 /windows/c ntfs users,owner,ro,umask=000 0 0
You'd use /dev/hda1 for the Windows C: drive
...
# This file is edited by fstab-sync - see 'man fstab-sync' for details LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 none /dev/shm tmpfs defaults 0 0 none /proc proc defaults 0 0 none /sys sysfs defaults 0 0 /dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0 /dev/fd0 /media/floppy auto pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0 /dev/hda1 /mnt/windows vfat users,owner,ro,umask=000 0 0
However, I'm not sure "where" the windows partition "is", except that I can't change directory to /dev/hda1, so I know it's not there.
Everything above is from my actual fstab except the last line to mount the vfat/FAT32/windows partition.
The files /dev/hda and /dev/hda1 and /dev/hda3 are empty, and shouldn't they be directories, not files? My FC3 system's a bit mucked up somehow.
-Thufir
On Wed, 2005-10-05 at 07:00 +0100, THUFIR HAWAT wrote:
/dev/hda1 /mnt/windows vfat users,owner,ro,umask=000 0 0
However, I'm not sure "where" the windows partition "is", except that I can't change directory to /dev/hda1, so I know it's not there.
It's mounted where your fstab file says: /mnt/windows
The /dev/hda1 bit is the hardware location, you won't be able to "browse" that directly.
On 10/5/05, Tim ignored_mailbox@yahoo.com.au wrote: ...
The /dev/hda1 bit is the hardware location, you won't be able to "browse" that directly.
...
How do I know that /dev/hda1 is the windows partition? If my fstab is in error about the partitions, just on that last line for the vfat partition location, will it have side effects?
Thanks,
Thufir
Tim:
The /dev/hda1 bit is the hardware location, you won't be able to "browse" that directly.
THUFIR HAWAT:
How do I know that /dev/hda1 is the windows partition?
I was assuming that fstab was written correctly, and that you were just trying to access the drive incorrectly.
If my fstab is in error about the partitions, just on that last line for the vfat partition location, will it have side effects?
It's options were set to mount it read-only, so you shouldn't be able to do any harm if you've mounted the wrong partition.
As root, type in the following command line, and it'll list the partitions on your system. If it's not /dev/hda1, you can try the others it lists. (That's a small letter L after the dash, not a number one).
e.g. fdisk -l
On 10/5/05, Tim ignored_mailbox@yahoo.com.au wrote: ...
I was assuming that fstab was written correctly, and that you were just trying to access the drive incorrectly.
...
results of fstab-l: Disk /dev/hda: 30.7 GB, 30750031872 bytes 255 heads, 63 sectors/track, 3738 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 1427 11462346 c W95 FAT32 (LBA) /dev/hda3 1428 3738 18563107+ 83 Linux
So, thank you. I made it read/write for the vfat partition and am backing up my data prior to a FC4 upgrade. Gee, FC1,2,3,4, it's a bit much. I'm thinking of switching to Gentoo. I guess I don't really need to upgrade, but might as well.
Thanks,
Thufir