Bug 804156

Summary: partitioner suggests wrong partition for mounting windows drives
Product: [openSUSE] openSUSE 12.3 Reporter: Martin Biermann <martin.biermann>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED NORESPONSE QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: 64bit   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Biermann 2013-02-16 12:53:06 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.27 (KHTML, like Gecko) Chrome/26.0.1393.0 Safari/537.27 SUSE/26.0.1393.0

Open Suse 12.3 RC1
Dell M4600 laptop PC

I have a dual boot system (Win7-64, Open Suse).
This is the file system:
Available Storage on M4600LX
────────────────────────────────────────────────────────────────────────────
Device   │     Size│F│Enc│Type        │FS Type│Label       │Mount Point     
/dev/sda │698.64 GB│ │   │ST9750423AS │       │            │                
/dev/sda1│299.58 MB│ │   │HPFS/NTFS   │NTFS   │System      │                
/dev/sda2│292.96 GB│ │   │HPFS/NTFS   │NTFS   │Win7-64_data│                
/dev/sda3│244.14 GB│ │   │HPFS/NTFS   │NTFS   │Data        │/windows/D      
/dev/sda4│161.24 GB│ │   │Extended    │       │            │                
/dev/sda5│  2.01 GB│ │   │Linux swap  │Swap   │            │swap            
/dev/sda6│110.00 GB│ │   │Linux native│Ext4   │            │/               
/dev/sda7│ 40.00 GB│ │   │Linux native│Ext4   │            │/home           
/dev/sda8│  9.22 GB│ │   │Win95 FAT32 │FAT    │APPENDIX    │/windows/E    

I when I wanted to map /dev/sda3 to /windows/D, I used partitioner under YAST to generate the entries in /etc/fstab
I chose /dev/sda3 to create the mapping to /windows/D. When I mounted /windows/D I found that /dev/sda2 had been mounted, because partitioner had written the wrong entry to fstab. It had written "-part2" instead of "-part3" (see below, the line is commented out and I changed the mapping to /windows/C.



My /etc/fstab:

# /dev/disk/by-id/ata-ST9750423AS_5WS0M43Q-part2 /windows/C           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/ata-ST9750423AS_5WS0M43Q-part3 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
/dev/disk/by-id/ata-ST9750423AS_5WS0M43Q-part8 /windows/E           vfat       users,gid=users,umask=0002,utf8=true 0 0



Reproducible: Always

Steps to Reproduce:
1.
2.
3.



This is not a big bug - I was able to fix things by editing /etc/fstab - but it might offend inexperienced users.
Comment 1 Thomas Fehr 2013-03-26 10:06:29 UTC
Please attach full content of /var/log/YaST2
See http://en.opensuse.org/openSUSE:Bugreport_YaST.
Comment 2 Arvin Schnell 2013-05-02 08:05:52 UTC
Requested information not provided within 4 weeks. Feel free to reopen the bug
once the information is provided.