Linux mount microsoft basic data

Linux Mint Forums

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Mount Windows Partition

Post by inracus » Sun Jun 11, 2017 7:06 pm

I recently install linux and I want to know how to mount the windows partition to see my files from windows. BTW Mint is awsome.

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

jimallyn Level 19
Posts: 9075 Joined: Thu Jun 05, 2014 7:34 pm Location: Wenatchee, WA USA

Re: Mount Windows Partition

Post by jimallyn » Sun Jun 11, 2017 7:18 pm

If you want to do it manually, open the file manager, and it should show up on the left hand side of the file manager. Double click it to mount it and open it. If you want it mounted automatically, you have to edit the /etc/fstab file.
First you will want to get the UUID of the Windows partition. Use the blkid command in terminal to get that. Then navigate to the /etc folder in your file manager. Right click anywhere inside the folder, then click Open as Root. This will open another file manager window with elevated (root) privileges. Double click the fstab file, and it will open in a text editor (with elevated/root privileges). (You must have elevated privileges to edit anything in the system folders.) Add a line for your Windows drive, using the lines that are already there as a template. If you need more information, type man fstab in a terminal. Or ask on the forums for more help.

“If the government were coming for your TVs and cars, then you’d be upset. But, as it is, they’re only coming for your sons.” — Daniel Berrigan

Re: Mount Windows Partition

Post by WharfRat » Sun Jun 11, 2017 7:21 pm

Welcome to Linux Mint and the Linux Mint forum

Читайте также:  Multi booting in linux

You would mount the windows partition like this in the terminal

Change the «?» in dev/sda? with the windows partition assignment e.g., /dev/sda3 — you can get that from sudo blkid

Create a mount point for it

sudo mount -t ntfs-3g -o uid=1000,gid=1000,dmask=002,fmask=111 /dev/sda? /media/windows

and your files will be available in /media/windows

Also choosing the partition in the file manager should mount it for you

Re: Mount Windows Partition

Post by inracus » Sun Jun 11, 2017 10:21 pm

Thanks a lot, I’m really enjoying Linux, thanks for making new users feel more comfortable with this system.

jimallyn wrote: Welcome aboard, inracus!

If you want to do it manually, open the file manager, and it should show up on the left hand side of the file manager. Double click it to mount it and open it. If you want it mounted automatically, you have to edit the /etc/fstab file.
First you will want to get the UUID of the Windows partition. Use the blkid command in terminal to get that. Then navigate to the /etc folder in your file manager. Right click anywhere inside the folder, then click Open as Root. This will open another file manager window with elevated (root) privileges. Double click the fstab file, and it will open in a text editor (with elevated/root privileges). (You must have elevated privileges to edit anything in the system folders.) Add a line for your Windows drive, using the lines that are already there as a template. If you need more information, type man fstab in a terminal. Or ask on the forums for more help.

Re: Mount Windows Partition

Post by inracus » Sun Jun 11, 2017 10:23 pm

WharfRat wrote: Hello inracus

Welcome to Linux Mint and the Linux Mint forum

You would mount the windows partition like this in the terminal

Change the «?» in dev/sda? with the windows partition assignment e.g., /dev/sda3 — you can get that from sudo blkid

Create a mount point for it

sudo mount -t ntfs-3g -o uid=1000,gid=1000,dmask=002,fmask=111 /dev/sda? /media/windows

and your files will be available in /media/windows

Also choosing the partition in the file manager should mount it for you

Re: Mount Windows Partition

Post by MintBean » Sun Jun 11, 2017 10:48 pm

Re: Mount Windows Partition

Post by CHG » Mon Jul 03, 2017 5:54 pm

I just installed mint 18.1 from a Live CD. During installation it recognised that Windows was installed. So I opted for the dual boot option. I then reclaimed space from the Hard disk. There was one big partition with Windows on it. Now after installing, I can’t mount the windows partition anymore using disks. It also doesn’t show the Windows option during bootup.

sudo blkid /dev/sda1: LABEL="ESP" UUID="E0AF-7DE3" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="80be90c7-fec5-43bf-a6af-1b4570a83d41" /dev/sda4: LABEL="WINRETOOLS" UUID="2A300E2D300E0115" TYPE="ntfs" PARTUUID="0f17be0e-0fa0-41d4-a757-2f001759e52b" /dev/sda5: LABEL="Image" UUID="42160F2C160F2091" TYPE="ntfs" PARTUUID="83676090-8cab-4af8-bdd7-ceca1b687aa8" /dev/sda6: LABEL="DELLSUPPORT" UUID="922CA2F42CA2D311" TYPE="ntfs" PARTUUID="d698ad18-1c67-4487-8655-2d0d8d0195b4" /dev/sda7: UUID="b9143e51-c00d-40b0-9045-d79f066e8d81" TYPE="ext4" PARTUUID="1f90687c-3179-43ce-a27a-cf17356de717" /dev/sda8: UUID="ddd348e9-38ee-4717-858d-a59341d85944" TYPE="ext4" PARTUUID="7978bba4-ba4a-41fa-948a-b6923af2805e" /dev/sda9: UUID="762e9f7e-96fd-4bd3-bab0-1a3174527d41" TYPE="ext4" PARTUUID="19a5c90c-97a2-46f7-a241-cec3e9479356" /dev/sda10: UUID="08e76324-fcf3-4ed4-bc14-f5e93ab662a5" TYPE="swap" PARTUUID="d33266ba-1bc3-4c83-be32-c8a055a491e9" /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="f892de07-0516-4d79-a596-a7bddd3dc336" /dev/sda3: PARTLABEL="Basic data partition" PARTUUID="ea20d986-42de-40ec-b7ae-68185ba4042a" /dev/sda11: PARTUUID="1c167165-25b7-42ec-84ed-3986e983d412"
fdisk -l Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: 8918F082-FFB9-484C-B218-52016BC8A7CE Device Start End Sectors Size Type /dev/sda1 2048 1026047 1024000 500M EFI System /dev/sda2 1026048 1288191 262144 128M Microsoft reserved /dev/sda3 1288192 1325110255 1323822064 631.3G Microsoft basic data /dev/sda4 1927524352 1928466431 942080 460M Windows recovery environment /dev/sda5 1928466432 1951135743 22669312 10.8G Windows recovery environment /dev/sda6 1951137792 1953523711 2385920 1.1G Windows recovery environment /dev/sda7 1325111296 1325598719 487424 238M Linux filesystem /dev/sda8 1325598720 1374789631 49190912 23.5G Linux filesystem /dev/sda9 1374789632 1917757439 542967808 258.9G Linux filesystem /dev/sda10 1917757440 1927524351 9766912 4.7G Linux swap /dev/sda11 1951135744 1951137791 2048 1M BIOS boot 

