After reboot I saw this communication:Quote:Target filesystem doesn't have requested /sbin/init.No init found. Try passing init= bootarg.and I can't shutdown the system normally because it stops (live cd too).Then I can't repair this partition because it is always busy.
Target filesystem doesn't have requested /sbin/init. No init found. Try passing init= bootarg. and I can't shutdown the system normally because it stops (live cd too). Then I can't repair this partition because it is always busy. I have on this partition important files.
I am unable to mount partition in ubuntu 10.04. Icons for different partitions are not coming within "Places". Every time I have to manually mount the partition or CD or DVD and manually unmount it. Seldom it shows the partition icons within Places>Computer. Then the partitions are getting mounted upon double clicking its partition-icon. But I fail to unmount the partition as it throws the error "media/partition_name is not in the fstab (and you are not root)."
When running linux (Lubuntu 10.04) my windows partition mounts automatically and can be opened and edited in file manager. Is there any way I can prevent it mounting when linux launches, prevent it from being mounted in linux, and (ideally) prevent it from being displayed/opened/edited at all from linux?(In case it's relevant:
Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
My hosting company said: You need to unmount the partition with exec permissions, install memcached and re-mount it with no-exec as a security measure.
Code:
[root@server tmp]# pecl install memcache WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
Is there a way to allow ordinary users to mount / unmount an ntfs partition?I don't want it to be mounted automatically - I can do that. I want it to be mount / unmountable by ordinary users (possibly in a particular group).
I just now re-installed 10.04 on my box, but now I can't get back into Windows. I'm getting the BOOTMGR not found error, that I'm familiar with, but the circumstances surrounding it are completely new to me. In the past I've encountered errors from hard-shutdowns where I couldn't mount the partition, until I checked it with windows first, but I can't boot into windows at all any more. I'm pretty sure my grub is pointing to the right location:
A few months ago I tried to shrink an NTFS partition using gparted and use the free space to install Haiku. However, gparted crashed in the middle of the resize, leading to a corrupt partition table. I tried to solve the problem myself, using testdisk to detect the partitions. However, the fix is not perfect, and it left me with a partition table that goes "outside" of the disk (i.e. the partition table has allocated more sectors than there actually are on the disk to the last partition).
Recently I need to reinstall Ubuntu Natty, but because the partition table is corrupt, the installer on the Ubuntu Natty Live CD (as well as gparted) see the disk as entirely unpartitioned. What is weird is that the Disk Utility (aka palimpsest), fdisk on my current Natty distro (upgraded from Maverick, which I want to replace with a fresh install), and GRUB 2 see the partitions fine (with some errors, such as listing a few trillion TBs of available space, a result of the corrupt partition table).
I am using an Asus U30Jc laptop with a single 500GB HDD. My current setup is supposed to be like this: /dev/sda1: A hidden FAT32 recovery partition generated by Windows 7, listed as containing Windows Vista by GRUB 2 /dev/sda2: NTFS partition containing Windows 7 (labeled "OS") /dev/sda3: Extended partition containing "DATA", Ubuntu, swap, and the erroneous trillions of TBs of space /dev/sda5: NTFS partition containing user data (labeled "DATA") /dev/sda6: Ext4 partition containing Ubuntu /dev/sda7: swap partition (*Though I'm not supposed to have it, and it isn't listed in /dev while running the Live CD, /dev/sda4 exists as a zero-length partition in the output from sfdisk; not sure why)
Currently I've tried the following: - testdisk, using "deeper search" and writing the partition table back to disk; produced a (usable) partition table that was bad. - [URL], fsck didn't do much at all, except raise various errors on all partitions except the one containing Natty. - [URL], tried to substitute the numbers caljohnsmith gave to thegreat with the corresponding values from my run of fdisk -lu, but because caljohnsmith didn't explain where the values came from and what they meant (no offense to him), I was lost; after the last step (setting the end sector on the extended partition to the last cylinder boundary (which I didn't really understand; tell me if you need details on what I did)), gparted went from showing the trillions of TBs of free space as outside all partitions to showing them as inside the extended partition; this also somehow caused the partitions to overlap.(The error parted raises changed from "Error: Can't have a partition outside the disk!" to "Error: Can't have overlapping partitions.
Running fdisk from the Natty Live CD gives Code: ubuntu@ubuntu:~$ sudo fdisk -lu Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x74ef0aca
Device Boot Start End Blocks Id System /dev/sda1 2048 34812854 17405403+ 1c Hidden W95 FAT32 (LBA) /dev/sda2 * 34812855 279000854 122094000 7 HPFS/NTFS /dev/sda3 279000855 976768064 348883605 f W95 Ext'd (LBA) /dev/sda5 279000918 875204030 298101556+ 7 HPFS/NTFS /dev/sda6 875204608 972859391 48827392 83 Linux /dev/sda7 972861440 976771055 1954808 82 Linux swap / Solaris Running sfdisk -l from the Natty Live CD gives
Code: ubuntu@ubuntu:~$ sudo sfdisk -l /dev/sda Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 0+ 2166 2167- 17405403+ 1c Hidden W95 FAT32 (LBA) /dev/sda2 * 2167 17366 15200 122094000 7 HPFS/NTFS /dev/sda3 17367 60800 43434 348883605 f W95 Ext'd (LBA) /dev/sda4 0 - 0 0 0 Empty /dev/sda5 17367+ 54478- 37112- 298101556+ 7 HPFS/NTFS /dev/sda6 54478+ 60557- 6079- 48827392 83 Linux /dev/sda7 60557+ 60801- 244- 1954808 82 Linux swap / Solaris
Running parted from the Natty Live CD gives Code: ubuntu@ubuntu:~$ sudo parted /dev/sda print Error: Can't have overlapping partitions.
I've been running Linux for a year on our family computers (one desktop, one laptop and two netbooks). I've run into a problem with the encrypted ext4 partition (270GB) on a LaCie external hard drive which also has a NTFS partition (50GB) which is not encrypted . First two times I tried using the encrypted ext4 partition (from two different computers) it worked fine but now I can't access it at all. I can still access the NTFS partition.Encrypted external hard drive partition will unlock but won't mount (or unmount). The computer says "Opening 320GB Hard Disk" but after a minute says, "Unable to mount location. DBus error org.freedesktop.DBus.Error.NoReply"Disk utility (GUI for gparted I believe) states that the encrypted partition (/dev/sdb1) is unlocked and the underlying partition (/dev/dm-0) is not mounted but it has a "busy circle sign" on it that will not turn off. The NTFS partition on the same drive mounts and accesses normally.
But if I try to unmount the NTFS partition, it says: "Unable to stop drive. One or more partitions are busy on /dev/sdb"If I try to shut down the computer, it is unable to shut down because (I assume) it can't shut down that drive either. So I have to just turn off the computer.fdisk states that /dev/dm-0 doesn't have a valid partition table [full output attached]fsck suggests: "Filesystem mounted or opened exclusively by another program?"ps axuf shows some processes running on /dev/dm-0 but killinghem doesn't release the drive either. [full output attached]I checked /etc/blkid.tab (suggested in one vaguely related thread) and there's no actual file only a broken link pointing to /dev/.blkid.tab (which doesn't exist). I tried deleting this link and rebooting but that didn't change anything.when I finally gave up my data as lost, I tried to format the partition (using Disk Utility) and it refused saying, "One or more block devices are holding /dev/sdb"
This partition belongs to a virtual machine, the partition is not visible when booting this VM using a live CD or attaching it to another VM. When booting anything with this partition attached it takes hours to boot.
When running the umount command like this as superuser: umount /dev/sda8. get the following message:umount: /home: device is busy.(In some cases useful info about processes that usethe device is found by lsof(8) or fuser(1))
I ve got a dual boot, XP and FC 12 on a single harddrive. After defragmentation of NTFS partition (With XP installation) cant'boot linux So, rub statrts with boot menu after selecting linux it tries to load linux but prints out some messages again and again (I do not remember contetn of messages) And these messages are circulating
I've used rEFIt and to create a dual boot system on a new MacBook Pro 7. 1 following the directions in the community forum. I can book ubuntu and mac os x fine. However, the MBR boot table shows an error in the partition map.
[Code]...
How can I fix this, rEFIt and gptsync are unable to repair the MBR error... Will this cause problems (since MBR shows the ubuntu boot partition overlapping the OSX partition)?
I opened GParted to create a new partition on a new drive. He wanted me to create a partition table first which I did, and it was created directly without any prompt like im used to see when creating partition. So I recognized too late, that i actually created a MBR on one of my 6 1TB raid5 drives. Not beeing sure if the ne MBR was really written, I have opened ubuntu disk utility and clicked on the check raid button. It directly made a resync. After the resync, mdadm --detail /dev/md0 told me everything is ok and synced. Then I wanted to mount it with:
mount /dev/md0 /mnt Then I get the following error: "mount: wrong fs type, bad option, bad superblock on /dev/md0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so" I think I just killed my raid5 ;(
I shouldnt work on my server when im tired and when I actually have no time ;( My last hope is the fact, that "Disk Utility" shows that there is a .0 TB ext4 volume on my raid (see screen below) [URL]
I have a hard drive where one partition is used as part of a logical volume (LV) using LVM. The partition table is corrupted and prevents the partitions from showing as devices in /dev/. The corruption prevents the logical volume from coming on-line b/c LVM cannot find the part on the corrupted disk. I (am pretty sure) I know the block offsets and lengths for each partition on the disk but do not want to write to the disk in case I am wrong.
How do I go about recovering the logical volume in this scenario?
I used to have a 1TB external drive with lots of stuff on it. But after a reported drive failure during a F11 install the partition table seems to have been lost. (I think F11 toasted it)
Disk /dev/sdc: 1000.2 GB, 1000215724032 bytes 255 heads, 63 sectors/track, 121602 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
The drive used to have xfs and a partition. Is there any way to rebuild the partition? Or is my 1TB of data gone forever? The drives seem to be fine now... I just want to get it up enough to either pull any data or just to get a file list. Most of the stuff on the drive was from somewhere else.(ie 300GB of NRN data for all of North America.
I am using Fedora core 10. I have changed my partition size of Linux from windows. After I finished resizing the partition, I rebooted my system to the Linux platform. While booting it gave me an error: repair filesytem #1: I don't know what to do?
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?
i know i asked earlier but i got my usb to be mounted on a different fedora distro. how do i now find my documents or repair it? also how do i add in a repair line if possible?
Original disk: XP NTFS primary Linux / ext4 logical Linux /home ext4 logical Win 7 NTFS logical NTFS data logical swap space NTFS recovery partition
I tried to install linux, as there was a problem with XP overwriting grub, I chose write grub to /dev/sda8 (which is where the linux install was appearing earlier).
I guess this borked the filesystem somehow. Now the NTFS data partition and the swap space are appearing as one free space. Well actually before that some linux live CDs (including gparted were seeing the entire drive as unpartitioned). I had to go into XP and delete the /ext4 partitions.
Is there any way for me to recover the NTFS data partition ?
I'm a total newbie in Linux, so patience I've managed to get Ubuntu up and running and love it so much I want to wipe out my Windows XP partition. (Right now I boot from startup and choose Ubuntu.)But when I open up Gparted it only shows me one "host" partition, a ntfs file system, and no reference to linux anywhere. More troubling, I cannot figure out how to "unmount" the partition. I've tried to boot from a CD unsucessfully, not sure why, but can't get the download to unzip, I think. Sorry, I said I'm a newbie.
I was an accidently removed "linux-image" while trying to remove the older kernal I had just upgraded from. Nothing showed up in grub so tried to use the liveCD.I chrooted to the partition, all well and good, internet connection works fine too but synaptic/apt-get it throwing up messages I don't understand:
Can not write log, openpty() failed (/dev/pts not mounted?) update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic /usr/sbin/mkinitramfs: 222: cannot create /dev/null: Permission denied ^^^^^^ that second message is repeated a LOT of times
When I try to use synaptic it says:"Error failed to fork pty" So basically I have no idea what /dev/pts is or why it's needed, I googled it, gave me instructions on how to mount by it still didn't work.
I have gone senile but what happened to the Unmount option when I right click on a Desktop CD icon in 10.04? I only wanted to make an ISO image and K3B says it cannot unmount the CD. I don't want to Eject it. I have a clever idea! I will add Mount Manager to the panel. Mount Manager should be called Eject Manager because that is all it does!! Even Krusader seems to have lost its ability to unmount a device.
I am in the middle of copying a dvd with k9copy and it is asking me to insert a recordable dvd.so i try to eject and it won't let me, it says failed to eject media one or more volumes are in use. There is nothing else using the disc so I don't get it?
I mounted an ISO file with the default ISO mounter and when i tried browsing a certain directory, it froze so now I'm trying to unmount and i'm getting this error.
Code: DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
I installed KDE 4.4 through Ubuntu's repos and then upgraded to 4.5 via backport PPA. I am unable to unmount any USB device. It keeps saying it's in use by another application. Even if I plug it in and do nothing, but then try to unmount, it gives me this error?