Debian Configuration :: Windows 7 Won't Read NTFS Partition Created By Raspberry Pi
Jan 10, 2016
I have a Western Digital 3TB USB drive connected to a Raspberry Pi 2 running Raspbian Jessie. I created an 30GB ext4 system partition and a NTFS Data partition using the remainder of the drive. I formatted the NTFS partition as follows:
sudo mkfs.ntfs -Q -L Data /dev/sda2
The drive works fine on the Pi but when I connect it to a Windows 7 pc the pc doesn't recognise the format of the Data partition and can't access it.
I'm dual booting windows vista and ubuntu hardy on a multi-partitioned Dell D630. I created a partition using mkfs -t ntfs. Linux has no trouble reading/writing to it, but every time I boot into windows, chkdsk tries to "fix" the partition, fails, and tells me that the partition is corrupted. Can anybody suggest a way to convince vista that the partition is indeed ok, or else another way to create the partition so that vista can recognize it?
I got the Raspberry pi 2 Model B. I flashed my sdcard with raspberian Jessie kernel 4.1 (latest).Also tried wheezy and NOOBS, same behavior.With a ethernet cable (known working), I tried connecting my Pi to my home router, and I got a invalid ip address 169.254.xxx.xxx, and therefore no linkup. I got the same results by connecting my Pi directly to my modem (wired).
I know that /etc/dhcpd.conf is the new /etc/network/interfaces for network configurations.So I tried the debug option, and I noticed that the router doesn't seems to response to the DISCOVER command from the Pi (dhcp v4 protocol).Here's a dump of by /var/log/syslog | grep dhcp
Code: Select allDec 28 12:00:02 raspberrypi systemd: Starting dhcpcd on all interfaces... Dec 28 12:00:02 raspberrypi dhcpcd: version 6.7.1 starting Dec 28 12:00:02 raspberrypi dhcpcd: udev: starting Dec 28 12:00:02 raspberrypi dhcpcd: dev: loaded udev Dec 28 12:00:02 raspberrypi dhcpcd: eth0: disabling kernel IPv6 RA support
ANd if i use raspbian flesh out of installation, I get this when i run
dhcpcd -k dhcpcd eth0 eth0: probing for an IPv4ALL address eth0: using IPv4ALL address 184.108.40.206
Seems like my home router TP-link (default setup) doesn't send a response to the dhcp request.
Using Ubuntu 10.10 (installed via mythbuntu) I'm unable to read or see files/directories created under Ubuntu. I think it started happening after a reboot to Windows. Some of the directories created under Ubuntu have disappeared completely and some of them produce the following error: /media/storage/videos/Kids Videos$ ls ls: cannot access Justin Bieber: Input/output error ls: cannot access Octonauts: Input/output error rest of directory is seen fine...
Same on some files: ls -l ls: cannot access Dirk Gently.mp4: Input/output error ls: cannot access Dirk Gently.nfo: Input/output error ls: cannot access Dirk Gently.srt: Input/output error ls: cannot access Dirk Gently.tbn: Input/output error ls: cannot access Human Planet: Input/output error ls: cannot access Russell Howard's Good News: Input/output error ls: cannot access The Planets: Input/output error ls: cannot access Lost Land of the Tiger: Input/output error total 300160 .....
Just to make it worse I copied more data onto the disk from windows so may have lost some it completely. It there anyway I can repair this? When trying to check under Windows it says it can't. Some of the missing files can be reloaded but others can't. Ran chkdsk /f under Windows XP. Some files have reappeared, but there has been a lot of unrecoverable files lost. Conclusion: Ubuntu 10.10 is badly broken for writing to NTFS. As I would like to share between Windows & Ubuntu using the external disk, I'm not sure what to do at this stage.
I am new to ubuntu! I installed ubuntu and removed all partitions, now I have only one partition with 160 GB, Wanted to install again Xp but my laptop cant boot from CD/DVD, used GParted to create another partition and created one ntfs, but I have now one problem, ubuntu is not starting and I cant boot from CD. My laptop is Sony Vaio VGN-Fz18E .
I used gparted to create 60GB free space which I then formatted as ntfs. However,when I go to install XP I get the blue screen of death.I know the XP installation disc is OK.The ntfs partition (sda3) is after the ext4 partition (sda1) - could this be the source of the problem?
I'm a newbie despite using Ubuntu most of the time for nearly 3 years. There are some files which are created automatically in one of my ntfs partition. The files are khq, khp, kht, an autorun inf file and others. They seem to have been created while I was using ubuntu and even though I delete them,they appear again later. I have googled and have found few information that the files are malware. I will like to know if there is a known issue and solution. This is the first time i'm posting a thread.I hope i have post it at the right place and if not,
I have installed Debian as a second OS alongside Win XP, and now I have Win XP on C drive (if viewed from XP), NTFS, my data files (mainly texts and graphics) on D drive (NTSF), and Debian on ext3. Debian sees and opens files on D.
1. If I read-write from-on this D partition from both OSes, is there a chance the data will be corrupted? 2. If I open a Windows-created TXT, GIF, JPG, HTML or other not-proprietary format file from Debian, edit it and save (just SAVE, not SAVE AS) - will this file remain readable from Windows?
I want to change my sda2 partition to ntfs type. i have installed GParted but it is returning a strange type of error. Here is the error dump file...
WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot. WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy). As a result, it may not reflect all of your changes until after reboot.
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP Mint Ubuntu-Studio Edubuntu One of the E17 OSs Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
I've installed two Linux distributions in my PC, Fedora12 and CentOS 5.5, and also Windows in a ntfs partition. I can operate windows partition in Fedora easily, however, I cannot find the windows partition in CentOS, furthermore, in CentOS all mobile hard drive that formatted as NTFS cannot be mounted.
I'm pretty new to Linux. Though I've used it for a little bit, I barely know any shell commands. I recently migrated from Mint to Fedora. Installation went fine and I thought I was doing great until I tried to copy something onto one of my ntfs partitions (I got them automounted through changing fstab). Now I can't change the permissions with sudo chmod... it says I can, but nothing changes. And, while the folders are listed as allowing rw for the user group I set up, I can't actually change anything. I'm guessing I've done something wrong with my fstab file.
My fstab file is:
I should probably note that I'm using NVIDIA fake RAID 0, which is why my device locations are all /dev/mapper/nvidia_fcficeibp#
The command I have tried to change permissions is:
I have installed Ubuntu 11.04 64 bit desktop version on ext4 partition without swap. I have maximus iv extreme motherboard with 8 Gbytes RAM. Using 3 internal ntfs formatted hard drives and 3 external ntfs usb 2.0 hard drives.When I am trying to copy or move files FROM or TO any ntfs partiton it is 90 percent chance it is going to freeze.For copy/moving files I am using krusader run as ROOT or as user without root privilege or Nautilus as user without root privilege. It wasn't possible to switch to another terminal - it simply does not react on keyboard or mouse input and only hard reset is possible (scares me because of ntfs disks)From this point of view I have suspicious on ntfs driver but:I am completely beginner in linux and I am looking for help to navigate me how to investigate to find what is causing the problem eventually to solve it?
According to my experience it seems to does not matter if hard disk is internal or external connected through SATA II or SATA III or USB 2.0. I have tried to manipulate with ntfspartitions through the vmware or virualbox or truecrypt software or just do a simplecopy/move files - it have has always the same results - freeze. There is not possible to say how long it is going to work properly and when it is going to freeze - sometimes it's working hour, sometimes it's working couple of seconds - no matter if it is read or write operation/s within ntfs partition.
I'd like to format my USB in 2 partition: one fat32 (for data switch windows/linux and one for only windows. But when I use gparted to partition my stick in my backtrack installation, windows can only read the fat32, but not the ntfs.
I have a external harddisk attached to my linux PC.I have a laptop having windows 7 on my network.I want to to be able to open up the folder in the external harddisk(linux partition) and check the files from my laptop. People suggest samba. But I am not able to configure correctly. Please excuse me and give me few detailed instructions.
Storage information: 1st primary:SG 160G ATA 100 1st secondary:WD 160 ATA 133 SATA:WD 1000 2nd primary:DVD 2nd secondary:DVD±RW
Winxp in 1st primary.I did a fresh install of lenny on 1st secondary.
info about lenny setup: 1.Partition list:/boot,/,/home,swap 2.Every partition is XFS except swap.
At the end of installion,lenny installed grub on (hd0) that is 1st primary.
Everything seems OK.Lenny runs OK.
But when I switch back to windows xp,the diskmgmt can not detect hdd's info and the system meets a problem of shutting down.
After many times of trying. I solved the problem by the following way. 1.Boot with windows xp's install CD and use fixmbr on (hd0). 2.Boot with lenny's install DVD , do a grub>root (1,0)>setup (hd1) After that,edit /boot/grub/menu.lst and change (hd0,0) to (hd1,0) and also (hd1,0) to (hd0,0). 3.Reboot and Press F8 for a boot menu then I can select which disk to boot. windows boot from 1st primary's mbr,lenny boot from lenny's grub.
The problem is caused by a bug between GRUB and windows' mbr and maybe more about GRUB and XFS.
i've written a bash script to add new users to our system. the script works so I won't bother you all about that. when a new user is created with it, they can immediately login to our domain from any terminal, which is good. However, the newly created user is unable to login to debian at all, and so cannot access the server. when attempting to do so, they get a message like "the system administrator has disabled your account". This is a good thing really as normal users have no need for debian login, but I do need to add a few admin users who will need direct access to the server machine.
This is the code I'm using to add the user. The rest of my script is just a wrapper and GUI. I figure the login shell may have something to do with it, so I tried changing the shell of a user to the default /bin/bash. This resulted in the user being able to login - sort of. Gnome doesn't load though, and there's a cascade of errors across the screen about things failing to save or load settings. mostly stuff like nautilus, X, and gnome. the desktop background is black and there's no interface. Logging in with a previously existing account works fine though. Clearly I have an issue somewhere.
I was attempting to format a flash drive, and well, used the wrong sdX device. I've run DiskInternals Partition Recovery tool, and all my files are still there (you have to pay $139 to have it restore the files). Is there any way using tools in linux to restore the ntfs partition/files? It was a single disk with the partition taking the entire drive. I've tried mounting it with the -t option, but it says invalid ntfs signature. Man, two lessons the hard way, make sure you backup (duh) and be careful what you type as root.
I'm trying to compile a project on my raspberry pi with little success. I typed export DH_VERBOSE=1 and added -v to the gcc options in the Makefile to see what was going on and this is the output. I'm trying to compile hda-jack-retask to get the raspberry pi headphone jack set to be a microphone jack. I want to be able to use the microphone jack as the input to xoscope, an oscilloscope program.
Code: Select allpi@raspberrypi ~/~diwic/+junk/hda-jack-retask $ dpkg-buildpackage dpkg-buildpackage: source package hda-jack-retask dpkg-buildpackage: source version 0.20120113 dpkg-buildpackage: source changed by David Henningsson <email@example.com> dpkg-buildpackage: host architecture armhf Â dpkg-source --before-build hda-jack-retask
And it sits here for at least 24 hours. Alternatively, It looks like this program is part of the alsa-tools package in Ubuntu, but not in Debian. Need to figure out this freezing issue, should I pull down the Ubuntu source and build a debian package from that?
ive been dual booting ubuntu and windows for a while now. For the first time in weeks ive booted windows XP, and i really hate the fact that windows explorer can't read more than the first partitions. Is there a way to make the explorer see more? I want to be able to reach my files on the ubuntu partition from windows, not just the other way
On a Debian Linux box, SVN Server is installed. In the partition where SVN was installed, Free disk space is causing anxiety, hence started creating new instances in a new partition, though I am able to get the first screen (it prompts for username and password), I am unable to login even though the username and passwords are correct.
This is not a question, I have done it. I just want to post a little howto in case anyone runs into a similar problem.I will not go into particular details, just the rough description. If need details on something, I'll be happy to explain the part in question.
I am working on linux for almost a decade now. However, there are some things that need to be done on windows, like gaming (ATI drivers for linux are still a bit tricky, especially for newer cards) or rs232 (serial port) based apps (old smartphone management, PIC or ATMega Programming, old graphic calculator like TI92 etc.).So in short, I had once set up a windows system. I wanted to use my files both under linux and windows. The solution for this problem is obvious: I used a NTFS partition I could mount under both OS.Since I am a security concerned citizen, I use to encrypt my disks. However I refused using Vista and Win7 hadn't come out yet, so I was running XP64. The opensource LUKS tools didn't work on that system (driver issues), so I used Truecrypt.Some time ago, I abandoned the windows partition after a fault in the MBR, which rendered the Truecrypt bootloader unusable (yes, even with the rescue disc). Since I rarely have to time play games anymore, that's not a major concern. The rest of the tasks can be handled using a virtual machine (in my case Sun's VirtualBox).So, after about 10 months, I had ended up with a severely fragmented, Truecrypt encrypted NTFS partition which badly needed defragmenting. Linux NTFS-3G drivers have become fairly reliable, but their reliabality decreases as the filesystem fragmentation increases. And the only OS which can defragment a filesystem of this time is windows NT.
Procedure: The basic underlying problem is that you need to access your raw device from a windows system that by itself lives in an isolated virtual environment. The SMB/CIFS shares are ok to access data, but NAS Filesystems rely on the servers filesystem and cannot be defragmented.What can be defragmented is a SAN share (iSCSI target), because the protocol by itself forwards the device to the host over a network, not the filesystem.
(1)So first of, make sure you have a virtual machine running windows somewhere. it actually doesn't need to be virtual, it can be a remote computer on the same subnet, but in my case, it is a virtual machine. As I said, I used VirtualBox.
(2)Next make sure the Windows box has access to the same network as your linux host. In VirtualBox I used a network interface in NAT mode. I suppose you could also juggle a second loopback device around on the linux host to fulfill the same purpose and keep the windows box of the public network if that is a concern.
(2.5)If you have encrypted your NTFS partition, you need to decrypt it (not mount it!). Using LUKS, use the cryptsetup command to create a decrypted alias of the partition. If you have used Truecrypt, use it's frontend to mount the partition as you would if you wanted to access data, then unmount the alias from its final mountpoint, thus leaving the unencrypted frontend to the partition intact.
So now you have:A linux host with a fragmented NTFS partition (which might be encrypted) that is not mounted.A windows machine (either virtual or remote) with access to the same subnet as your linux host.
(3)Next you need to setup your unencrypted partition alias as an iSCSI target.
I have a dual-boot system, Windows XP on primary HDD and Fedora on Slave HDD. NTFS -3G is installed in Fedora, but I would like to hide (or not mount) Windows system partition on Fedora boot, as I have multiple users in Fedora and do not want them to access this partition. I do want to mount/display my NTFS D: partition in Fedora. Is there a way to exclude an NTFS partition from mounting by default?
im trying to shrink my vista partition with gparted inside ubuntu. I run gparted (and yes i have ntfsprogs) but when i select the ntfs partition and select move/resize it brings up free space preceding... new size... and free space following.so when i input the new size the resize/move button greys out and when i change the freespace following it just puts back my original new size and back and forth.from what i have read i need to run the gparted livecd and go from there. is this true? i know how to do it with diskpart in windows, how to in ubuntu and eventually get rid of windows.my system is 64-bit. [URL]