Ubuntu :: Repairing A Broken Filesystem Without A CD Drive?
Apr 27, 2011
Basically, my Ubuntu 10.10 desktop crashed and now when I try to boot into it I get all sorts of error messages and then I get dropped into a shell - it can't find the device etc. I tried running fsck from the command line but it can't find it. My DVD Drive isn't reading properly so I have no way of running the Recovery software on there.
View 3 Replies
ADVERTISEMENT
May 13, 2010
I forgot that Python is actually essential to Gnome and wanted to update to 3.1, and didn't realize my mistake until some of Gnome had been removed, then I Ctrl+C'd out. Now I can't even connect to the internet to repair my broken packages. I'm out of town for Mother's Day, but in the car it occured to me that I should have tried my Live CD.
As a side issue, is it alright to install more than one version of Python? I'm guessing so, so long as I keep track of which one I'm calling. I used apt-cdrom to update my sources.list appropriately so I could apt-get from the Live CD, but apt complained about locales. Now sources.list has strangely lost the cdrom line, but I'll put it back when I next boot to repair mode.
View 9 Replies
View Related
May 5, 2011
Using redhat linux el5, when I had booted I had pbm repairing filesystem. So I run following commands
1. fsck -l
2. fsck
But I cannot solve the pbm. My pbm is I had important folder "backup" in root folder just I want to copy it in pendrive how to do it.
View 2 Replies
View Related
Jul 1, 2010
I made a bunch of video files with Thoggen a few years back and now it seems I'm having issues with playback. As the audio and video are intact and VLC, mplayer and xine can all play the files perfectly and ffmpeg can happily reencode the files. I think I need to rebuild the container metadata without reencoding the video or audio streams but I'm not entirely sure exactly how to do this without using avidemux, which won't work for me.
Technical stuff follows:
VLC works but complains
Code:
charles@wintermute:~/Videos/tmp$ vlc broken.ogg
VLC media player 1.0.6 Goldeneye
[0xff94b8] main libvlc: Running vlc with the default interface.
Use 'cvlc' to use vlc without interface.
TagLib: Vorbis::File::read() - Could not find the Vorbis comment header.
[0x126af18] main input error: ES_OUT_RESET_PCR called
[0x1787f18] pulse audio output: No. of Audio Channels: 2
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
MythTV gives me silent video .....
View 3 Replies
View Related
Jul 9, 2010
I have a following problem: Recently my drive with Ubuntu 9.4 has mysteriously stopped working, i.e. when I switch the computer on it informs me that GRUB didn't find the filesystem. Well, I suppose it happens.
First, I though it was due to the drive dying, but I popped it in an external enclosure and HDTune told me the drive was fine. Wanting to recover the files on the drive before reinstalling I first tried to mount it in said external enclosure under Windows (I have Win Ext2 driver installed which used to work just fine). This time, however, drive gets assigned a letter but upon opening it Windows popped up an error saying that the drive was not formatted and whether I would like to format it then.
Unfazed by this streak of failures I tried to mount it under Linux but, alas, to no avail. I might have tried every single -t operator under mount command but it still won't budge and let me mount.
View 5 Replies
View Related
Jun 3, 2011
I'm having difficulty repairing/reformatting a USB drive. I've yet to explore and get me on the right track. I'm sure I'm missing something obvious. I have a generic USB drive, 4GB, currently formatted FAT. I can't save files to it, can't format it using Ubuntu's Disk Utility. Attempts to format using Disk Utility return the following error:
Error creating partition table: helper exited with exit code 1: Error calling fsync(2) on /dev/sdb: Input/output error Yesterday I got fed up and tried to just zero the thing out using a dd command... ran it in verbose, the right stuff returned to screen, still no dice. I can't get it to a point where I can format it either using Disk Utility or mkfs.
View 9 Replies
View Related
Mar 24, 2010
I've had a look at some similar threads but as I'm very new to linux they're already a bit technical for me. Sorry, this calls for someone with patience. I gather from other threads that disconnecting an external drive without unmounting is a no-no, and this seems to be the likely cause. Now the disk is read only and I'm unable to change any settings through the usual control panel on ubuntu. I'm just not familiar with the terminal instructions. I tried to cut and past a few command lines from other threads but I got some warnings that proceding could damage data. Like this one: WARNING! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.
View 5 Replies
View Related
Feb 5, 2010
I recently bought a Western Digital 640GB external USB hard drive. It was ****-house, had all these extra security features and windows programs hard coded onto a non-writable flash chip that can't be deleted. So I returned the WD and got a Seagate 500GB external hard-drive. Perfect. I was then faced with the perennial problem of choosing a filesystem. Preferably one that works well in Linux, but still portable. FAT32 isn't much good for anything these days, with size limits and all. NTFS is proprietary and unreadable on Mac OSX. Compatibility problems exist for most other proprietary filesystems, and a whole bunch of the free ones as well.
In the end I chose ext3. "ext3?" I hear you say - you might be surprised. Here are my reasons: For a start, ext3 is certainly the most well supported filesystem in Linux. That goes without saying. Secondly, and not everyone knows this: there exists open source ext2/3 drivers for both Windows and Mac. Ext3 is, in fact, just as portable as NTFS - and it is open source (read: free from bull-shite). My setup is as follows:One 499GB partition formatted as EXT3 One 1GB partition formatted as FAT32, containing drivers:MacFUSE + fuse-ext2 for Mac OSX, and Ex2Fsd for Windows.
View 4 Replies
View Related
Mar 6, 2010
I was running ubuntu as a live cd and I wanted to format my pen drive into an ext3 filesystem. I put in sudo mkfs /dev/sda1, but know im thinking that sda1 was my HDD!! I removed the cd from my computer, and it wont boot up into windows anymore!The only thing that is giving me hope is that the mkfs took about 1 min to format whatever it was formatting (my pen drive or my hdd!!) and my hdd is 500gb big. Is there anyway that I could have accidentaly formatted my HDD?
View 9 Replies
View Related
May 18, 2011
I am very new to linux, and I have a question regarding the filesystem check (fsck). The power recently went out and when I tried to restart linux the following error appears:
*/dev/sda1 contains file system w/errors, check forced it then goes on to say..
*An error occured during the file system check. Dropping you to a shell; the system will reboot when you leave the shell. Give root password for maintenance (or type Control-D to continue) I wasn't sure what to do, but checked some other online forums and they suggested running fsck manually - so I typed in the root password - and used the command, "fsck -A -V ; echo == $? ==" it then gave the following message
*WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage
*Would you like to continue (y/n)
Again, I wasn't sure what to do so i just checked no. I then manually turned off the computer and was prompted at the beginning to press Alt-3. I was brought to another screen and it informed me one of the drives was degraded and suggested rebuilding the array. I tried doing this, but it still brings me back to the original error of, "/dev/sda1 contains file system w/errors, check forced," and the process continues.
Also, when I tried to rebuild the array, I didn't backup any of the data on our home directory before doing this (which was probably a big mistake). After being prompted to type the root password, I was able to give the ls command and look at all the directories...the home directory where our data was stored was empty and I am afraid I may have lost some information. Is there a possibility that data was lost when I was trying to rebuild using the old drives?
View 2 Replies
View Related
Sep 8, 2010
I've been using ubuntu about a year, so I have a fair amount of experience with it. Today I was trying to install ubuntu on my new laptop, which doesn't have an optical drive. I don't have a usb stick, so I attempted to partition my external hard drive. I stupidly clicked "erase disk" on startup disk creator and erased the entire drive instead of the partition. I want to get back the files I had on this external. I searched and managed to find that people had been successful with testdisk. when I choose to analyse, it only finds the partition I created for the live cd.
When I choose advanced, I can find my older partition (FAT32) but when I choose to undelete I get:
Code:
No file found, filesystem seems damaged.
When I choose boot I get:
Code:
Boot sector
Bad
Backup boot sector
Bad
Sectors are identical.
A valid FAT Boot sector must be present in order to access. Any data; even if the partition is not bootable. I searched but I couldn't find anyone receiving this error message or how to deal with it. So I tried using photorec. Photorec is recovering all of my documents currently but without the filenames and file structure, it's more or less worthless.
View 3 Replies
View Related
Apr 19, 2011
On this LAN we have: Windows 7 desktop, 192.168.1.2 Ubuntu 10.04 desktop with ext4 filesystem, 192.168.1.5
On the Windows 7 system, how do you mount a Ubuntu "/home/myHomeDirectory" (ext4 filesystem) as "drive U:" ?
So that U: => 192.168.1.5:/home/myHomeDirectory One possibility is a commercial product called ExpanDrive.
View 1 Replies
View Related
Apr 6, 2011
I am getting a SSD and I'd like it to become my new Linux boot drive. However, it is smaller than my current hard drive's root Linux partition, so I'd like to copy over the filesystem and exclude some directories (which I'll leave on another hard drive). So I can't just clone the partition with parted or similar because it is too big.
I want to make sure all the data, metadata, links and such are preserved. That seems to exclude "cp" because it doesn't preserve all the metadata and link information.
The two basic techniques I've been able to identify seem to be something like:
find / -xdev -print0 | cpio -pa0V /mnt/dst
and:
rsync -avP -H -S --numeric-ids / /mnt/dst
Can anyone chime in with what they've used in the past, whether one of these or a different method, or if they see any flaws in these approaches.
View 2 Replies
View Related
Jan 14, 2011
I could not bootup a system as during the bootup procedure, it was throwing a ton of seg faults, so I removed the SATA hard drive from the system, put the drive in a USB hard drive dock, and attached that drive to another linux system. I want to mount the filesystem to /mnt/external and poke around however I'm not sure how to mount the filesystem. The /boot drive on the USB drive (/dev/sdb1) was automounted on my desktop by CentOS, but the root filesystem (/dev/sdb2) was not.
Here's what I tried:
Code:
[root@localhost ~]# mount /dev/sdb2 /mnt/external/
mount: you must specify the filesystem type
I already have an existing LVM system on the system the disk is attached to so I don't want the USB drive to conflict with that. Both systems were installed using the same method and the internal disk (/dev/sda) in the working system is the same size as the USB disk (/dev/sdb), 500GB. I think there might be a naming conflict as the same default names for the volgroups/logical volumes were the same, so I think I have to rename something on the USB drive?
Code:
[root@localhost ~]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes .....
View 2 Replies
View Related
Jan 9, 2010
I am using computers from past 10 years and never seen or heard this type of problem which I faced few hours back. I wanted to copy data from some CD's and DVD's onto my HDD, after some time I heard loud noise like some thing exploded in the CPU cabinet, I switched off the computer and I was shocked to see that the whole CD in the Drive is broken into pieces!
Immediately I removed drive and dismantled the DVD Drive and removed all the pieces, again fixed it, now everything works but the tray is not ejecting properly. Now I am worried to insert some important CD's and DVD's, I don't know what exactly happened? and I even don't know whether to continue with the same drive or its time to buy new drive? I am using it from 2006....
View 5 Replies
View Related
Aug 5, 2010
Some moments ago, I plugged my drive into a computer with some strange data protection software. It turned my drive's filesystem into read only and now it can neither be formatted nor mounted with write option. I've tried
Code:
$ sudo dd if=/dev/zero of=/dev/sdb
but it doesn't work.
The problem is, the computer and the software that have caused this problem has lost forever.
View 3 Replies
View Related
Aug 17, 2010
Am currently building a new PC and will be using both ubuntu 10.04 and win7. I have 2x 320GB drives and 1x 1TB drive. I plan to use a drive each for the OSs (win7 + nix) and the 1tb for my home partition. My home partition will store my music, videos, docs, Virtual Machines (note file sizes are sometimes bigger than 4GB!). What file system should i use? FAT32 will not work because of the large file size of the virtual machines.
View 4 Replies
View Related
Jul 21, 2010
I have a copy of Linux file system in /home/user/desktop/fs/how tp copy it to a usb drive preserving the links
View 2 Replies
View Related
Feb 15, 2010
It's pretty much as simple as that. I am simply wondering if anyone knows of a tutorial of some kind or can explain how to partition around, in order to exclude bad data blocks on a busted hard drive. This is on a computer I just set up to run Karmic Koala. On another forum someone mentioned that there is a way to do this, and that is the only way, to my knowledge to "fix" said hard drive.On a complete side note, does anyone know if an Intel 965 is supposed to work with Karmic out of the box, if you will? I haven't gotten a chance to check it specifically for this, and there seems to be no mention of this chipset with Karmic on these forums.
View 2 Replies
View Related
Jan 17, 2010
I was unable to boot my computer because bad blocks in my drive 'appeared' over my current and most used partition, for 9.10. I discovered there were 101 bad blocks on the drive, so I called western digital and had them send me a new one. In the meantime, running fsck on the drive managed to sort out the bad blocks for the time being. The replacement drive arrived on Friday, and since then, I've been trying to clone my current drive to the replacement. Using Clonezilla, I kept getting the error "bad partition table on /dev/sdb". Alright, I tried a bit-by-bit transfer using dd, but for some reason, the transfer fails on the last partition, leaving the replacement drive unbootable. What do you think I should do? Does it sound likethet sent me another faulty drive, or am I just doing something stupid? I've copied my drive before, but ive never had these problems- i just popped in Clonezilla and away it went.
I'm really leary about this drive, I have many important files for school and TONS of music. The school files, I can back up, and the music could be shuffled to another external drive, but I reallydo no want to go through all of the time and effort to move it to a new drive that may already be failing. Does anyone know what I should do? Is there some way to test the 'health' of the drive before I spend hours rebuilding my filesystem?
View 3 Replies
View Related
Aug 5, 2010
I am trying to run Fedora on my PPC Mac. The mac has a broken internal CD rom drive. I do have a external one but I don't know how to boot it from the external CD drive. I also tried using a backup program called Superduper! (Superduper! is designed to make a bootable backup) but that just copped the Fedora files to my usb without making it bootable.
View 8 Replies
View Related
Aug 15, 2011
I want to be able to add a physical drive to an existing filesystem, and PRESTO! That filesystem has more storage and/or redundancy. When one of the physical drives eventually fail, no problem, Ive lost some redundancy, I just have to install a new drive before another one fails.Lets assume I have 4 physical drives.*What Is This Configuration? *[URL]...But I am unclear how to get a logical volume that is mirrored and linear.
The last time I tried software RAID 1 (dm-x) under lvm, it was very fragile. Systemd could not start it,and then an update to mdadm put a stake through its heart. So I know that does not work.
View 5 Replies
View Related
Mar 26, 2010
I am running Ubuntu 9.04 on a Dell Optiplex SX280 Yesterday the system locked up, and when I rebooted I got stuff like this:
Code:
[ 126.466459] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 126.466464] ata3.00: BMDMA stat 0x24
[ 126.466471] ata3.00: cmd 25/00:20:bf:a2:21/00:01:00:00:00/e0 tag 0 dma 147456 in
[ 126.466473] res 51/40:41:00:a3:21/40:00:00:00:00/e0 Emask 0x9 (media error)
[ 126.466476] ata3.00: status: { DRDY ERR }
[Code]...
View 4 Replies
View Related
Apr 25, 2011
I would like to install Edubuntu 10.10 on this ancient Toshiba with Windows XP on it. The situation is a little complicated since I have no stable internet connection (I can not download Edubuntu once more). Now I realised that the DVD-Drive is broken and I can not boot from DVD to install Edubuntu. I have, however, an external USB-Drive, but there is no Boot-Option from USB (Phoenix Bios V. 1.3). So now I figured different options:
I could update my PhoenixBios to have a USB-Boot-Support. But I don't know if that's possible, so I am asking for opinions.I sucessfully installed Ubuntu 10.10 with Wubi on the Laptop, but I wasn't able to install the packages for Edubuntu. Any time I put the DVD in my external USB-Drive and tried to mount with Synaptic I got the error message: "E: Could not mount CD-Rom". So I could install Ubuntu 10.10 with the CD, the Edubuntu-packages in addition with the DVD afterwards. Is there no way to install Edubuntu directly with Wubi?
View 6 Replies
View Related
Aug 23, 2010
I can't boot Ubuntu powerPC 10.04 from a exterla CD/DVD drive on a PowerPC mac that has a broken internal CD/DVD drive. If I hold down the OPTION key it shows me a list of bootable drives. It shows my hard drive and a CD icon with a tux icon next to it. I click the cd icon and then click the go arrow. The screen turns black and it loads the list of bootable devices again but, the icons are all black after it reloaded the list and I can't click on any of them.
View 4 Replies
View Related
Jan 20, 2011
I have a rather large USB drive that I'd like to be able to use across the different machines I own. I'm having a hard time figuring out what would be the best file system to use on it to be able to read/write things from the 3 OSs I'm in contact with: Windows, Linux and Mac.
View 5 Replies
View Related
Apr 10, 2011
my external HDD of 750GB bring me an error during mounting!it asks me to get to windows and reboot twice or cmd chkdsk/f of which when i do it only option comes is to format it, i do not wanna format it coz it's with a lot of ma useful data!am using debian just asking if its possible to retrieve ma data from it using commands persay and what are those
View 2 Replies
View Related
Jan 7, 2010
I'm trying to install Linux on a system.
Seagate Barracuda 160.0G SATA drives x 2
Asus P5K-E WiFi motherboard
Intel ICH9R chipset
JMicron JMB363 PATA / SATA RAID controller
I've tried to install both Debian 5.0.3 and Gentoo 10.1 (Minimal).The Gentoo distro kernel is 2.6.31. I honestly didn't check to see what version the Debian distro is using. With both distributions, I get a kernel panic as soon as I try to create the filesystem. I can see the drives just fine, and can partition them. The problem doesn't happen until I try to create a filesystem. I've tried configuring my SATA drives in the BIOS as IDE and as RAID. kernel support for SATA drives is at least three years old, so I have to believe that SATA support has become ubiquitous, but obviously I'm missing something here.
View 4 Replies
View Related
Nov 27, 2010
repairing the MBR on my raid array. I have three disks, each with three paritions:root (sda1 sdb1 sdc1) 59GB swap (sda2 sdb2 sdc2) 1.12GB grub/boot (sda3 sdb3 sdc3) 298MB I have been able to get this running and it has been working fine for several months. A few days ago, I installed 10.04 to a USB stick but did not disable the hard drives at that point and so the MBR was overwritten. If I leave the USB stick in, it boots fine from that stick. However now I can't get the boot from the raid array to work correctly. I can do the following:Load 10.04 from the Live CD install mdadm recreate the root partition using
Code:
mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1
I can mount and view the files on md0 with no problems. It's not corrupted in any way. When I installed, I followed the directions to make each of the grub drives bootable. However I don't know for sure whether grub was installed on each partition separately or if it was installed on the assembled partition only. I have tried using
Code:
sudo grub-install /dev/sda3
and got warnings, something to the effect
Code:
Cannot find a device for /boot/grub
no path or device specified
Auto-detection of a filesystem module failed
specify the module with option '--module' explicitly
I have also been able to get to the grub rescue prompt but my keyboard (wireless USB) is not recognized and so I can't type anything in at that point.
View 8 Replies
View Related
Feb 5, 2011
When I hook it up to my Mac the hard drive shows up in Disk Utility but it can't mount it nor fix it. I don't have Diskwarrior (or similar programs) so I was wondering if I could fix it from my Linux boxes (xubuntu). So my question is, is there a program in Linux that could extract the data from the drive or (even better) fix it?
View 1 Replies
View Related