You are not logged in.
Good afternoon
I'm having trouble mounting the windows partition in the arch.
I tried the following command: # mount-t ntfs / dev/hda1 / mnt / windows
mount: special device / dev/hda1 does not exist
I find it odd, because I did the same procedure with a stick, riding the folder you created inside the mnt directory, and everything worked normally. But when I try to climb the partition of win, gave this message. In the system win, I have two partitions that would be the letters C: and D:.
Last edited by claupper (2011-01-09 12:42:11)
Offline
Don't you have blank characters in the path?
In other words, shouldn't it read
mount-t ntfs /dev/hda1 /mnt/windows
Offline
Check what's the name of the partition: sda1, hda1 or maybe something entirely different.
Read about ntfs: https://wiki.archlinux.org/index.php/NTFS-3G
Last edited by karol (2010-12-31 18:11:40)
Offline
Now it happened:
mount-t ntfs / dev/sda2 / mnt / windows
mount: wrong fs type, bad option, bad superblock on / dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
The partition is sdb2 with access denied, and rose only a partition, the other gave the above error.
Offline
In the partition sda1 he climbs normally, but that sda2 is the partition of data that I want, he tells me the following message below:
NTFS signature is missing.
Failed to mount '/dev/sda2': Argumento inválido
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Offline
In the partition sda1 he climbs normally, but that sda2 is the partition of data that I want, he tells me the following message below:
NTFS signature is missing.
Failed to mount '/dev/sda2': Argumento inválido
The device '/dev/sda2' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
I managed to solve, just like to know how to partition up with the system?
Offline
Install ntfs-3g and try
mount -t ntfs-3g /dev/sda2 /mnt/windows
assuming you have a folder named /mnt/windows.
Offline
Install ntfs-3g and try
mount -t ntfs-3g /dev/sda2 /mnt/windows
assuming you have a folder named /mnt/windows.
I put the following line in / etc / fstab as it is at https: / / wiki.archlinux.org/index.php/NTFS-3G you gave me:
# <file system> <dir> <type> <options> <dump> <pass>
/dev/<NTFS-sda5> /mnt/windows ntfs-3g defaults 0 0
But it did not go up automatically partition my win!
What can I do?
Offline
/dev/<NTFS-sda5> - you need to put your real partition name here, like /dev/sda5:
# <file system> <dir> <type> <options> <dump> <pass>
/dev/sda5 /mnt/windows ntfs-3g defaults 0 0
Last edited by karol (2011-01-02 00:22:57)
Offline
/dev/<NTFS-sda5> - you need to put your real partition name here, like /dev/sda5:
# <file system> <dir> <type> <options> <dump> <pass> /dev/sda5 /mnt/windows ntfs-3g defaults 0 0
I changed the line as you indicate, but even so the partition does not come up?
Offline
claupper,
The output of the three following commands would be very useful to the people who want to help you. I've posted the commands with the results from my machine, below.
Please post the output of 'fdisk -l'. Run the command as root. This will allow others to see your disk partitions exactly.
[root@chickadee]# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002e41c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 83 Linux
/dev/sda2 206848 4401151 2097152 82 Linux swap / Solaris
/dev/sda3 4401152 625141759 310370304 5 Extended
/dev/sda5 4403200 35860479 15728640 83 Linux
/dev/sda6 35862528 44251135 4194304 83 Linux
/dev/sda7 44253184 537083903 246415360 83 Linux
/dev/sda8 537085952 625141759 44027904 7 HPFS/NTFS
Then check that ntfs-3g is installed. This is the driver that allows you to read and write to MS Windows partitions.
[root@chickadee]# pacman -Q ntfs-3g
ntfs-3g 2010.10.2-1
And finally, the contents of the '/mnt' directory:
11:27 ~ $ ls /mnt
arch-backup custom win-backup windows
Offline
claupper,
The output of the three following commands would be very useful to the people who want to help you. I've posted the commands with the results from my machine, below.
Please post the output of 'fdisk -l'. Run the command as root. This will allow others to see your disk partitions exactly.
..........SNIPPED -- Inxsible
NTFS-3g is installed.
I want my windows partition to mount is / dev/sda5 and inside the directory / mnt folder has the windows that I created ok.
Just can not put the results that you asked, because I'm not home all right?
What can be done now?
Last edited by Inxsible (2011-01-06 13:22:17)
Offline
I keep wondering if you just have a 'typo', a typographical error.
In these forum posts,
where I would type:
mount -t ntfs /dev/sda2 /mnt/windows
You are typing:
mount-t ntfs / dev/sda2 / mnt / windows
The extra "whitespace" in the directoriy names, as you have typed them in your posts, would cause the commands to fail.
I'm being very detailed here. Where I would type:
mount whitespace -t whitespace ntfs whitespace /dev/sda2 whitespace /mnt/windows
You have typed:
mount-t whitespace ntfs whitespace / whitespace dev/sda2 whitespace / whitespace mnt whitespace / whitespace windows
To help you, we need to know exactly what you are typing. If you would use code tags, as shown at http://www.bbcode.org/examples/?id=15, we would be helped very much. Pasting the exact commands as you have written them, between code tags, would let others search for typos with you.
Offline
I keep wondering if you just have a 'typo', a typographical error.
In these forum posts..... SNIPPED -- Inxsible
To help you, we need to know exactly what you are typing. If you would use code tags, as shown at http://www.bbcode.org/examples/?id=15, we would be helped very much. Pasting the exact commands as you have written them, between code tags, would let others search for typos with you.
mount-t ntfs /dev/sda5 /mnt/windows
Put this way the command!
Last edited by Inxsible (2011-01-06 13:21:45)
Offline
Did you try with a space between mount and -t
Offline
Did you try with a space between mount and -t
Yes, but did not change anything!
The only partition that goes up, this is the sda1 hd
Offline
claupper,
The output of the three following commands would be very useful to the people who want to help you. I've posted the commands with the results from my machine, below.
Please post the output of 'fdisk -l'. Run the command as root. This will allow others to see your disk partitions exactly.
[.....Snipped - Inxsible
Herethe results requested
Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 63 31455269 15727603+ 7 HPFS ou NTFS
/dev/sda2 31455270 78140159 23342445 f W95 Ext'd (LBA)
/dev/sda5 31455333 78140159 23342413+ 7 HPFS ou NTFS
Disk /dev/sdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders, total 39102336 sectors
Units = setores of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x039e039e
Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 63 208844 104391 83 Linux
/dev/sdb2 208845 738989 265072+ 82 Linux swap / Solaris
/dev/sdb3 738990 33511589 16386300 83 Linux
/dev/sdb4 33511590 39102209 2795310 83 Linux
ntfs-3g 2010.10.2-1
ls /mnt
pendrive windows
Offline
Your first post used "dev/hda1"
$ ls /dev/hda1
ls: cannot access /dev/hda1: No such file or directory
## machine translation:
## não pode acessar /dev/hda1: Nenhum tal arquivo ou diretório
$ ls /dev/sda1
/dev/sda1
$ mount /dev/hda1 /mnt/windows
mount: only root can do that
## mount: só a raiz pode fazer isto
$ sudo mount /dev/hda1 /mnt/windows
Password:
mount: special device /dev/hda1 does not exist
## mount: o dispositivo especial/dev/hda1 não existe
$ sudo mount /dev/sda1 /mnt/windows
$ ls /mnt/windows
Autodesk Config.Msi Recovery Windows Documents and Settings
$AVG NVIDIA $Recycle.Bin autoexec.bat globdata.ini
Boot PerfLogs Swsetup bootmgr pagefile.sys
cabs ProgramData System Volume Information BOOTSECT.BAK
CDDB Program Files Users config.sys
Offline
Your first post used "dev/hda1"
.....MOD EDIT : snipped repeating code tags --Inxsible
How so? Could not understand what I do now
Last edited by Inxsible (2011-01-06 13:17:20)
Offline
'/dev/hdaN' will not work. Recent kernels and udev name hard disks using '/dev/sdaN'.
Your 'fdisk -l' tells me that the Windows hard drive partitions are at '/dev/sda1' and '/dev/sda5'.
Herethe results requested Dispositivo Boot Start End Blocks Id System /dev/sda1 * 63 31455269 15727603+ 7 HPFS ou NTFS /dev/sda2 31455270 78140159 23342445 f W95 Ext'd (LBA) /dev/sda5 31455333 78140159 23342413+ 7 HPFS ou NTFS
If I look for '/dev/hda1' with 'ls', I find 'dev/hda1' does not exist.
$ ls /dev/hda1
ls: cannot access /dev/hda1: No such file or directory
Does '/dev/sda1' exist? 'ls' finds '/dev/sda1'.
$ ls /dev/sda1
/dev/sda1
-----
If I try to mount a device that doesn't exist, '/dev/hda1', I get an error message.
I use 'sudo' to get root privileges.
$ sudo mount /dev/hda1 /mnt/windows
mount: special device /dev/hda1 does not exist
I can mount '/dev/sda1' at '/mnt/windows' because both exist.
$ sudo mount /dev/sda1 /mnt/windows
Because there were no error messages, I know the mount was successful.
Note: 'mount' will recognize many filesystem types without the user having to use '-t <filesystem-type>'. NTFS is one of those filesystem types.
-----
I check that the mount of the Windows partition was successful by listing, 'ls', the contents of the '/mnt/windows' directory.
$ ls /mnt/windows
Autodesk Config.Msi Recovery Windows Documents and Settings
$AVG NVIDIA $Recycle.Bin autoexec.bat globdata.ini
Boot PerfLogs Swsetup bootmgr pagefile.sys
cabs ProgramData System Volume Information BOOTSECT.BAK
CDDB Program Files Users config.sys
-----
You can also mount a Windows partition using 'ntfs-3g'. Without 'ntfs-3g' a Windows partition will be mounted read-only. With 'ntfs-3g', you can write to the mounted Windows partitions.
# ntfs-3g /dev/sda1 /mnt/windows
Last edited by thisoldman (2011-01-04 12:36:45)
Offline
'/dev/hdaN' will not work. Recent kernels and udev name hard disks using '/dev/sdaN'.
Your 'fdisk -l' tells me that the Windows hard drive partitions are at '/dev/sda1' and '/dev/sda5'.
....MOD EDIT - snipped the repetetive code tags....-- Inxsible
He read only the system partition and not the partition you want, ie the data mean?
what do you recommend for me to do?
Last edited by Inxsible (2011-01-06 13:18:45)
Offline
Assuming that your first volume is mounted on /mnt/windows, do you have a second mount point in /mnt for /dev/sda5? Perhaps you should create a second directory called /mnt/win2 and mount /dev/sda5 there
Offline
claupper,
We see you have two Windows partitions. The second one is '/dev/sda5'.
To mount a partition, it must have a mount point. skunktrader suggests making a mount point for the second partition by using this command, as root:
# mkdir /mnt/win2
Mount the second partition '/devsda5' using the mount point that was created.
# mount /dev/sda5 /mnt/win2
Check if this partition is the partition you wanted. You can do this as an ordinary user.
$ ls /mnt/win2
Offline
claupper,
We see you have two Windows partitions. The second one is '/dev/sda5'.
To mount a partition, it must have a mount point. skunktrader suggests making a mount point for the second partition by using this command, as root:
# mkdir /mnt/win2
Mount the second partition '/devsda5' using the mount point that was created.
# mount /dev/sda5 /mnt/win2
Check if this partition is the partition you wanted. You can do this as an ordinary user.
$ ls /mnt/win2
I tried your suggestion, but the partition is not rising to the setting enm I put the file in / etc / fstab understand.
It's tricky business here!
And at boot time of the arch, the system displays a message about example of mounting the partition on / mnt / windows as I did the first time and had worked, but do not want to climb the system partition, but the data.
Offline
We need to know exactly what you entered and the specific error messages. We need the [ code ].
Offline