Debian :: Hget Ntfs Partitions To Ext4fs / Partition
Aug 26, 2011
I helped with the installation and put a / filesystem of around 20 GB and a /home partition of around 50 GB. He's a gaming freak and and installed lot of games in the last few days so running out of hdd space and he asked if there was a way he could take one of the ntfs partitions out and extend the / partition filesystem from 90 GB to say 220 GB. (The NTFS partition is around 100 GB).
Now one way would be to do everything (again) from scratch and put the filesystem as an lvm, another alternative googling gave me was to use gparted Live CD and extend the / filesystem . The downer seems to be that its possible gparted would mess up other partitions and realign stuff. At least that's what few of the websites I looked up and few people I talked on IRC spoke to me.
I am doing major deployment of opensuse 313 pcs from windows to opensuse. I am having a problem that I have to keep 2 ntfs partitions intact will deleting the partition that has windows. Now everything goes well, opensuse installs but the problem is that I cannot give user full rights to ntfs folders. I have used graphical file permission methods n terminal chown n chmod methos but still permissions revert back to root.
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
I'v recently migrated from Ubuntu to Debian. however when attempting to browse one of my ntfs partitions I get the following error "Invalid mount option when attempting to mount the volume 'a' a is the name of the ntfs partition i'm trying to browse.I'm using Debian lenny
Nautilus mounts NTFS partitions when I acces them, and before mounting, it asks for root password. Is there a method to auto-mount ntfs partitions on Debian startup, without requiring root password each time they are automatically mounted ? And without installing additional packages.
Previously it was only trying to mount the partition (after asking for the root password) in /media/datas
Is it normal that now it tries to mount it only for my current user in another folder?
If I look in the /var/log/messages, I only see this:
May 22 23:53:06 Tieum-Latitude gnome-session[2092]: Thunar: Failed to open "/media/mb/datas": Error when getting information for file '/media/mb/datas': Input/output error
Storage information: 1st primary:SG 160G ATA 100 1st secondary:WD 160 ATA 133 SATA:WD 1000 2nd primary:DVD 2nd secondary:DVDRW
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 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 am trying To install debian 6 with xp in dual boot after a crash during update version 10.10 to 11.04 (not enought space but no information about that ....so it's moment for change something ..) so i found unetbootin like the more simple way for my "ecodieselesecondhanddust pc" with download only iso image : debian-6.0.1a-i386-xfce+lxde-CD-1.iso without use any bash command ... after launch the usb key everything work well , except during the manual partition where i want use xp partition (ntfs) and not others choices proposed like fat ,btrfs,jfs,xfs,ex2,3 or 4..! how i can use NTFS choice and to be sure to not delete my xp partition with an other choice not appopriate to ntfs ? it's seems to add a kernel module with modprobe in bash , but i have not idea with which option exactly ?
I recently formated my harddrive and instead of theld fat32 partition for windows partition I used ntfs. I am mounting this partition in /media/windows in debian linux. But it shows a cross (x) symbol above the folder and says I don't have the permission to access it. the permission on the folder is (drwx_ _ _ _ _ _ ) and it is owned by root. So I changed it to my user name -- sid by doing the followingsudo chown -R sid:sid /media/windowsHere are my questions1) Now it allows me to access the folders but all the files like pdf or photos have a cross on right top corner and it says access denied. Is this because of ntfs since with fat32 I didn't have this problem.
2) Also I have a /data (ext4) partiton which is a common partition for datafiles between Ubuntu and Debian. It has the permission -- drwxr_xr_x . I am trying to write to this partition and save files but it doesnot allow me to do it. do I have to make chmod 777 to do that?3) How do I make sure that both windows and /data partition are writable right from the beginning at the boot time.
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?
Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
It is gnome 3, debian jessie, nautilus file manager. Click ntfs partition from file manager, type password got error:
Code: Select allUnable to access “alldisksda5” Error mounting /dev/sda5 at /media/user1/alldisksda5: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/user1/alldisksda5"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
Why is this error? Windows has been shutdown normally. What to do?
in debian stable, what is the proper configuration to add in /etc/fstab in order to mount ntfs partitions automatically at boot time, for all users, and every user to have read, write and execute permissions ?
I am trying to restore an NTFS partition from a backup and I need the new drive to have the old (dead) drive's UUID (which I recorded).I really really really cannot use the option of changing fstab to mount using a new UUID, for this case I need the old UUID that existed on the other drive.Is there some ntfs equivalent of tune2fs that'll let me change the UUID on an ntfs partition?
Just installed 11.3 on my computer, however when I connect an external NTFS harddisk I receive an error message. When I open dolphin to connect to an internal NTFS partition I receive the message:
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.
Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.
I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.
I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?
I am running Linux Mint 8 on my Dell Precision 350 computer. Every so often (sometimes every few hours, sometimes every few days, it appears to be random) my desktop will crash and display the message:
"70822.286411 EXT4fs error (device sda1): ext4_ext_check_inode: bad header/extent in inode #139281: invalid magic - magic 800c, entries 121, max 3278020), depth 171(171)"
This is displayed several times on all of the terminals, but with different numbers each time. When this happens, typing any commands in the terminal result in the error message being displayed again. When I restart after this happens, linux generally displays "Give root password for maintenance (or type control-D to continue):" and I give the root password. Running "fsck /dev/sda1" seems to fix this problem for the next boot, but then it will come back in either a few hours or a few days. Reinstalling the distro does not work, as I have already tried this. I suspect a hard disk error, but before I run out and buy and install a new hard disk, I wanted to know if maybe there is some way to fix this through software.
I've got a Desktop System that Automounted Two NTFS partitions in F10 so I could declare them SAMBA Shares and have my other XP and Vista Machine Access them whether my dual boot machine ran XP or F10. Now I've switched to F11 and cannot get the NTFS Partitions to Automount at boot. If I browse with COMPUTER and let the system mount the NTFS partitions once it is running the mount command returns the following output:
[code]....
I believe I need to modify /etc/fstab but cannot get the syntax correct to save my life.
I have just managed to install OpenSuSE 11.3.When I try to access a NTFS partition (holding my .MP3s) I get the error message.There is no application installed that can open files of the type block device (inode/blockdevice).Do you want to install one? Attempting to install one doesn't seem to lead anywhere othe than the same sequence. I used to be able to read NTFS partitions with 11.2 - what has changed?
I am using jaunty. I have it installed in a 80 GB ext3 HDD. (This is sdb) I have another 500 GB. Its NTFS. (This is sda) It has 3 partitions. Download, Movies, Dump. They are probably sda1, sda2 and sda3 respectively. Few days ago when I was using intrepid, all three partitions were showing in the Places menu. But I was being able to mount Movies and Dump. Not the Download one. It was continuously saying 'unable to mount'. Now, after fresh installation of jaunty (not upgraded from intrepid) only Download partition is showing in the Places menu. There is no option for the other two partitions.
until recently, they did fstab mount quite happily, but now, they don't
the error I get is:
Code: Mountall mount /media/win7 [1089] terminated with status 21 My fstab has not changed but here it is: Code: /dev/fd0 /media/floppy0 vfat noauto 0 0 UUID=da252821-a30d-415b-84cb-adca92be5b72 / ext4 defaults 0 1
[Code]....
Oh if I make the windows drive the first avail, then it boots just fine.
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
My computer has 2 O.S.- WindowsXP and Fedora13, and also two 500GB Hard Disks. For HD1 Partition1 is NTFS, a few FAT partitions and last one is Fedora13. HD2 has 2 NTFS of equal size. Fedora13 always showed NTFS partitions on HD1 as 30GB HD, FAT partitions correctly and HD2 as a single 500GB HD with the contents of 1st partition of this HD i.e. contents of 2nd partition of HD2 were never shown in Fedora13. XP showed everything correctly. Recently XP is becoming hung on start up as 2nd HD is connected. But Fedora is showing as previousPl. suggest me the solution as I have a lot data on the 2nd partition of HD 2.