Can someone please guide me on how to recover the data on these partitions? Its the files on /dev/sda3 (Microsoft basic data) that I want badly. I am not very proficient in Linux commands.

Читайте также:  Aida 64 linux аналоги

Источник

How to mount a Microsoft basic data partition

I have a Dell Inspiron 5568 laptop that is no longer booting up under Windows 10. The native (Dell) recovery options are not allowing me to backup any of my data prior to attempting a factory reset. Consequently, I have changed the BIOS settings for «legacy boot» and booted up from an Ubuntu Live 16.04 USB stick. Here is what I see

 parted -l reports Partition 1 524Mb FAT32 EFI System partition boot,esp Partition 2 134Mb Microsoft reserved partition msftres Parition 3 495Gb Basic data partition msftdata . Parition 8 148Gb Basic data partition msftdata Parition 9 472Mb ntfs hidden,dflag Two more hidden ntfs paritions fdisk -l reports /dev/sda1 500Mb EFI System /dev/sda2 128Mb Microsoft reserved /dev/sda3 460G Microsoft basic data . /dev/sda8 138Gb Microsoft basic data /dev/sda9 450M Windows recovery envirionment Two others 

Before I attempt to do anything else I would like to mount /dev/sda6 and get a safe backup of some critical files I have there. The trouble is it is not clear to me how I mount that partition. I tried

mkdir /media/windows sudo ntfs-3g -o force,rw /dev/sda6 /media/windows 

only to be told that it is not an NTFS parition. If memory serves me right when I did the parititiong I had used the Windows 10 default which I think is FAT32. So I did try

mount -t vfat /dev/sda6 /media/windows 
mount: wrong fs type, bad option, bad superblock on /dev/sda6, missing codepage or helper program or other error 

Источник

Problems mounting GPT partitioned external HDD

My neighbor brought over a 3TB external hard drive saying that after loaning it out to a Windows user, her Mac is asking her «to initialize something» whenever she plugs it in to her computer. I’m using Fedora, and I’m trying to recover any data off of the drive before I let her try anything on her computer, because I have a feeling she will lose the data if she let’s her computer attempt to «initialize» the drive. I suspected the problem had something mangled with partition tables. Using fdisk I get the following output for the drive:

Disk /dev/sdd: 2.7 TiB, 3000558944256 bytes, 732558336 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: BAAE909E-8289-421C-A8D7-9DC750F0E342 Device Start End Sectors Size Type /dev/sdd1 6 32773 32768 128M Microsoft reserved /dev/sdd2 33024 732558079 732525056 2.7T Microsoft basic data 
/dev/sdd: PTUUID="baae909e-8289-421c-a8d7-9dc750f0e342" PTTYPE="gpt" 
Model: WD My Book 1230 (scsi) Disk /dev/sdd: 3001GB Sector size (logical/physical): 4096B/4096B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 24.6kB 134MB 134MB Microsoft reserved partition msftres 2 135MB 3001GB 3000GB Basic data partition msftdata 

I noticed immediately that it didn’t have anything for the ‘File system’ column. How can I get this to mount in read-only at the least, even if it’s just for me, so I can copy off the files she has on there? UPDATE 1 Using file -sL /dev/sdd* produces:

/dev/sdd: ; partition 1 : start-CHS (0x0,0,2), end-CHS (0x3ff,255,63), startsector 1, 4294967295 sectors, extended partition table (last)\011 /dev/sdd1: data /dev/sdd2: data 

Trying to mount it using various partition types, using both /dev/sdd and /dev/sdd2. — ntfs and ntfs-3g:

NTFS signature is missing. Failed to mount '/dev/sdd2': Invalid argument The device '/dev/sdd2' 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? 
FUSE exfat 1.0.1 ERROR: exFAT file system is not found. 
mount: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. 

UPDATE 2 The partition tables were not recoverable, I had to run a rescue to recover the data. Installing testimage and running photorec worked like a champ, I was able to get back all of the lost data.

Читайте также:  Две особенности у linux

Источник

Оцените статью
Adblock
detector