You are not logged in.

#1 2010-12-31 17:03:48

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Partition win does not rise in the arch? (Solved)

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

#2 2010-12-31 17:19:12

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Partition win does not rise in the arch? (Solved)

Don't you have blank characters in the path?

In other words, shouldn't it read

mount-t ntfs /dev/hda1 /mnt/windows

Offline

#3 2010-12-31 18:10:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Partition win does not rise in the arch? (Solved)

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

#4 2011-01-01 13:53:33

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

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

#5 2011-01-01 14:12:07

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

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

#6 2011-01-01 14:15:53

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

claupper wrote:

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

#7 2011-01-01 14:17:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Partition win does not rise in the arch? (Solved)

Install ntfs-3g and try

mount -t ntfs-3g /dev/sda2 /mnt/windows

assuming you have a folder named /mnt/windows.

Offline

#8 2011-01-02 00:10:40

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

karol wrote:

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

#9 2011-01-02 00:22:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Partition win does not rise in the arch? (Solved)

/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

#10 2011-01-02 14:25:55

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

karol wrote:

/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

#11 2011-01-02 16:29:47

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

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

#12 2011-01-02 16:43:43

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

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

#13 2011-01-02 22:45:02

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

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

#14 2011-01-03 15:58:30

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

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

#15 2011-01-03 15:59:33

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Partition win does not rise in the arch? (Solved)

Did you try with a space between mount and -t

Offline

#16 2011-01-03 19:12:06

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

skunktrader wrote:

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

#17 2011-01-03 23:27:07

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

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

#18 2011-01-04 00:19:23

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

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

#19 2011-01-04 10:43:08

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

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

#20 2011-01-04 12:19:03

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

'/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

#21 2011-01-04 18:55:06

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

'/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

#22 2011-01-04 19:01:43

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: Partition win does not rise in the arch? (Solved)

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

#23 2011-01-05 00:23:37

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

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

#24 2011-01-06 10:42:13

claupper
Member
From: Sao Paulo/Brazil
Registered: 2009-11-05
Posts: 76
Website

Re: Partition win does not rise in the arch? (Solved)

thisoldman wrote:

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

#25 2011-01-06 12:20:30

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: Partition win does not rise in the arch? (Solved)

We need to know exactly what you entered and the specific error messages.  We need the [ code ].

Offline

Board footer

Powered by FluxBB