I've carelessly installed grub on hda5 instead of hda, using:
# grub-install /dev/hda5
And now my hda5 cannot be mounted with ntfs-3g. Here the error message 'mount' gives:
Failed to mount '/dev/hda5': Invalid argument
The device '/dev/hda5' doesn't seem to have a valid NTFS.
As far as I know, grub-install rewrites the 1st sector of the device, and I've been reading this guide on recover the 1st sector of an NTFS partition. The problem is that the Disk Probe tool is available in Windows only. Is there any similar software in Debian to do the same thing (i.e allows us to edit sectors of the hard drives available in the computer)? Any easier tool / method to restore the NTFS partition without read and write sectors manually.
When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:
$ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)
I want this partition to be writable by just plugging it in.
The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:
$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/ $ mount | grep sdc1 /dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096) $ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1 Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE $ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) $ gnome-mount -nbtd /dev/sdc1 $ mount | grep sdc1 /dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?
I tried to install Debian 3 at my pc, and while it worked, it only installed the basic system. When it goes trying to install the "everyday-use" packages it cames with this message:Some error ocurred while unpacking. I am going tp configure the packages that were installed. This may result in duplicate errors or erros caused by missing dependencies. This is ok, only the erros above this message are important. Please fix them and Install again
How can I hide NTFS partitions so that can't be mounted?I noticed when I'm working on Ubuntu that I can delete files on my Windows NTFS partition, I think that's a risk
I have 2 partitions on my computer:one is "64 GB ext4" (with Ubuntu 10.10 64-bit)and the other one is "Data 436 GB NTFS" (just for storing files)On startup the second partition is not mountedefore I click on "Locais" this is in Portuguese (the button between Applications and System on the top bar) > "Data".
uh, I screwed up. I mounted the wrong thing with ntfs-config. Now, this really isn't a big deal but... It'd be nice to have it organized and a 11 GB partition not mounted on boot
I've been searching for a solution get mount my NTFS FakeRAID automatically when 9.10 64-bit starts, but haven't managed to find a solution.Currently, after boot, dmraid activates my RAID automatically but does not map the partitions on the drive:
Code: $ ls /dev/mapper/ control isw_bibdafajea_Vault
I have samba installed. I also have a Windows NTFS disk mounted on Ubuntu. To share the file, I migrate to the folder with the file manager, right click on it and select "Sharing Options". I get the message
'net usershare' returned error 255: net usershare add: cannot share path /mnt/Windisk/<path> as we are restricted to only sharing directories we own. Ask the administrator to add the line "usershare owner only = false" to the [global] section of the smb.conf to allow this.
I am using centOS-5, I have mount NTFS drive by using fuse. But there is no rights and even there is no option on right click to make new directory or to del any file or folder. This is line of fstab for NTFS drive
/dev/sda5/mnt/dntfsdefaults2 2
How can I get full access and control on this NTFS mounted drive.
I have deleted a file from linux SuSe 11.2 in mounted NTFS(Windows XP) partition, is there any chance to recover it? I've tried using Hiren's Boot CD revovery tools without any success
I have an NTFS partition problem which prevents me from installing openSUSE on my desktop computer. It's not a trouble with installation, it's a security issue relating to NTFS.I have a desktop running XP exclusive, but wish to also go dual boot but can not because I have created a NTFS partitoin on my HD wich I don't wish others to know about.After booting window$, I am able to successfully unmount the partition using Diskpart, which is a command line program within that OS. Once unmounted, it is effectively hidden from those who might be snooping until I manually remount it. Essentially I remove the drive letter which makes it inaccessible to Windows.
(Yes I know a person with proper skills can easily find it, but that's not applicable in my case for those who would look)If I install openSUSE which I desperately desire, it will automatically locate and mount the NTFS partition I wish to hide, making it easily accessible to anyone booted up in SUSE.Changing the attributes to the associated files to "hidden" is not an option. I need that secret partion to remain unknown.How can I hide, deny access to, or prevent that particular NTFS partition from automatically being mounted in Suse? Once that security issue is resolved I look forward to using Suse again, like the other people do in our home.
I have a windows partition mounted that will not allow me to load my kubuntu 10.10 meerkat. i can enter an older kernal but my older kernal says cant contact kded and all my kde apps will not work such as wireless networking and autp ip configurations. although i can run the internet in this kernal wired however manually putting my ip and other numbers in for wireless connection fails. all other kernals do not load because they say i have a ntfs drive mounted. so my question is how can i unmount this drive and make my kernal work again or how can i fix kded from crashing on my second kernal so i can use that one. i have already tried sudo unmount /media/windows and other simular commands i also tried a mounting app and reinstalling kubunt desktop also check disk on windows with clean shut down does not work either.
I have an NTFS file system nfs-automounted on our RedHat servers. Users can read and write to the file system no problem, and can create new files, edit them, and delete them to their heart's content. The only issue is that utilities such as "dos2unix" cannot create temporary working files:
$ dos2unix events.0818.dat dos2unix: converting file events.0818.dat to UNIX format ... Failed to open output temp file: Operation not permitted dos2unix: problems converting file events.0818.dat
This isn't limited to "dos2unix"; any other utility that creates a temporary working file gets the same problem. If I copy the file to a local file system like /tmp, it works fine. Here's the kicker: this works fine on Solaris systems. I can take the "dos2unix" utility over to a Solaris system that has that exact same NTFS file system automounted via NFS, and it works. No issues creating temporary working files at all.
mounting file system in centos,(NTFS) I am able to mount hda5 which is NTFS in centos by editing /etc/fstab, but not able to mount sda7( also NTFS)at that same time,however after editing /etc/fstab i can mount one HDD at any time, making both entries in /etc/fstab is not working. BOTH HDDs are NTFS , one is SATA and other is IDE.
I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?
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.
My swap is not mounted at boot. get it to mount again? I CAN make it mount after booting but I need to hibernate. I read that I have to edit /etc/fstab but I'm not quite sure as to what I have to do specifically.
when I mount DVD-ROM to some files from xterm, the systerm never responsed! I used this command: sudo mount -t iso9660 /dev/cdrom /mnt/cd I search some info from google ,some guys say these info may help ,but I don't understand why it cab be crashed when I mount the CD from DVD-ROM.
/etc/fstab /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 lrwxrwxrwx 1 root root 3 05-22 19:54 /dev/dvd -> sr dmesg |grep hd [ 9.126848] hda_codec: Unknown model for ALC883, trying auto-probe from BIOS.
I've been scouring the net and I'm sure it's something simple but here's my problem. I have a BeagleBone Black running Debian from a uSD card. I also have a 1TB WD My Passport external HD. If I have the external drive plugged in when I boot it is mounted under /media/My Passport it is formated NTFS since it was being used for windows. Being that I'm planning on eventually planning on making this a nas/owncloud device mounting at boot is fine but I would like to mount it under another directory. I've looked in /etc/rc.local and /etc/fstab and it does not mention that drive in either place and autofs is not installed.
i had the problem of mounting the windows drives on to Debian OS. i got it fixed with some help.now i can access it from COMPUTER. BUT my all Windows Drives (C,D..)are also seen on my Desktop.(with computer,home, trash C,D......)can it be made invisible/Not on the desktop?
I'm getting these Message during Lenny startup: Code: mount : according to mtab, procbususb is already mounted on /proc/bus/usb failed.What's wrong and howto solve this problem?
I have successfully installed debian and updated it. After few days of installation maybe around a month. I tried to install some other software from synaptic but my installation CD isn't being detected like before. What do I do? The CD can be opened etc., but its not getting mounted as /cd-rom/ which the synaptic packagemanger searches most of the time.
I am trying to save a document in a mounted partition but its says I don't have the permissions to save the file. It says this for any partition. I am only able to save it in my home directory. How to I solve this. Basically I am trying to access a file in linux in windows xp. So I need to save the file in fat 32 partition which it is not allowing me to do.
I hv installed debian (lenny). My problem is that sometimes it loads perfecly, but on other times it gets stucks at mounted the root. and waiting for the root. wht shd i do?
I would like to resize the /home partition but it is mounted and when umount is run, it errors with 'busy'.
System Configuration:
I installed jessie on a laptop with one SSD. I used guided partitioning and selected the whole drive with multiple partitions. The /home now takes up 420 GB. I would like to reduce that to 20 GB to make room for another partition.