NTFS partition problem

Hello.

I am installing leap 42.2 RC2 on a laptop with 42.1 already installed.
I am changing all the partitioning.
During the install I got 3 errors for 3 ntfs partitions.
Have to run gparted after installation and format the 3 partitions manually, then run yast2/partitioner to set the mounts point.

Any comment is welcome.

Care to share the errors thrown?? Did you set the installer to create and format the NTFS partitions or just mount them?

It was a clean install ==> create, format and mount.
The installer give me one error for each ntfs partition during the creation, and one error for each ntfs partition during the mount stage ( Normal as the partitions were not created).

Where is the install log. I have search it in /var/log but found nothing about install.

Make sure the WIndows controlling these partitions is shutdown completely ( i.e. disable fastboot ). And, yes please, show us real output.

Odd maybe a bug. But without the exact error message I don’t know. Maybe you set something wrong???

[QUOTE=Knurpht;2799641]Make sure the WIndows controlling these partitions is shutdown completely ( i.e. disable fastboot ). And, yes please, show us real output.[/QUOT]

Although I haven’t tried it,
I understand that you can fully shut down a MSWindows machine by

Open a console, eg

Run... 
CMD

Then type in

/shutdown

TSU

[quote="“tsu2,post:6,topic:121952”]

Hi
You can run direct, no need for a shell and it’s;


shutdown /s

I add as a desktop shortcut with a time option /t 5 (5 seconds).

If when shutting down if you hold the shift key and select shutdown it also does a full shutdown…

These partition are used by a guest windows VM which of course is not installed yet during a fresh install of OS

I would like but how ?
Where is the install log ?

This is possible.
But is it possible to set a new partition ( setting the size, the mount point … ) without formatting ?

As I said in post #1, it is a clean install.

                 Hello.

I am installing leap 42.2 RC2 on a laptop with 42.1 already installed.
I am changing all the partitioning.
During the install I got 3 errors for 3 ntfs partitions.
Have to run gparted after installation and format the 3 partitions manually, then run yast2/partitioner to set the mounts point.

Any comment is welcome.

If one tell me where is the log, I shall post the error message

AFAIK you can create a partition at install but you cant mount it if it does not have a file system. A partition is just a container what is mounted is the file system in that container.

Don’ t know where install sets its logs

I redo the same install on the same machine.
Here the error that I write down.

Failure occured during the following action : Formatting partition /dev/sdb11 (39.00 Gib) with ntfs-3g.
VOLUME_FORMAT_UNKNOWN_FS
System error code was -3005

Should be a bug or ntfs-3g is not available during install (on the iso).

Any idea ?

Yes.
The installer does not support formatting partitions with NTFS.

But you should already know this, as you have been told in the bug report you filed too.
https://bugzilla.suse.com/show_bug.cgi?id=1012669

Try to format them after the installation (you should be able to create empty partitions, or use a different filesystem temporarily), maybe with gparted or similar if YaST doesn’t support it at all.
(you could also partition your hard disk before running the installation of course, e.g. via a gparted LiveCD)

PS: Actually I don’t really understand why you want to format NTFS partitions for your VMs manually in the first place.
VMs normally use virtual hard disks which are just files on your (Linux) partition.
But even if you want to use partitions directly for your VMs, the Windows installer should be able to format them anyway (during installation of the guest).
[RIGHT][/RIGHT]

The reason is that I use real apps files from real windows box. I put them in partition with the same organization as in the real windows box. To do so, I configure the shared folders in the VM as in the real windows box. Each windows VM itself reside in an ext4 partition. I need that the guest find no difference between the files coming from a real windows box or from the linux box. And vice-versa from the real windows box point of view.
I did not try to put the shared folders on an ext4 or xfs partition.
I am using a windows XP VM.

Any comments is welcome.

If you use shared folders, I see no point to use NTFS at all.
The guest doesn’t see the file system in this case anyway. This works more like running a SAMBA server in your network.

And it doesn’t explain why you insist on creating and formatting the NTFS partitions during installation of the Linux host.

If you absolutely want to use NTFS partitions, format them in the installed openSUSE system, or before the installation, as I already wrote.

As the installer apparently doesn’t support it/cannot do it, there’s no way to do it during installation IMHO.

Concerning YAST2, from my last attachment 706467 ( https://bugzilla.suse.com/show_bug.cgi?id=1012669 ), it seems that I can select NTFS on an existing NTFS partition but the option is not available for creating a new partition. I have not try the process to the end.
A chance that the installer does not delete every things that looks like microsoft.:wink:

My question was rather “why” than “how”.

Any way thank you for taking time to read me.

Yes, it supports mounting NTFS partition (which actually is not done by YaST itself anyway, but “mount” rather), but it doesn’t support creating/formatting them apparently.
Not sure why it lets you select NTFS when choosing format, but chances are that it doesn’t really format it anyway.

I have to say I don’t know though, because I never had the need (or desire) to create an NTFS partition.

A chance that the installer does not delete every things that looks like microsoft.:wink:

Why should it?
It’s not written by Microsoft… :wink:

Ok I have a try.

And it doesn’t explain why you insist on creating and formatting the NTFS partitions during installation of the Linux host.

I follow a paper I have wrote some years ago.
I would not swear that I have ever or not formatted these partitions, and I could not explain why this times I decided to format them during install.
I seems to me that is more simpler to do all what is possible in the same step.
I used to use this way. I can change my paper, I will not die.

As said, thank you for taking time to read me.

PS: I just had a look here in 13.2, and can somehow confirm your findings.
YaST’s partitioner does not list NTFS as format option when choosing a partition that’s already formatted with something else (and I suppose it would be the same when creating a new partition).
If selecting a partition that is already formatted with NTFS, it does list NTFS too.

I did do a quick test now (on 13.2):

  • format a partition on an USB stick with NTFS (using mkfs.ntfs manually) to make YaST offer NTFS
  • copy a file to it
  • try to format it with YaST’s partitioner with NTFS

I got the same error -3005.

It “destroyed” the partition though, i.e. it deleted the existing file system.

The essence: YaST doesn’t support formatting partitions with NTFS, not in 13.2 and (apparently) not in Leap 42.2.
That it does list NTFS as formatting option for existing NTFS partitions (in 13.2 at least, haven’t tried this with 42.2) is rather a bug/glitch I’d say.

gparted does support formatting NTFS partitions though according to its homepage, by using ntfsprogs.
And KDE’s “partitionmanager” does as well btw… :wink: