Fedora Installation :: Mount NTFS Partition From 10 Rescue Mode/Disk?
Mar 9, 2009
Background for the problem:
A. I have partitioned my WinXP LTop into:
--- WinXP NTFS partition
--- a vfat partition (mounted onto /fat32)
--- Installed F10 on ext3 virtual partition
B. I do not want install grub-loader in the Master Boot Record (that would loose my WinXP boot-loader for ever)
C. I have installed grub boot loader in the First Boot Sector
D. Now I have to boot using Rescue Mode, do:
1. dd if=/dev/sda2 of=/fat32/linux.bin bs=512 count=1
2. mount -t ntfs /dev/sda1 /ntfs
3. cp /fat32/linux.bin /ntfs
4. modify /ntfs/c/boot.ini and introduce the statement 'c:linux.bin="Linux"'
Problem: Im not able to do step D.2 above.
** after booting linux using the Rescue Mode: sh-3.2# chroot /mnt/sysimage sh-3.2# uname -r 188.8.131.52-117.fc10.i586 sh-3.2# mount -f ntfs /dev/sda1 /ntfs FATAL: Could not load /lib/modules/184.108.40.206-117.fc10.i586/modules.dep: No such file or directory ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
* The rescue mode boots into i586 based kernel (I dont know what is the actual difference between i586 and i686 - will really appreciate if anyone can educate me about it). * The installation is only a i686 image and consequently there is *only* '/lib/modules/220.127.116.11-117.fc10.i686' dir and *no* other dir. There is no dir as xxxx.fc10.i586.
I have been trying to install windows for 15 days and I was finally able to do it by removing in "disk utility" the sign saying that the fedora partition is bootable... but I did it when the partition was active... It showed me a message error but i thought that it told me it wasn't abvle to do it... and now that windows is installed I cannot any more access the partition either in rescue mode and on a live cd ... what could I do to access the partition either to save all the files or to (it woiuld be the best) reinstall the grub ?
Actually Some one has deleted my vmlinuz-2.6.18-164.el5 and its backup vmlinuz5 from /boot dir i want to restore those files. i tried by "linux rescue" mode but unable to mount my dvd from RHEL5 dvd drive there is no file exist as /dev/cdrom .
Just ran into an uncomfortable problem. I usually never save any documents on my machine, and keep all my stuff on an external USB hard disk. (an 80GB TrekStor DS microdisk q.u) Well yesterday this disk just would not mount. Read through related posts but nothing seemed to work. Even tried it on a Windows machine.
Tried TestDisk utility. Found nothing wrong with the drive, but still could not repair the MBR.log code...
Palimpsest Utility recognized the drive, but just will not let me do anything with it except format it.
How can i repair the partitions and MBR without losing all my data?
My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
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.
Currently I have a dual boot system it consists of Fedora 12 and Windows Vista, at this time when I am logged into fedora 12 I can select the windows vista partition in the f12 file manager, I am than prompted for the root password and after entering the password, the drive mounts as read/write with no problem. How can I automate this mounting process so once I login as a standard user the NTFS partition mounts without any input? I would like this to auto mount without prompting for a password or having to double click on the vista partition each time.
When I click on my Vista partition under "Places" in the Fedora menus, I'm asked to enter the root password for mounting the partition. Is there a way to allow any user to mount this particular partition, to avoid the unnecessary input? The partition is not listed in /etc/fstab (fedora 12 for x86_64).
Booting to CentOS 5.5 works and I am able to login with all my devices mounted. When I boot from the install DVD and type "linux rescue" I eventually get the message, after attempting to have one of the screens mount my partitions in read/write mode:
"An error occurred trying to mount some or all of your system. Some of it may be mounted under /mnt/sysimage." But nothing appears mounted under /mnt/sysimage. Should I try mounting my CentOS 5.5 partitions manually at this point ?
I'm experimenting a bit with my fedora, so I need to enter rescue mode very often. Every time I want to enter rescue mode, I need to insert fedora DVD Is there a way to install rescue mode on my hard drive so I could boot into rescue mode from GRUB?
I have 500GB external HDD. I have to mount it my CenOS -4.8 Machine.(kernel-18.104.22.168EL 32-bit) . External HDD partitions are ntfs file system partition. I have tried to mount ntfs partition in linux . But it's not done.
I am facing an issue in linux El4,I want to mount NTFS USB Hardisk to linux, I tried to mount but i got fs related error, after I have installed ntfs-3g, then i tried to mount through this command (mount -t ntfs-3g /dev/sdb1 /mnt/usb) but now i getting Fuse error, is there any possibilty to mount NTFS disk to linux EL4 without install Fuse.
I had Ubuntu 10.04 on my laptop, and updated to 11.04. For some reason, it didn't work anymore (after 5 mins, it was freezing) so I wanted to reinstall and get to 10.04 again (I installed it using Wubi, on Windows 7, separate partition). But there was no Ubuntu in the ADD/REMOVE list. Ok so I used a partition wizard to notice that the partition with Ubuntu was recognized as "Others" (not NTFS or anything),
so I told the program to WIPE it, format it as NTFS and I was planning to reinstall Ubuntu 10.04 over there. But it seems like this was a big mistake - when I rebooted my laptop, I got the GRUB RESCUE console. I want to make it run again so I can get into my Windows 7 at least and to get to the Ubuntu 10.04.
Environment: A 32-bit kernel RHEL5.3 system running on a virtual machine. The root(/) filesystem is on an LV.
Issue: Unable to resize the FS after extending the root LV since it is mounted. After extending the LV, online resizing of the FS was not supported and the root filesystem could not be unmounted while it was in use. On rebooting, I got a kernel panic error. In runlevel 1, I couldn't run chroot, couldn't find the /etc/fstab, root FS could not be mounted, fsck did not run (tried block 31 for second copy of superblock using dd count=1 bs=4k skip=31 seek=1 if=/dev/sda2 of=/dev/sda2), couldn't find any rpm on installation media to install unix-utils rpm. On running commands in runlevel 1,
im looking for a command for mounting an ntfs partition. what i want to do is to put that command to the "after startup applications" option. that's because that ntfs partition is my storage partition, i play steam games [win7 dualboot, thats why that partition is ntfs], download movies etc. in my places menu, its called 190GB Filesystem, and when i click it, it mounts up. but that means i have to click it everytime i boot up, because vuze can't locate the files if it isnt mounted.
by the way : /media/7C1EE4E21EE49684 when its mounted
I have a 3T hitachi hard disk partitioned by Windows 7 and formatted as NTFS that I'm unable to mount under Ubuntu 11.04. The disk is in an external enclosure connected via USB2. Windows 7 has no problems seeing the partition and mounting the drive.
ntfs-3g /dev/sdb1 /media/sdd7 ntfs_mst_post_read_fixup: magic: 0x00000000 size: 1024 usa_ofs: 0 usa_count: 65535: Invalid argument Record 6 has no FILE magic (0x0) Failed to open inode FILE_Bitmap: Input/output error Failed to mount '/dev/sdb1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.
Since I installed Debain Squeeze with KDE (for more than a month), there is something I cannot explain to myself. 5-10 minutes after bootup my hard disk begins to work very intensely. Then, after 2-3 minutes it comes back to its normal operation. Using "atop" I found out that the first process that squeezez my HDD is "find". Then, a little bit later, mount.ntfs-3g appears. Both do what they do, then exit and everything's back to normal. What I suppose, is that that something is searching, first on the Linux partitions, then on the ntfs partitions.
Does anybody know what is this phenomenon related to? Or at least, how could I find out. Ah, and to avoid some basic troubleshooting questions: I have 3 GB of RAM, so no swap is needed. And I repeat: it's find and mount.ntfs-3g that use the HDD.
I need to resize a NTFS partition in a disk for which I have an image (dumped with dd).
I mounted it through the loop device on linux:
# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output # mount /tmp/t /dev/loop0 # ls /tmp/t [content of NTFS partition shows correctly] # umount /tmp/t # gparted /dev/loop0
gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink.
I have it had it running for one hour now.
Question: will this work? There is lots of disk access but the timestamp and size of the underlying file disk.img remain unchanged.